Changeset 989 for vendor/current/source3/smbd/sesssetup.c
- Timestamp:
- Nov 25, 2016, 8:04:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/smbd/sesssetup.c
r988 r989 131 131 struct smbd_server_connection *sconn = req->sconn; 132 132 uint16_t action = 0; 133 bool is_authenticated = false; 133 134 NTTIME now = timeval_to_nttime(&req->request_time); 134 135 struct smbXsrv_session *session = NULL; … … 337 338 338 339 if (security_session_user_level(session_info, NULL) >= SECURITY_USER) { 340 is_authenticated = true; 339 341 session->compat->homes_snum = 340 342 register_homes_share(session_info->unix_info->unix_name); … … 342 344 343 345 if (srv_is_signing_negotiated(xconn) && 344 action == 0&&346 is_authenticated && 345 347 session->global->signing_key.length > 0) 346 348 { … … 602 604 uint16_t smb_flag2 = req->flags2; 603 605 uint16_t action = 0; 606 bool is_authenticated = false; 604 607 NTTIME now = timeval_to_nttime(&req->request_time); 605 608 struct smbXsrv_session *session = NULL; … … 1039 1042 1040 1043 if (security_session_user_level(session_info, NULL) >= SECURITY_USER) { 1044 is_authenticated = true; 1041 1045 session->compat->homes_snum = 1042 1046 register_homes_share(session_info->unix_info->unix_name); … … 1044 1048 1045 1049 if (srv_is_signing_negotiated(xconn) && 1046 action == 0&&1050 is_authenticated && 1047 1051 session->global->signing_key.length > 0) 1048 1052 {
Note:
See TracChangeset
for help on using the changeset viewer.