mirror of
https://github.com/samba-team/samba.git
synced 2025-02-11 17:58:16 +03:00
we can safely give NO_SUCH_USER if the ticket decodes but the local
account doesn't exist
This commit is contained in:
parent
4ab9ca31a0
commit
477b6d27fd
@ -113,7 +113,7 @@ static int reply_spnego_kerberos(connection_struct *conn,
|
||||
pw = smb_getpwnam(user,False);
|
||||
if (!pw) {
|
||||
DEBUG(1,("Username %s is invalid on this system\n",user));
|
||||
return ERROR_NT(NT_STATUS_LOGON_FAILURE);
|
||||
return ERROR_NT(NT_STATUS_NO_SUCH_USER);
|
||||
}
|
||||
|
||||
if (!make_server_info_pw(&server_info,pw)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user