The Samba-Bugzilla – Bug 592
winbind_ads.c does not escape special chars in dns
Last modified: 2005-11-14 09:31:04 UTC
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)
Foo,CN=Users,DC=my,DC=ads-domain,DC=de)) -> Bad
[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]
*** 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.