diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-01-13 16:55:34 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-01-14 16:39:33 +1100 |
commit | 0450ab9536592965ab39d2ba7c5e431154ae1842 (patch) | |
tree | 663409fd6f98c1be94c49cba3720df9d43c74a45 /source4/dsdb/samdb | |
parent | 8df6504ffeb0f32d6b53f8607fcc23418bda63bd (diff) | |
download | samba-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>
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/samdb.c | 1 |
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; } } |