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)
committerMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 11:55:45 +0000 (12:55 +0100)
commit687c3de25791dcaad58640adb85844401d166559
tree7dd12dee4e6f714c3c5ea4a1d6d56ef89eff3d02
parentdb7f220770c31bf1dc24244dfd949d012260cce5
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
source3/winbindd/idmap_ldap.c