Lines Matching defs:user

93  *      - The tree is queued in the list of trees of its user.
100 * - The tree is queued in the list of trees of its user.
108 * - The tree is queued in the list of trees of its user.
116 * added to the list of trees of a user.
133 * - The list of trees of the user it belongs to.
138 * and there's a lock embedded in the list of trees of a user. To
140 * To insert the tree into the list of trees of the user and to remove
145 * 1) In order to avoid deadlocks, when both (mutex and lock of the user
161 * 2) The tree is queued in the list of trees of the user. The fact of
505 * user in the passed request. The default is full access.
517 smb_user_t *user;
528 user = sr->uid_user;
529 cred = user->u_cred;
581 * - No IPC/anonymous user is allowed
583 * - If user is Guest, guestok property of the share should be
586 * - If this is an Admin share, the user should have administrative
598 smb_user_t *user = sr->uid_user;
604 if (user->u_flags & SMB_USER_FLAG_ANON) {
609 if ((user->u_flags & SMB_USER_FLAG_GUEST) &&
615 if ((shr->shr_flags & SMB_SHRF_ADMIN) && !smb_user_is_admin(user)) {
649 smb_user_t *user = sr->uid_user;
660 ASSERT(user);
661 ASSERT(user->u_cred);
673 rc = smb_pathname_reduce(sr, user->u_cred, si->shr_path, 0, 0, &dnode,
676 rc = smb_fsop_lookup(sr, user->u_cred, SMB_FOLLOW_LINKS,
767 smb_user_t *user = sr->uid_user;
777 ASSERT(user);
778 ASSERT(user->u_cred);
795 rc = smb_pathname_reduce(sr, user->u_cred, si->shr_path, 0, 0, &dnode,
798 rc = smb_fsop_lookup(sr, user->u_cred, SMB_FOLLOW_LINKS,
841 smb_user_t *user = sr->uid_user;
846 ASSERT(user);
855 if ((user->u_flags & SMB_USER_FLAG_ANON) &&
963 * Remove the tree from the user's tree list before freeing resources
1238 smb_user_t *user = sr->uid_user;
1240 ASSERT(user);
1245 if ((user->u_name) && (strcasecmp(sharename, "IPC$") == 0)) {
1251 if ((strcmp(user->u_name, "root") == 0) ||
1252 (strcmp(user->u_name, "nobody") == 0)) {
1262 user->u_domain, user->u_name, sharename, buf);
1474 * needed in user space to support RPC requests.
1493 smb_user_t *user = tree->t_owner;
1502 ASSERT(user->u_domain_len > 0);
1503 ASSERT(user->u_name_len > 0);
1504 *namelen = user->u_domain_len + user->u_name_len;
1506 (void) snprintf(*namestr, *namelen, "%s\\%s", user->u_domain,
1507 user->u_name);