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

Re: regex in search filter?

Or perhaps because member does not allow substring matching...

Damien Messner disse:
> I made a search like this:
> (&(objectClass=groupofnames)(member=*))
> with :
> member= cn=grp1,ou=groupes,dc=xxxx,dc=xx
>                 uid=dmessner,ou=employes,dc=xxxx,dc=xx
> and it works, but now I would like to show only few result, so I would
> like to make a filter with regex  in order to show
> only result starting with uid=dm* or cn=*
> But when I do this:
> (&(objectClass=groupofnames)(member=uid=*))
> openLDAP gives me no result. Perhaps because I have more than one value
> in membe, or due to "=" caractere...

Luca Scamoni - e-mail: luca.scamoni@sys-net.it
SysNet snc - Via Dossi, 8 - 27100 Pavia Italy
IT Senior Consultant - mobile: +393471014425

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497