From 7b39ef295073847b29af3220e0566131e503b0a0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 21 Dec 1999 00:06:00 +0000 Subject: Fix from tulipant-gergely@dbrt.hu for returning incorrect error code on user auth fail. Jeremy. (This used to be commit 886ad59d798175f037ea9249dcefa78660e4992a) --- source3/smbd/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/process.c') 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 -- cgit