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

RE: Ldap issue





________________________________
> Date: Tue, 2 Aug 2011 06:15:56 -0400 
> Subject: Ldap issue 
> From: ace.renu@gmail.com 
> To: openldap-technical@openldap.org 
>  
> Ldap issue 
>  
> I tried to search using below commnad and I am getting following error 
>  
> ldapsearch -x -H ldap://127.0.0.1:389/<http://127.0.0.1:389/> -D  
> "cn=manager,ou=system,o=example" -w secret 
>  
>  
> error: 
> ldap_bind: Invalid credentials (49) 
>  
> My slapd.conf contents is as below: 
> database bdb 
> suffix o=example.com<http://example.com> 
> rootdn cn=manager,ou=system,o=example.com<http://example.com> 
> # Cleartext passwords, especially for the rootdn, should 
> # be avoided. See slappasswd(8) and slapd.conf(5) for details. 
> # Use of strong authentication encouraged. 
> rootpw secret 

Try 
ldapsearch -x -H ldap://127.0.0.1:389/<http://127.0.0.1:389/> -D "cn=manager,ou=system,o=example.com" -w secret
instead 
Chris