parameter problem
Klaus Boehm
k.boehm at ewt.de
Mon Jul 22 13:43:15 CEST 2002
I have this line in my sourcecode.
s = l.search_s("ou=xxxxx, o=xxx", ldap.SCOPE_SUBTREE, gecos,
attrlist=['uidnumber','gidnumber','uid'], attrsonly=0)
and i want pass the parameter filterstring as a variable(gecos) from
another programm(Website).
But i get an error: "ldap.FILTER_ERROR: {'desc': 'Bad search
filter'}"
What can i do to avoid this error?
Thanks for help.
Klaus
--
ewt gmbh
data management group
tel: ++49 821 3106 319
fax: ++49 821 3106 399
url: www.ewt.de
More information about the python-ldap
mailing list