Lines Matching refs:access

143  *    Rules of access to a tree structure:
246 smb_tree_log(sr, name, "access not permitted");
505 * user in the passed request. The default is full access.
506 * If any error occurs, full access is granted.
512 * file is the share's ACL which is used for access check here.
526 uint32_t access;
530 access = ACE_ALL_PERMS;
534 * An autohome share owner gets full access to the share.
535 * Everyone else is denied access.
538 access = 0;
540 return (access);
553 return (access);
567 * Now get the effective access value based on cred and ACL values.
570 smb_vop_eaccess(sharevp, (int *)&access, V_ACE_MASK, NULL,
575 return (access);
579 * Performs the following access checks for a disk share:
589 * - Host based access control lists
593 * Returns the access allowed or 0 if access is denied.
602 uint32_t access;
605 smb_tree_log(sr, sharename, "access denied: IPC only");
611 smb_tree_log(sr, sharename, "access denied: guest disabled");
616 smb_tree_log(sr, sharename, "access denied: not admin");
622 smb_tree_log(sr, sharename, "access denied: host access");
628 smb_tree_log(sr, sharename, "access denied: share ACL");
632 access = host_access & acl_access;
633 if ((access & ACE_ALL_PERMS) == 0) {
634 smb_tree_log(sr, sharename, "access denied");
638 return (access);
657 uint32_t access;
691 if ((access = smb_tree_chkaccess(sr, si, snode->vp)) == 0) {
731 tree = smb_tree_alloc(sr, si, snode, access, sr->sr_cfg->skc_execflags);
757 * Shares have both a share and host based access control. The access
759 * (permissions allowed by host based access) and aclaccess (from the
775 uint32_t access;
813 if ((access = smb_tree_chkaccess(sr, si, snode->vp)) == 0) {
820 tree = smb_tree_alloc(sr, si, snode, access, sr->sr_cfg->skc_execflags);
857 smb_tree_log(sr, name, "access denied: restrict anonymous");
878 smb_node_t *snode, uint32_t access, uint32_t execflags)
937 tree->t_access = access;
1231 * Report share access result to syslog.