Filter

Gilberto Nunes <[email protected]>
Newsgroups gmane.network.openldap.general
Organization Selbetti
Message-ID <1258137715.10957.87.camel@giba-ti>
Hi all

I want use ldapsearch to query a Active Directory Server.
I am use this :

ldapsearch -LLL -x -b dc=selbetti,dc=local -H ldap://host -D proxy_user
'(|(objectClass=person)(objectClass=user))' -w password

This command bring me all entries.

I like filter only two attributes: cn and mail.

Is there a way to do this???

Thanks


Gilberto Nunes Ferreira
TI
Selbetti Gestão de Documentos
Telefone: +55 (47) 3441-6004
Celular: +55 (47) 8861-6672



"Bendita a nação cujo Deus é o SENHOR!"
99 <><
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.