diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index b93052ade2..d01ff905a3 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2085,6 +2085,11 @@ void reply_ulogoffX(struct smb_request *req) if(vuser == NULL) { DEBUG(3,("ulogoff, vuser id %d does not map to user.\n", req->vuid)); + + req->vuid = UID_FIELD_INVALID; + reply_force_doserror(req, ERRSRV, ERRbaduid); + END_PROFILE(SMBulogoffX); + return; } /* in user level security we are supposed to close any files |