summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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