summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/ldap_server/ldap_simple_ldb.c3
1 files changed, 2 insertions, 1 deletions
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);