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

Re: Ldapsearch on multiple attributes



<quote who="Marot Laurent">
> Hello,
>
> I was just wondering how i could launch ONE basic ldap search on several
> custom attributes all prefixed by "companyName..."
>
> I even don't know if processing that way is possible or if i should make
> several ldap searches
>
> Thanks for your help
>
> LM
>
>

Something like:

ldapsearch -x -H ldap://myhost
(&(objectClass=CustomClass)(|(companyNameEtc)(blah))) dn

See:

http://www.rfc-editor.org/rfc/rfc4515.txt

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/