1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s3-rpc_server use session_info to print user details

This is the authoritative source for what the user was actually
authenticated as.

The previous message printed only what they claimed, and the DC might
map this.

The workstation is no longer printed in the logs, as it allows
auth_ntlmssp_get_client() to be removed.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
Andrew Bartlett 2011-07-21 19:29:10 +10:00
parent c9bde9ae75
commit 8e50c69626

View File

@ -127,10 +127,9 @@ NTSTATUS ntlmssp_server_get_user_info(struct auth_ntlmssp_state *ctx,
return status;
}
DEBUG(5, (__location__ "OK: user: %s domain: %s workstation: %s\n",
auth_ntlmssp_get_username(ctx),
auth_ntlmssp_get_domain(ctx),
auth_ntlmssp_get_client(ctx)));
DEBUG(5, (__location__ "OK: user: %s domain: %s\n",
(*session_info)->info->account_name,
(*session_info)->info->domain_name));
return NT_STATUS_OK;
}