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

Re: ldapsearch failed to authenticate password



Hi Alexandre,
The debug output was from slapd -d 5

When I used sladp -d 256 I got the following messages;
conn=2 fd=7 ACCEPT from IP=192.168.125.25:49026 (IP=::
389)
conn=2 op=0 BIND
dn="cn=limd2,ou=contacts,dc=dpws,dc=nsw.gov.au"
method=128
conn=2 op=0 RESULT tag=97 err=49 text=
conn=2 fd=7 closed

I have used ldapbrowser20_w95 but it also failed to
authenticate with Invalid credentials??

Thanks,
Daniel


--- Alexandre Garel <garel.alexandre@agora.msa.fr>
wrote:

> Daniel Lim a écrit :
> 
> >Hi Alexandre,
> >I used the -W -D options but still failed with
> invalid
> >credential, this is what I have done;
> >$ ldapsearch  -x -h rajah -W -D "cn=limd,
> ou=contacts,
> >dc=dpws, dc=nsw.gov.au"
> >Enter LDAP Password:
> >ldap_bind: Invalid credentials
> >
> >When I turned on debug at slapd there was this
> message
> >at the end;
> >ldap_read: want=8, got=0
> >  
> >
> Is that slapd debugging output or is that ldapsearch
> debugging output ?
> Can you read in slapd logs (with log level of 256)
> to see what happens ? 
> (send releavent part of it if you can).
> Did you try to connect to the directory with other
> tools (eg. Jxplorer) 
> with same credentials ?
> 
> >Thanks,
> >Daniel
> >
> >
> >
> >--- Alexandre Garel <garel.alexandre@agora.msa.fr>
> >wrote:
> >
> >  
> >
> >>Daniel Lim a écrit :
> >>
> >>    
> >>
> >>>Hi there,
> >>>I have successfully installed openldap-2.2.14 on
> >>>      
> >>>
> >>SuSe
> >>    
> >>
> >>>SLES 8.1 Linux to work with mysql-3.23.52-27. 
> >>>I can use ldapsearch from another Linux box to
> >>>retrieve successfully a user details from the
> >>>      
> >>>
> >>OpenLDAP
> >>    
> >>
> >>>host with backend MySql using the following
> >>>      
> >>>
> >>options;
> >>    
> >>
> >>># ldapsearch  -x -h <ldapserver>  -b
> >>>"cn=user1,ou=contacts,dc=example,dc=com"
> >>>
> >>>But when I use the option -W to prompt for simple
> >>>password authentication it fails;
> >>>$ ldapsearch -x -h rajah -W -b
> >>>'cn=user1,ou=contacts,dc=example,dc=com'
> >>>Enter LDAP Password:
> >>>ldap_bind: Invalid credentials
> >>> 
> >>>
> >>>      
> >>>
> >>The user have to be specified with -D option, -b
> >>specify the base of the
> >>search
> >>so if you use -W there shall be a -D
> >>
> >>
> >>
> >>    
> >>
> >
> >
> >
> >		
> >__________________________________
> >Do you Yahoo!?
> >New and Improved Yahoo! Mail - Send 10MB messages!
> >http://promotions.yahoo.com/new_mail 
> >
> >  
> >
> 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail