git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a542ce
)
Add a debug message to lookup_rids() printing the domain SID.
author
Michael Adam
<obnox@samba.org>
Thu, 24 Jan 2008 22:44:05 +0000
(23:44 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 25 Jan 2008 00:42:22 +0000
(
01:42
+0100)
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
)
source3/passdb/lookup_sid.c
patch
|
blob
|
history
diff --git
a/source3/passdb/lookup_sid.c
b/source3/passdb/lookup_sid.c
index 55dd654131cf7d5596379a40832f0fd809076cd8..3c54cb56fe81afb38b559645b1d5b28fd0fe0268 100644
(file)
--- 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);