summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1999-12-21 00:06:00 +0000
committerJeremy Allison <jra@samba.org>1999-12-21 00:06:00 +0000
commit7b39ef295073847b29af3220e0566131e503b0a0 (patch)
treeae315da98e7c3d813bc9549647eac0f9dcfc00a7 /source3
parent80a180853d2d177f5c991a36e4b86943d9efa3fe (diff)
downloadsamba-7b39ef295073847b29af3220e0566131e503b0a0.tar.gz
samba-7b39ef295073847b29af3220e0566131e503b0a0.tar.bz2
samba-7b39ef295073847b29af3220e0566131e503b0a0.zip
Fix from tulipant-gergely@dbrt.hu for returning incorrect error code
on user auth fail. Jeremy. (This used to be commit 886ad59d798175f037ea9249dcefa78660e4992a)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 7e94ffa173..36eb882340 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -504,7 +504,7 @@ static int switch_message(int type,char *inbuf,char *outbuf,int size,int bufsize
if (flags & AS_GUEST)
flags &= ~AS_USER;
else
- return(ERROR(ERRSRV,ERRinvnid));
+ return(ERROR(ERRSRV,ERRaccess));
}
/* this code is to work around a bug is MS client 3 without
introducing a security hole - it needs to be able to do