From: Simo Sorce Date: Wed, 9 May 2007 21:38:41 +0000 (+0000) Subject: r22771: One liner fix for idmap_ldap X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~499 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fb3e0f65562059bd717ea28df701256e8fa9a77;p=thirdparty%2Fsamba.git r22771: One liner fix for idmap_ldap Fixes the strange behavior we were seeing about idmap_ldap creating a new connection for each query. Jerry we need this in for 3.0.25 --- diff --git a/source/nsswitch/idmap_ldap.c b/source/nsswitch/idmap_ldap.c index 45d2b344afa..7fdf16beaae 100644 --- a/source/nsswitch/idmap_ldap.c +++ b/source/nsswitch/idmap_ldap.c @@ -821,6 +821,7 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom) talloc_set_destructor(ctx, idmap_ldap_close_destructor); dom->private_data = ctx; + dom->initialized = True; talloc_free(config_option); return NT_STATUS_OK;