s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_alloc_init
commita51a0fbe7cb719ff4a5bf7778b3adc80ce71b24d
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 11:38:44 +0000 (20 12:38 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 23 Dec 2009 11:07:33 +0000 (23 12:07 +0100)
tree81b3c16d64bccefb0b8eb33d7ea5a62b5e4af700
parent298e53e2a9f97ebffcee4cde4944408b7e68accf
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 210fc5a8cf384eea62cd51d398523d37723f72fb)
source3/winbindd/idmap_ldap.c