summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-08-18 23:48:03 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-08-18 23:48:03 +0000
commitc236ac83c8ba6fc8d57542bad5bb4685838948e8 (patch)
tree4adbddc27a200355cba4c5deadf3b5af2a88ccd7 /source3/smbd
parent1f438cbfbfe1c4c04185c1a927b70f008ea0dea0 (diff)
downloadsamba-c236ac83c8ba6fc8d57542bad5bb4685838948e8.tar.gz
samba-c236ac83c8ba6fc8d57542bad5bb4685838948e8.tar.bz2
samba-c236ac83c8ba6fc8d57542bad5bb4685838948e8.zip
Win2k never returns 'no such user' here, so when we do it, the clients freak
out. Return the standard 'logon failure' instead. Andrew Bartlett (This used to be commit a83506802fd331af78d2fd6e6a5cd507b5a40ca3)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 1435c38c99..242b39d8d7 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -215,7 +215,7 @@ static int reply_spnego_kerberos(connection_struct *conn,
if (!pw) {
DEBUG(1,("Username %s is invalid on this system\n",user));
data_blob_free(&ap_rep);
- return ERROR_NT(NT_STATUS_NO_SUCH_USER);
+ return ERROR_NT(NT_STATUS_LOGON_FAILURE);
}
if (!NT_STATUS_IS_OK(ret = make_server_info_pw(&server_info,pw))) {