diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-20 00:59:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:45 -0500 |
commit | 338c3f8523d5db2cba1b79f94ff0cecabcd9e9cd (patch) | |
tree | 9cbd8fa10fbb46b70fe1a2783bc30689f3d652ba /source4/cldap_server | |
parent | f650ea10120d41ceff8ea04975fea7637cb45a0a (diff) | |
download | samba-338c3f8523d5db2cba1b79f94ff0cecabcd9e9cd.tar.gz samba-338c3f8523d5db2cba1b79f94ff0cecabcd9e9cd.tar.bz2 samba-338c3f8523d5db2cba1b79f94ff0cecabcd9e9cd.zip |
r8625: move the ldb_wrap logic into the ldb code. This logic is meant to
avoid the horrors of posix locking, but it was preventing us having an
ldb open twice with different options. Now each ldb open of the same
file shares the same underlying tdb, but uses a different ldb
structure
(This used to be commit 4e090c66dfa1d2764e4693578d3845be3b8893f6)
Diffstat (limited to 'source4/cldap_server')
-rw-r--r-- | source4/cldap_server/netlogon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c index 3f6c8d4972..3e99fe80b8 100644 --- a/source4/cldap_server/netlogon.c +++ b/source4/cldap_server/netlogon.c @@ -55,7 +55,7 @@ static NTSTATUS cldapd_netlogon_fill(struct cldapd_server *cldapd, const char *pdc_ip; if (cldapd->samctx == NULL) { - cldapd->samctx = samdb_connect(mem_ctx); + cldapd->samctx = samdb_connect(cldapd); if (cldapd->samctx == NULL) { DEBUG(2,("Unable to open sam in cldap netlogon reply\n")); return NT_STATUS_INTERNAL_DB_CORRUPTION; |