• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/

Lines Matching refs:entries

59  * | vers | flag | num_entries | num_default_entries | ..entries.. | default_entries... |
132 Count the inherited entries.
224 * none of the entries in it are marked as inherited.
496 Count a linked list of canonical ACE entries.
511 Free a linked list of canonical ACE entries.
676 * First, merge allow entries with identical SIDs, and deny entries
726 * Subtract ACE's with different entries. Due to the ordering constraints
758 * ordering that all the deny entries for
778 Check if we need to return NT4.x compatible ACL entries.
797 The attr element is not used here - we only process deny entries on set,
798 not get. Deny entries are implicit on get with ace->perms = 0.
1033 A well formed POSIX file or default ACL has at least 3 entries, a
1169 Check if a POSIX ACL has the required SMB_ACL_USER_OBJ and SMB_ACL_GROUP_OBJ entries.
1170 If it does not have them, check if there are any entries where the trustee is the
1178 int i, entries;
1180 entries = count_canon_ace_list(ace);
1184 for (i=0, current_ace = ace; i < entries; i++, current_ace = current_ace->next) {
1191 DEBUG(10,("check_owning_objs: ACL had owning user/group entries.\n"));
1195 for (i=0, current_ace = ace; i < entries; i++, current_ace = current_ace->next) {
1529 * Check if we have SMB_ACL_USER_OBJ and SMB_ACL_GROUP_OBJ entries in each
1531 * entries can be converted to *_OBJ. Usually we will already have these
1532 * entries in the Default ACL, and the Access ACL will not have them.
1548 we insist the ACL is in canonical form (ie. all DENY entries preceede ALLOW
1549 entries). Secondly, the merge code has ensured that all duplicate SID entries for
1560 entry as a mask on all following allow entries. Finally, delete
1563 In addition, in this pass we remove any DENY entries that have
1566 Second pass - only deal with deny user entries.
1571 for all following allow group entries where user1 is in group
1591 Third pass - only deal with deny group entries.
1595 for all following allow user entries where user is in group1
1610 cannot be optimised here as we need to modify user entries who are
1614 user entries (which are more specific in POSIX ACLs) to mask
1622 for all allow user entries, if there exists an allow group entry with
1631 entries into allow user entries which can then be processed by the deny
1639 Process a canon_ace list entries. This is very complex code. We need
1644 entries. Treat an "Everyone" DENY_ACE as a special case - use it to mask all
1645 allow entries.
1701 * Only mask off allow entries.
1717 /* Pass 2 above - deal with deny user entries. */
1750 /* We process GID_ACE and WORLD_ACE entries only. */
1769 /* Pass 3 above - deal with deny group entries. */
1793 /* We process UID_ACE entries only. */
1826 /* Pass 4 above - deal with allow entries. */
1844 /* We process GID_ACE entries only. */
1862 no user/group/world entries.
1935 * Go through the canon_ace list and merge entries
1937 * We can do this as all deny entries come first, followed by
1938 * all allow entries (we have mandated this before accepting this acl).
1949 * process DENY entries by masking the allow entries.
1959 * A well formed POSIX file or default ACL has at least 3 entries, a
2008 entries, last entry = other.
2010 Note that this doesn't exactly match the NT semantics for an ACL. As POSIX entries
2012 then a simple POSIX permission of rw-r--r-- should really map to 5 entries,
2064 Create a linked list of canonical ACE entries.
2117 * entries out of the blue when setting ACLs, so a get/set
2194 DEBUG(10,("canonicalise_acl: %s ace entries before arrange :\n", the_acl_type == SMB_ACL_TYPE_ACCESS ? "Access" : "Default" ));
2199 /* Masks are only applied to entries other than USER_OBJ and OTHER. */
2214 print_canon_ace_list( "canonicalise_acl: ace entries after arrange", list_head );
2274 * named group entries. But if there is an ACL_MASK entry, it applies
2275 * to ACL_USER, ACL_GROUP, and ACL_GROUP_OBJ entries. Set the mask
2500 DEBUG(3,("convert_canon_ace_to_posix_perms: Too many ACE entries for file %s to convert to \
2515 DEBUG(3,("convert_canon_ace_to_posix_perms: Can't get standard entries for file %s.\n",
2575 /* We know the lower number ACE's are file entries. */
2714 * the ACL_USER_OBJ and ACL_GROUP_OBJ entries, respectively, but this
2715 * would lead to usability problems under Windows: The Creator entries
2750 * remove entries from the Access ACL if the
2751 * corresponding Default ACL entries have also been
2754 * intelligent if the Default ACL contains entries that
3268 * ACL_GROUP_OBJ, and ACL_GROUP entries. That's what
3593 we must read the current acl and copy all entries except MASK, USER and GROUP
3605 /* Create a new ACL with only 3 entries, u/g/w. */
3612 DEBUG(5,("remove_posix_acl: failed to init new ACL with 3 entries for file %s.\n", fname));
3616 /* Now create the u/g/w entries. */
3718 If num_def_acls == 0 then read/modify/write acl after removing all entries
3804 /* Now check all group entries. */