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


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


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

"Bendita a nação cujo Deus é o SENHOR!"
99 <><