How to find groups(CN) which contains specific words?
Michele Marcionelli
michele.marcionelli at math.ethz.ch
Tue Dec 14 22:34:48 CET 2010
Hello Jahid
try with "(cn=*abc*)". This works fine with ldapsearch.
Kind regards,
Michele
On Nov 15, 2010, at 6:16 , Jahidul Hasan wrote:
> Hi
>
> I need to find those groups name which contains the word "ABC", is it
> possible ?
>
> base_dn = 'CN=ABC,OU=Common,DC=test,DC=com'
> ldapConn.search_s(base_dn, ldap.SCOPE_SUBTREE)
>
> Can I use %ABC% ?
>
> Regards
> Jahid
>
>
>
More information about the python-ldap
mailing list