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>
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;
}