s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_alloc_init
commit210fc5a8cf384eea62cd51d398523d37723f72fb
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 11:38:44 +0000 (20 12:38 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Nov 2009 08:02:39 +0000 (23 09:02 +0100)
tree6c4888f40945535b35f61f66155d62e4e19bfc09
parentd96bc12a8634d50c0c74f583c264cf8f89e22637
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
source3/winbindd/idmap_ldap.c