s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_alloc_init
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 11:38:44 +0000 (12:38 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:41:03 +0000 (11:41 +0100)
commit964ac8a5da86a610f5810c5bfaa749526ce42dfa
tree7dd12dee4e6f714c3c5ea4a1d6d56ef89eff3d02
parent8ada8d7bb7972eb15461cb4dda81ec566018af87
s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_alloc_init

When idmap alloc backend is specified as
idmap alloc backend = ldap:"ldap://server1 ldap://server2"
then currently "ldap://server1 ldap://server2" was passed to
ldap_initialize including the quotes, leading to an ldap error.

Michael
(cherry picked from commit 687c3de25791dcaad58640adb85844401d166559)
source3/winbindd/idmap_ldap.c