summaryrefslogtreecommitdiff
path: root/source4/smb_server/reply.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-16 17:14:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:20 -0500
commitdae30e5b50066d21617dabae4752559dd956c09a (patch)
tree5e6a1aeb6ba01af5fc6165a3180f625fcb3b9e59 /source4/smb_server/reply.c
parentfb90bebab64c8eb02dc190d829b44eb592230302 (diff)
downloadsamba-dae30e5b50066d21617dabae4752559dd956c09a.tar.gz
samba-dae30e5b50066d21617dabae4752559dd956c09a.tar.bz2
samba-dae30e5b50066d21617dabae4752559dd956c09a.zip
r11744: make sure the session is completed authenticated!!!
metze (This used to be commit 0383218a00a8e744b70a3fa5056467a43fbe3a42)
Diffstat (limited to 'source4/smb_server/reply.c')
-rw-r--r--source4/smb_server/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/reply.c b/source4/smb_server/reply.c
index 4526d6f7f3..75c5772bf7 100644
--- a/source4/smb_server/reply.c
+++ b/source4/smb_server/reply.c
@@ -2174,7 +2174,7 @@ void reply_ulogoffX(struct smbsrv_request *req)
struct smbsrv_tcon *tcon;
NTSTATUS status;
- if (!req->session) {
+ if (!req->session || !req->session->finished_sesssetup) {
req_reply_error(req, NT_STATUS_DOS(ERRSRV, ERRbaduid));
return;
}