summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorDan Sledz <dan.sledz@isilon.com>2009-04-06 01:12:10 +0000
committerTim Prouty <tprouty@samba.org>2009-05-12 17:13:40 -0700
commitc71d4530b4f3a575b4e413eff0b0f61205d38cfd (patch)
tree9c585c767eecccd519af9b7aed895ff675f93b2c /source3
parentd9f1b2ceecf7683e51c6dcdb336c53859a089814 (diff)
downloadsamba-c71d4530b4f3a575b4e413eff0b0f61205d38cfd.tar.gz
samba-c71d4530b4f3a575b4e413eff0b0f61205d38cfd.tar.bz2
samba-c71d4530b4f3a575b4e413eff0b0f61205d38cfd.zip
s3 auth: Make debug message louder and more useful
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index bdefb71d3a..a27025fc8d 100644
--- 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;
}