diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-11-26 04:37:24 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-11-26 04:37:24 +0000 |
commit | 0b2763260e915620a6d9b1709d112b13a8566d74 (patch) | |
tree | f1a31190b86357f7f55e06b6d402dbce5ad1aee0 | |
parent | 64dd6c3412f961239ad4c6989aab67250d312c9d (diff) | |
download | samba-0b2763260e915620a6d9b1709d112b13a8566d74.tar.gz samba-0b2763260e915620a6d9b1709d112b13a8566d74.tar.bz2 samba-0b2763260e915620a6d9b1709d112b13a8566d74.zip |
we can safely give NO_SUCH_USER if the ticket decodes but the local
account doesn't exist
(This used to be commit 477b6d27fd7281418739bc8ba0b984a53430ecda)
-rw-r--r-- | source3/smbd/sesssetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 1b6776ed70..d49dbc15d1 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -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)) { |