[389-users] openldap ldapsearch command
Rich Megginson
rmeggins at redhat.com
Tue Oct 26 16:40:40 UTC 2010
Frederic Hornain wrote:
> Dear Patrick,
>
> ldapsearch -v -h 192.168.122.142 -s sub -U
> "dn:uidfhornain,ou=People,dc=example,dc=com" -b "dc=example,dc=com" -Y
> DIGEST-MD5
use either
-U "u:fhornain"
or
-U "dn:uid=fhornain,ou=People,dc=example,dc=com"
> ldap_initialize( ldap://192.168.122.142 <http://192.168.122.142> )
> SASL/DIGEST-MD5 authentication started
> Please enter your password:
> ldap_sasl_interactive_bind_s: Invalid credentials (49)
> additional info: SASL(-14): authorization failure: unable canonify
> user and get auxprops
>
>
> Thanks for you help, I appreciate.
>
> BR
> Frederic ;)
>
> 2010/10/26 Morris, Patrick <patrick.morris at hp.com
> <mailto:patrick.morris at hp.com>>
>
> On 10/26/2010 9:14 AM, Frederic Hornain wrote:
>> Rich,
>>
>>
>> ldapsearch -v -h 192.168.122.142 -s sub -U
>> uid:fhornain,ou=People,dc=example,dc=com -b "dc=example,dc=com"
>> -Y DIGEST-MD5
>> ldap_initialize( ldap://192.168.122.142 <http://192.168.122.142> )
>> SASL/DIGEST-MD5 authentication started
>> Please enter your password:
>> ldap_sasl_interactive_bind_s: Invalid credentials (49)
>> additional info: SASL(-14): authorization failure: unable
>> canonify user and get auxprops
>
> "uid:fhornain,ou=People,dc=example,dc=com"
>
> If you use the "uid:" syntax, it should be followed by a uid, not
> a dn. Or you can use the "dn:" syntax if you want to use a dn.
>
> You may have other things going on here, but the way you've
> specified the user definitely isn't going to work.
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> <mailto:389-users at lists.fedoraproject.org>
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>
>
>
> --
> -----------------------------------------------------
> Fedora-ambassadors-list mailing list
> Fedora-ambassadors-list at redhat.com
> <mailto:Fedora-ambassadors-list at redhat.com>
> Olpc mailing list
> olpc-open at laptop.org <mailto:olpc-open at laptop.org>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
More information about the 389-users
mailing list