Changeset 920 for trunk/server/source4/rpc_server
- Timestamp:
- Jun 9, 2016, 2:23:12 PM (9 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 919
- Property svn:mergeinfo changed
-
trunk/server/source4/rpc_server/dcesrv_auth.c
r745 r920 47 47 uint32_t auth_length; 48 48 49 if (pkt-> u.bind.auth_info.length == 0) {49 if (pkt->auth_length == 0) { 50 50 dce_conn->auth_state.auth_info = NULL; 51 51 return true; … … 109 109 NTSTATUS status; 110 110 111 if ( !call->conn->auth_state.gensec_security) {111 if (call->pkt.auth_length == 0) { 112 112 return NT_STATUS_OK; 113 113 } … … 156 156 uint32_t auth_length; 157 157 158 /* We can't work without an existing gensec state, and an new blob to feed it */ 159 if (!dce_conn->auth_state.auth_info || 160 !dce_conn->auth_state.gensec_security || 161 pkt->u.auth3.auth_info.length == 0) { 158 if (pkt->auth_length == 0) { 159 return false; 160 } 161 162 if (!dce_conn->auth_state.auth_info) { 163 return false; 164 } 165 166 /* We can't work without an existing gensec state */ 167 if (!dce_conn->auth_state.gensec_security) { 162 168 return false; 163 169 } … … 204 210 205 211 /* on a pure interface change there is no auth blob */ 206 if (pkt-> u.alter.auth_info.length == 0) {212 if (pkt->auth_length == 0) { 207 213 return true; 208 214 } … … 239 245 /* on a pure interface change there is no auth_info structure 240 246 setup */ 241 if (!call->conn->auth_state.auth_info || 242 dce_conn->auth_state.auth_info->credentials.length == 0) { 247 if (call->pkt.auth_length == 0) { 243 248 return NT_STATUS_OK; 244 249 } … … 313 318 314 319 default: 320 return false; 321 } 322 323 if (pkt->auth_length == 0) { 324 DEBUG(1,("dcesrv_auth_request: unexpected auth_length of 0\n")); 315 325 return false; 316 326 }
Note:
See TracChangeset
for help on using the changeset viewer.