Eu configurei o openldap no localhost no Windows e tentei fazer a pesquisa do ldap com o seguinte comando
ldapsearch -x -h localhost -b "dc=mydomain,dc=com" "(objectClass=*)"
No entanto, recebo o seguinte erro
# search result
search: 2
result: 48 Inappropriate authentication
A seguir está o conteúdo do meu arquivo slapd.conf
access to *
by dn="cn=admin,dc=mydomain,dc=com" write
by * none
database ldap
suffix "dc=mydomain,dc=com"
rootdn "cn=admin,dc=mydomain,dc=com"
idassert-bind bindmethod=simple binddn=cn=name,cn=users,dc=mydomain,dc=com credentials=secret mode=none
uri ldap://server1
rootpw secret
lastmod off
chase-referrals no
Tags openldap