1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r2875: some fixes + (C) note

(This used to be commit d878c3c36505f548158297a3cb3b1e3b18b24c55)
This commit is contained in:
Simo Sorce 2004-10-09 16:38:18 +00:00 committed by Gerald (Jerry) Carter
parent 7251e37bb6
commit d669d6a892

View File

@ -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);