1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-30 08:23:49 +03:00

r11744: make sure the session is completed authenticated!!!

metze
This commit is contained in:
Stefan Metzmacher
2005-11-16 17:14:16 +00:00
committed by Gerald (Jerry) Carter
parent 17c4b6298d
commit 0383218a00
2 changed files with 2 additions and 2 deletions

View File

@@ -504,7 +504,7 @@ static void switch_message(int type, struct smbsrv_request *req)
}
/* see if the vuid is valid */
if ((flags & AS_USER) && !req->session) {
if ((flags & AS_USER) && (!req->session || !req->session->finished_sesssetup)) {
/* amazingly, the error code depends on the command */
switch (type) {
case SMBntcreateX: