[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapsearch issue with rootpw.



> #ldapsearch -x -LLL -w secret "objectclass=*"
gives
> ldap_bind: Invalid credentials (49).  I have check over the slapd config
with
> rootpw  secret
because you've also set
> rootdn          "cn=Manager,dc=bogus,dc=net"

so you likely want
  ldapsearch -x -LLL -D "cn=Manager,dc=bogus,dc=net" -w secret "objectclass=*"
if you're attempting to bind as the root dn.