git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a98fc57
)
make sure to use the escaped DN; patch from Guenther Deschner; bug 592
author
Gerald Carter
<jerry@samba.org>
Mon, 13 Oct 2003 14:03:06 +0000
(14:03 +0000)
committer
Gerald Carter
<jerry@samba.org>
Mon, 13 Oct 2003 14:03:06 +0000
(14:03 +0000)
(This used to be commit
5eca81c66096a01eda1731892d044c09d4c18556
)
source3/nsswitch/winbindd_ads.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_ads.c
b/source3/nsswitch/winbindd_ads.c
index ef3f0f8fc20b766be0d8b1dbcfa87e2e850c9542..5d0f924d8f810bb92793a993219976ee361344a8 100644
(file)
--- a/
source3/nsswitch/winbindd_ads.c
+++ b/
source3/nsswitch/winbindd_ads.c
@@
-364,7
+364,7
@@
static BOOL dn_lookup(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx,
return False;
}
- asprintf(&ldap_exp, "(distinguishedName=%s)", dn);
+ asprintf(&ldap_exp, "(distinguishedName=%s)",
escaped_
dn);
rc = ads_search_retry(ads, &res, ldap_exp, attrs);
SAFE_FREE(ldap_exp);
SAFE_FREE(escaped_dn);