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>
Thu, 26 Nov 2009 10:41:03 +0000 (11:41 +0100)
commitc636aa00cb441f5526f15da58593ac3a14782f5e
treefee5609d0999b3f5a7308b8229685f209c21ce91
parent964ac8a5da86a610f5810c5bfaa749526ce42dfa
s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init

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 180c9389c65577e25d09c3879d9768f0a24baa08)
source3/winbindd/idmap_ldap.c