From d669d6a8920fe4725adbecf86d184b97d8433988 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 9 Oct 2004 16:38:18 +0000 Subject: r2875: some fixes + (C) note (This used to be commit d878c3c36505f548158297a3cb3b1e3b18b24c55) --- source4/ldap_server/ldap_simple_ldb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/ldap_server') diff --git a/source4/ldap_server/ldap_simple_ldb.c b/source4/ldap_server/ldap_simple_ldb.c index b5cfbca7c6..439aabd461 100644 --- a/source4/ldap_server/ldap_simple_ldb.c +++ b/source4/ldap_server/ldap_simple_ldb.c @@ -2,6 +2,7 @@ Unix SMB/CIFS implementation. LDAP server SIMPLE LDB implementation Copyright (C) Stefan Metzmacher 2004 + Copyright (C) Simo Sorce 2004 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -329,7 +330,7 @@ static NTSTATUS sldb_Modify(struct ldapsrv_partition *partition, struct ldapsrv_ local_ctx = talloc_named(call, 0, "sldb_Modify local memory context"); ALLOC_CHECK(local_ctx); - samdb = samdb_connect(call); + samdb = samdb_connect(local_ctx); ALLOC_CHECK(samdb); ldn = ldap_parse_dn(local_ctx, r->dn); -- cgit