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

RE: ldapsearch result



do you use the right ldap.conf file ?

there are often two ldap.conf files, one from padl software (usually
/etc/ldap.conf), one from openldap (/etc/openldap/ldap.conf on my server)
the one from PADL is used by pam_ldap, and the one from openldap is used by
openldap client tools (and openldap library I believe)


regards

Francois

> -----Message d'origine-----
> De : owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]De la part de I Wayan Widi
> Pradnyana
> Envoye : mercredi 2 juillet 2003 14:29
> A : openldap-software@OpenLDAP.org
> Objet : ldapsearch result
>
>
>
> when I execute :
>  ldapsearch -x 'uid=root' -b 'dc=mycomp,dc=edu'
>
> its results :
>
> version: 2
>
> #
> # filter: uid=root
> # requesting: ALL
> #
>
> # root, People, its-sby, edu
> dn: uid=root,ou=People,dc=its-sby,dc=edu
> cn: root
> gecos: root
> gidNumber: 0
> homeDirectory: /root
> .......
> (blah blah)
> ....
> uid: root
> uidNumber: 0
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
>
>
> ---------------------
> but if i execute  ldapsearch -x 'uid=root'
> it's results:
>
> version: 2
>
> #
> # filter: uid=root
> # requesting: ALL
> #
>
> # search result
> search: 2
> result: 32 No such object
>
> # numResponses: 1
>
> --------
>
> 1. Why could it happened? I have set mya ldap.conf with and
> without BASE and
> URI commented, but it doesnt work
> 2. Is it has important effect or impact to authenticate users
> login from a
> client? what another configuration should I do in server and client?
>
> Regards
> Widi Pradnyana
>
>