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

RE: Ldapsearch on multiple attributes



<quote who="Marot Laurent">
> Hello,
>
> Instead of using (|(companyNameAttr1)(companyNameAttr2))).... I'd like to
> know if i could use some "joker" on attribut name like (companyNameAttr*)

Sure. Why don't you just try it? ;-)

>
>
>
>
> Laurent Marot
> _______________________________
>
> ALLIACOM
> 98 Avenue du Général Leclerc
> 92 100 Boulogne Billancourt - France
> Phone +33 (0)1 55 38 98 98
> Mobile 06 21 09 52 29
> www.alliacom.com
>
>
> -----Message d'origine-----
> De : Gavin Henry [mailto:ghenry@suretecsystems.com]
> Envoyé : mardi 10 avril 2007 16:07
> À : Marot Laurent
> Cc : openldap-software@openldap.org
> Objet : 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/
>