when winbind in ads-mode queries for a distinguished name containing e.g. the characters "\,", winbind does not use the (existing) character-escaping to send a valid search-query to ads. from the level 10 logs: [2003/10/09 09:25:23, 3] libads/ldap.c:ads_do_paged_search(451) ldap_search_ext_s((distinguishedName=CN=Bar\, Foo,CN=Users,DC=my,DC=ads-domain,DC=de)) -> Bad search filter [2003/10/09 09:25:23, 3] libads/ldap_utils.c:ads_do_search_retry(60) Reopening ads connection to realm 'MY.ADS-DOMAIN.DE' after error Bad search filter in that particular case "\," just should have been escaped to "\\," since the escaping is already in place in the same function, why not use it?
Created attachment 192 [details] proposed one-liner
*** Bug 598 has been marked as a duplicate of this bug. ***
Patch aopplied. Thanks Guenther.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup