Problem: UMC With Debug Level Brings "rs->sr_err != LDAP_SUCCESS"

Problem:

UMC with enabled debug level prints a lot of messages like this:

Dec 20 15:36:12 dc slapd[26079]: OVER: rs->sr_err != LDAP_SUCCESS
on "ou=site1,dc=sub,dc=domain,dc=ucs" ERR: 0x20

Investigation

This log snipplet means the LDAP server did not get “LDAP_SUCCESS” back when trying to access the mentioned object. It got back error code 0x20. Error code 20 (taken from here) means:

LDAP_NO_SUCH_OBJECT: Indicates the target object cannot be found. This code is not returned on following operations:

  • Search operations that find the search base but cannot find any entries that match the search filter.
  • Bind operations.

Check why LDAP daemon cannot access the mentioned object (ou=site1,dc=sub,dc=domain,dc=ucs).

Does the object exist? Are there any LDAP-ACLs preventing access?

There might be different error codes. Check the above site to get the meaning of your error code to get a hint for further troubleshooting.

Mastodon