diff options
author | Jeremy Allison <jra@samba.org> | 1999-12-21 00:06:00 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1999-12-21 00:06:00 +0000 |
commit | 7b39ef295073847b29af3220e0566131e503b0a0 (patch) | |
tree | ae315da98e7c3d813bc9549647eac0f9dcfc00a7 | |
parent | 80a180853d2d177f5c991a36e4b86943d9efa3fe (diff) | |
download | samba-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)
-rw-r--r-- | source3/smbd/process.c | 2 |
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 |