summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/sesssetup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/smb_server/sesssetup.c b/source4/smb_server/sesssetup.c
index bab52e25fe..ee52e0cd7d 100644
--- a/source4/smb_server/sesssetup.c
+++ b/source4/smb_server/sesssetup.c
@@ -307,10 +307,7 @@ NTSTATUS sesssetup_backend(struct smbsrv_request *req,
{
NTSTATUS status = NT_STATUS_INVALID_LEVEL;
- switch (sess->generic.level) {
- case RAW_SESSSETUP_GENERIC:
- status = NT_STATUS_INVALID_LEVEL;
- break;
+ switch (sess->old.level) {
case RAW_SESSSETUP_OLD:
status = sesssetup_old(req, sess);
break;