From 8ef8dab4fb0945974c74e96a5dd69e1559519b6c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 9 May 2007 21:38:41 +0000 Subject: 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 (This used to be commit 4fb3e0f65562059bd717ea28df701256e8fa9a77) --- source3/nsswitch/idmap_ldap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/idmap_ldap.c b/source3/nsswitch/idmap_ldap.c index 45d2b344af..7fdf16beaa 100644 --- a/source3/nsswitch/idmap_ldap.c +++ b/source3/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; -- cgit