mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3 auth: Make debug message louder and more useful
This commit is contained in:
parent
d9f1b2ceec
commit
c71d4530b4
@ -886,8 +886,9 @@ NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username,
|
|||||||
&group_sids, &gids,
|
&group_sids, &gids,
|
||||||
&num_group_sids);
|
&num_group_sids);
|
||||||
if (!NT_STATUS_IS_OK(result)) {
|
if (!NT_STATUS_IS_OK(result)) {
|
||||||
DEBUG(10, ("enum_group_memberships failed for %s\n",
|
DEBUG(1, ("enum_group_memberships failed for %s (%s): "
|
||||||
username));
|
"%s\n", username, sid_string_dbg(&user_sid),
|
||||||
|
nt_errstr(result)));
|
||||||
DEBUGADD(1, ("Fall back to unix user %s\n", username));
|
DEBUGADD(1, ("Fall back to unix user %s\n", username));
|
||||||
goto unix_user;
|
goto unix_user;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user