summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-20 20:23:06 +0000
committerJeremy Allison <jra@samba.org>2002-12-20 20:23:06 +0000
commit7f23546730e49569d41a5edd0c47bb559c4f812d (patch)
tree7d7d2229881b2e9f05130a07c6cb2dd912c89098 /source3/passdb
parent45a6532727888c710d537c6e1e03466af2a87881 (diff)
downloadsamba-7f23546730e49569d41a5edd0c47bb559c4f812d.tar.gz
samba-7f23546730e49569d41a5edd0c47bb559c4f812d.tar.bz2
samba-7f23546730e49569d41a5edd0c47bb559c4f812d.zip
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c2
-rw-r--r--source3/passdb/pdb_interface.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index ef1c1180dd..ed5ddda4da 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -139,7 +139,7 @@ NTSTATUS pdb_init_sam(SAM_ACCOUNT **user)
TALLOC_CTX *mem_ctx;
NTSTATUS nt_status;
- mem_ctx = talloc_init_named("passdb internal SAM_ACCOUNT allocation");
+ mem_ctx = talloc_init("passdb internal SAM_ACCOUNT allocation");
if (!mem_ctx) {
DEBUG(0,("pdb_init_sam: error while doing talloc_init()\n"));
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 79ce598149..891a29148f 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -465,7 +465,7 @@ static NTSTATUS make_pdb_context(struct pdb_context **context)
{
TALLOC_CTX *mem_ctx;
- mem_ctx = talloc_init_named("pdb_context internal allocation context");
+ mem_ctx = talloc_init("pdb_context internal allocation context");
if (!mem_ctx) {
DEBUG(0, ("make_pdb_context: talloc init failed!\n"));