summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2007-05-09 21:38:41 +0000
committerSimo Sorce <idra@samba.org>2007-05-09 21:38:41 +0000
commitc7744fa4d43fb998d0287b78aa1bbc3ede7cd692 (patch)
treeec674043e07803d406ed744fa6c82c6710d0662f
parent954b83d604afc0c99552c39556413c8300041125 (diff)
downloadsamba-c7744fa4d43fb998d0287b78aa1bbc3ede7cd692.tar.gz
samba-c7744fa4d43fb998d0287b78aa1bbc3ede7cd692.tar.xz
samba-c7744fa4d43fb998d0287b78aa1bbc3ede7cd692.zip
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
-rw-r--r--source/nsswitch/idmap_ldap.c1
1 files changed, 1 insertions, 0 deletions
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;