From c71d4530b4f3a575b4e413eff0b0f61205d38cfd Mon Sep 17 00:00:00 2001 From: Dan Sledz Date: Mon, 6 Apr 2009 01:12:10 +0000 Subject: s3 auth: Make debug message louder and more useful --- source3/auth/auth_util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/auth/auth_util.c') 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; } -- cgit