• Home
  • Raw
  • Download

Lines Matching refs:user

610 				     struct ksmbd_user *user, u64 id)  in destroy_previous_session()  argument
620 prev_user = prev_sess->user; in destroy_previous_session()
623 strcmp(user->name, prev_user->name) || in destroy_previous_session()
624 user->passkey_sz != prev_user->passkey_sz || in destroy_previous_session()
625 memcmp(user->passkey, prev_user->passkey, user->passkey_sz)) in destroy_previous_session()
1411 struct ksmbd_user *user; in session_user() local
1440 user = ksmbd_login_user(name); in session_user()
1442 return user; in session_user()
1452 struct ksmbd_user *user; in ntlm_authenticate() local
1473 user = session_user(conn, req); in ntlm_authenticate()
1474 if (!user) { in ntlm_authenticate()
1482 destroy_previous_session(conn, user, prev_id); in ntlm_authenticate()
1489 if (conn->binding == false && ksmbd_anonymous_user(user)) { in ntlm_authenticate()
1490 ksmbd_free_user(user); in ntlm_authenticate()
1494 if (!ksmbd_compare_user(sess->user, user)) { in ntlm_authenticate()
1495 ksmbd_free_user(user); in ntlm_authenticate()
1498 ksmbd_free_user(user); in ntlm_authenticate()
1500 sess->user = user; in ntlm_authenticate()
1503 if (conn->binding == false && user_guest(sess->user)) { in ntlm_authenticate()
1515 set_user_flag(sess->user, KSMBD_USER_FLAG_BAD_PASSWORD); in ntlm_authenticate()
1607 destroy_previous_session(conn, sess->user, prev_sess_id); in krb5_authenticate()
1610 ksmbd_free_user(sess->user); in krb5_authenticate()
1750 if (user_guest(sess->user)) { in smb2_sess_setup()
1904 if (sess->user && sess->user->flags & KSMBD_USER_FLAG_DELAY_SESSION) in smb2_sess_setup()
2230 ksmbd_free_user(sess->user); in smb2_session_logoff()
2231 sess->user = NULL; in smb2_session_logoff()
2963 sess->user->uid); in smb2_open()
3109 rc = smb_inherit_dacl(conn, &path, sess->user->uid, in smb2_open()
3110 sess->user->gid); in smb2_open()
5130 if (!user_guest(sess->user)) in smb2_get_info_filesystem()
5131 memcpy(info->objid, user_passkey(sess->user), 16); in smb2_get_info_filesystem()
8660 sess->user && !user_guest(sess->user) && in smb3_11_final_sess_setup_resp()