s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_alloc_init
commit6a59db9a2e4c1552bbdd1531b602661d6e199829
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 11:38:44 +0000 (20 12:38 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 12:17:22 +0000 (20 13:17 +0100)
treee519941c3c36e4f4932edd9daa22a50e5179ccd9
parent7c8b34657a19c96bbeb2181cd194f323a6827365
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