s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init
commit5d6ea139d413cb05370137e4d04c4db391a06ac1
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 11:44:43 +0000 (20 12:44 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Nov 2009 08:03:10 +0000 (23 09:03 +0100)
tree1099d35c8e8c43e953deea51185c0dd4502cf4b0
parent210fc5a8cf384eea62cd51d398523d37723f72fb
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
source3/winbindd/idmap_ldap.c