sesssetup: try and fix build of "STEP07? SECURITY_USER >= ..."
authorMichael Adam <obnox@samba.org>
Mon, 2 Mar 2015 22:38:24 +0000 (23:38 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 15 May 2015 09:46:54 +0000 (11:46 +0200)
source3/smbd/smb2_sesssetup.c

index 012bacf501537b10acca5ea7fc77f8785501d4d3..d04c98ad1bdb44ede199dc0474a081e585d49575 100644 (file)
@@ -716,7 +716,7 @@ static struct tevent_req *smbd_smb2_session_setup_send(TALLOC_CTX *mem_ctx,
                        return tevent_req_post(req, ev);
                }
 
-               if (security_session_user_level(smb2req->session->global->auth_session_infos, NULL) < SECURITY_USER) {
+               if (security_session_user_level(smb2req->session->global->auth_session_info, NULL) < SECURITY_USER) {
                DEBUG(0,("%s:%s: session binding requested\n", __location__, __func__));
                        tevent_req_nterror(req, NT_STATUS_REQUEST_NOT_ACCEPTED); //???
                        return tevent_req_post(req, ev);