summaryrefslogtreecommitdiff
path: root/source4/smb_server/reply.c
diff options
context:
space:
mode:
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 75c5772bf7..4526d6f7f3 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 || !req->session->finished_sesssetup) {
+ if (!req->session) {
req_reply_error(req, NT_STATUS_DOS(ERRSRV, ERRbaduid));
return;
}