From: Jens V. <je...@zo...> - 2003-09-29 21:12:23
|
> Or even better use ldap.filter.filter_format(). > > res = conn.search_s( > BASE, > ldap.SCOPE_SUBTREE, > ldap.filter.filter_format( > '(member=%s)',(MEMBER,) > ) > ) This is great and solves the original problem. The only problem I am finding is that if I happen to have a wildcard filter such as... (objectClass=*) or (cn=*jens*) the replacement of '*' with r'\2a' seems problematic. I'm not getting the expected results, as a maatter of fact I am not getting any results. jens |