summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2007-05-09 21:38:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:56 -0500
commit8ef8dab4fb0945974c74e96a5dd69e1559519b6c (patch)
tree3b74dc4ce46953d87e18225f386dd4edce62448d /source3
parenta0f9db7a169886914b4e5323c61e127011a2d16b (diff)
downloadsamba-8ef8dab4fb0945974c74e96a5dd69e1559519b6c.tar.gz
samba-8ef8dab4fb0945974c74e96a5dd69e1559519b6c.tar.bz2
samba-8ef8dab4fb0945974c74e96a5dd69e1559519b6c.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 (This used to be commit 4fb3e0f65562059bd717ea28df701256e8fa9a77)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/idmap_ldap.c1
1 files changed, 1 insertions, 0 deletions
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;