summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-01-13 16:55:34 +1100
committerAndrew Tridgell <tridge@samba.org>2011-01-14 16:39:33 +1100
commit0450ab9536592965ab39d2ba7c5e431154ae1842 (patch)
tree663409fd6f98c1be94c49cba3720df9d43c74a45
parent8df6504ffeb0f32d6b53f8607fcc23418bda63bd (diff)
downloadsamba-0450ab9536592965ab39d2ba7c5e431154ae1842.tar.gz
samba-0450ab9536592965ab39d2ba7c5e431154ae1842.tar.bz2
samba-0450ab9536592965ab39d2ba7c5e431154ae1842.zip
s4-samdb: give a more useful debug when we can't open the privileges db
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/dsdb/samdb/samdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c
index a8428a9c54..11913fbbce 100644
--- a/source4/dsdb/samdb/samdb.c
+++ b/source4/dsdb/samdb/samdb.c
@@ -242,6 +242,7 @@ NTSTATUS security_token_create(TALLOC_CTX *mem_ctx,
status = samdb_privilege_setup(lp_ctx, ptoken);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(ptoken);
+ DEBUG(1,("Unable to access privileges database\n"));
return status;
}
}