s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init
commit50524e384f7589c921cc544315b06b2b7932ae12
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 11:44:43 +0000 (20 12:44 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 23 Dec 2009 11:07:34 +0000 (23 12:07 +0100)
treefc1a6d822d894bd0f5213ab3a27a66ff2e86bfe0
parenta51a0fbe7cb719ff4a5bf7778b3adc80ce71b24d
s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init

Fix bug #6910 (idmap_ldap stumbles over idmap backend = ldap:"ldap://ldap1
ldap://ldap2"=.

When idmap backend is specified as
idmap 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 5d6ea139d413cb05370137e4d04c4db391a06ac1)
source3/winbindd/idmap_ldap.c