Explanation for “unknown security message command 20” WARNING log message
Aerospike started logging the following WARNING:
WARNING (security): (security.c:857) unknown security message command 20
This is due to new clients supporting the upcoming feature to enable the LDAP protocol on the server side. Aerospike server versions not supporting this feature will display the above WARNING as new clients will attempt to use the new login protocol first (which supports both LDAP and non-LDAP authentication) that wouldn’t be recognized by the server versions not supporting it yet and then fall back to use the legacy method.
The above message should therefore be harmless.
This can also happen due to newer client libraries being pulled in automatically by 3rd party monitoring software which may, for example, execute a command like “pip install aerospike”. This will install the latest Aerospike python client. To work around, explicitly specify the version:
pip install aerospike==3.0.2
- Please check the release notes of each client to valdidate the version that support LDAP.
UNKNOWN SECURITY LDAP LOGIN