diff options
author | Michael Adam <obnox@samba.org> | 2008-01-24 23:44:05 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-25 01:42:22 +0100 |
commit | d682e0482834e8ea8e6f844b168deefdbe3616be (patch) | |
tree | b3e2f33cd698a0f3cc30e71f9b48ddab366d4e2c /source3 | |
parent | 2a542ce7727cf3eb7f64d855c70d974f02185a2a (diff) | |
download | samba-d682e0482834e8ea8e6f844b168deefdbe3616be.tar.gz samba-d682e0482834e8ea8e6f844b168deefdbe3616be.tar.bz2 samba-d682e0482834e8ea8e6f844b168deefdbe3616be.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
(This used to be commit 723e877c241dd5a0c8addb89507c9eda75b88ea4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/lookup_sid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 55dd654131..3c54cb56fe 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/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); |