Anonymous access to ldap failing with error "Inappropriate authentication: Anonymous access is not allowed"
Issue
- Anonymous ldap search to
cn=schema
dn is failing with below error.
# ldapsearch -h 127.0.0.1 -b "cn=schema" -xLLL
Inappropriate authentication (48)
Additional information: Anonymous access is not allowed.
- Http service error logs
[Sun Dec 03 03:41:11.256806 2023] [wsgi:error] [pid 3882503:tid 139791765510464] ipa: ERROR: Failed to pre-populate LDAP schema cache: uri=ldapi://%2Frun%2Fslapd-EXAMPLE-COM.socket: Unable to retrieve LDAP schema: Inappropriate authentication: Anonymous access is not allowed.
Environment
- Red Hat Directory Server 11
- Red Hat Directory Server 12
- IPA 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.