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

Filter



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 <><