directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Zoerner <szoer...@apache.org>
Subject Re: [ApacheDS] authentication problem
Date Sat, 17 Dec 2005 09:15:44 GMT
Jeff Lansing wrote:

> ...
> However, none of the examples on the page
> http://directory.apache.org/subprojects/apacheds/users/authentication.html
> will work. For example:
> 
> C:\openldap>ldapsearch -D 'uid=admin,ou=system' -h localhost -p 10389 -x -w
> secret -s one -b 'ou=users,ou=system' '(uid=jdoe)'
> ldap_bind: Invalid credentials (49)
>         additional info: Bind failed
> 
> ...
> 
> Any suggestions?
> 

Hi Jeff!

At least for this one. I was able to reproduce this error and recommend 
not to use '...' for the -D argument, but "..." (actually, for all of 
the args!).

Which OS and LDAP clients do you use? I was able to reproduce it on 
Windows XP with the IBM TivoliDS LDAP client:

C:\>ldapsearch -h magritte -p 10389 -b "ou=users,ou=system" -s base -D 
'uid=admin,ou=system' -w secret "(objectclass=*)"
ldap_simple_bind: Invalid credentials

C:\>ldapsearch -h magritte -p 10389 -b "ou=users,ou=system" -s base -D 
"uid=admin,ou=system" -w secret "(objectclass=*)"
ou=users,ou=system
objectClass=organizationalUnit
objectClass=top
ou=users

The same effect does not happen e.g. on Solaris9/bash with Suns own 
ldapsearch. Here it doesn't matter whether one uses -D '...' or -D "..." 
(this is why the example docs probably worked for the author, s/he used 
a different environment).

Tell us whether it works for you now when you use -D "...". If yes, we 
should update the examples.

Greetings from Hamburg,
     Stefan


Mime
View raw message