git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f1b2c
)
s3 auth: Make debug message louder and more useful
author
Dan Sledz
<dan.sledz@isilon.com>
Mon, 6 Apr 2009 01:12:10 +0000
(
01:12
+0000)
committer
Tim Prouty
<tprouty@samba.org>
Wed, 13 May 2009 00:13:40 +0000
(17:13 -0700)
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index bdefb71d3a73a06f78687baba9ce8ae20cace959..a27025fc8d034b1d852e0f55a5fd78ad9ed253e3 100644
(file)
--- a/
source3/auth/auth_util.c
+++ b/
source3/auth/auth_util.c
@@
-886,8
+886,9
@@
NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username,
&group_sids, &gids,
&num_group_sids);
if (!NT_STATUS_IS_OK(result)) {
- DEBUG(10, ("enum_group_memberships failed for %s\n",
- username));
+ DEBUG(1, ("enum_group_memberships failed for %s (%s): "
+ "%s\n", username, sid_string_dbg(&user_sid),
+ nt_errstr(result)));
DEBUGADD(1, ("Fall back to unix user %s\n", username));
goto unix_user;
}