s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 11:44:43 +0000 (12:44 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Nov 2009 10:39:22 +0000 (11:39 +0100)
commit67f1d0ac6edecec4efb100ae61bc23bd321f518f
treeb708772c17c0cef3218259e3459374ed56d09103
parentfbaed41c8f583f633673aca2f600c517744d28b5
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
source/winbindd/idmap_ldap.c