summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2004-10-09 16:38:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:41 -0500
commitd669d6a8920fe4725adbecf86d184b97d8433988 (patch)
tree92de1434309adddd860b52e01f961dccfe133977
parent7251e37bb659a5075335332e429c59c821eee459 (diff)
downloadsamba-d669d6a8920fe4725adbecf86d184b97d8433988.tar.gz
samba-d669d6a8920fe4725adbecf86d184b97d8433988.tar.bz2
samba-d669d6a8920fe4725adbecf86d184b97d8433988.zip
r2875: some fixes + (C) note
(This used to be commit d878c3c36505f548158297a3cb3b1e3b18b24c55)
-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);