git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f438cb
)
Win2k never returns 'no such user' here, so when we do it, the clients freak
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 18 Aug 2003 23:48:03 +0000
(23:48 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 18 Aug 2003 23:48:03 +0000
(23:48 +0000)
out. Return the standard 'logon failure' instead.
Andrew Bartlett
(This used to be commit
a83506802fd331af78d2fd6e6a5cd507b5a40ca3
)
source3/smbd/sesssetup.c
patch
|
blob
|
history
diff --git
a/source3/smbd/sesssetup.c
b/source3/smbd/sesssetup.c
index 1435c38c99d2e1bfc3c9a2f998577fbafd94e558..242b39d8d77f0736389a69d887a13eff98d0898c 100644
(file)
--- 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))) {