git.samba.org
/
abartlet
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init
[abartlet/samba.git/.git]
/
source3
/
winbindd
/
idmap_ldap.c
diff --git
a/source3/winbindd/idmap_ldap.c
b/source3/winbindd/idmap_ldap.c
index 99265594b96810e5935c9be12768eb3d92e97804..cf322386142f592c7a67d3c4cd28e112ce7e3b77 100644
(file)
--- a/
source3/winbindd/idmap_ldap.c
+++ b/
source3/winbindd/idmap_ldap.c
@@
-856,6
+856,8
@@
static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom,
}
CHECK_ALLOC_DONE(ctx->url);
+ trim_char(ctx->url, '\"', '\"');
+
tmp = lp_parm_const_string(-1, config_option, "ldap_base_dn", NULL);
if ( ! tmp || ! *tmp) {
tmp = lp_ldap_idmap_suffix();