searching ldap by guid/uid

2007-08-30 Thread fintan
70, in search_ext timeout,sizelimit, File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 94, in _ldap_call result = func(*args,**kwargs) TypeError: argument 3 must be string without null bytes, not str I was wondering is it possible to s

Re: KeyError while performing 'ldapsearch' operation and processing the result data

2009-10-18 Thread Fintan MacMahon
DAP search filter is a string of UTF-8 [RFC3629] encoded Unicode characters [Unicode] [..] So please have a look at RFC 4515 to find out how to escape hex values in a search filter. Function ldap.filter.escape_filter_chars() is helpful for that." Thanks fintan On Sunday 20 Septe