summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-24 23:44:05 +0100
committerMichael Adam <obnox@samba.org>2008-01-25 01:42:22 +0100
commit723e877c241dd5a0c8addb89507c9eda75b88ea4 (patch)
tree25ab2701c8c83ca4a50bb35f16817fcac7cfebe8 /source/passdb
parentba5373ed7f74d560a9de8620039b596b8938d1dc (diff)
downloadsamba-723e877c241dd5a0c8addb89507c9eda75b88ea4.tar.gz
samba-723e877c241dd5a0c8addb89507c9eda75b88ea4.tar.xz
samba-723e877c241dd5a0c8addb89507c9eda75b88ea4.zip
Add a debug message to lookup_rids() printing the domain SID.
This is to ease debugging. I sporadically get panics that are apparently due to NULL domain sid passed to lookup_rids somewhere. Michael
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/lookup_sid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/passdb/lookup_sid.c b/source/passdb/lookup_sid.c
index 55dd654131c..3c54cb56fe8 100644
--- a/source/passdb/lookup_sid.c
+++ b/source/passdb/lookup_sid.c
@@ -464,6 +464,9 @@ static bool lookup_rids(TALLOC_CTX *mem_ctx, const DOM_SID *domain_sid,
{
int i;
+ DEBUG(10, ("lookup_rids called for domain sid '%s'\n",
+ sid_string_dbg(domain_sid)));
+
if (num_rids) {
*names = TALLOC_ARRAY(mem_ctx, const char *, num_rids);
*types = TALLOC_ARRAY(mem_ctx, enum lsa_SidType, num_rids);