• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/

Lines Matching refs:privilege

112 	SE_PRIV privilege;
198 Lookup the SE_PRIV value for a privilege name
233 Retrieve the privilege mask (set) for a given SID
274 Store the privilege mask (set) for a given SID
309 check if the privilege is in the privilege list
341 check if the privilege is in the privilege list
374 add a privilege to a privilege array
381 /* we can allocate memory to add the new privilege */
401 The assumption here is that the privilege has already been validated
454 /* don't add unless we actually have a privilege assigned */
492 /* check to see if we are looking for a particular privilege */
494 if ( !se_priv_equal(&priv->privilege, &se_priv_none) ) {
499 /* if the SID does not have the specified privilege
502 if ( !is_privilege_assigned( &mask, &priv->privilege) )
542 se_priv_copy( &priv.privilege, &se_priv_none );
555 Add privilege to sid
574 DEBUGADD( 10, ("original privilege mask:\n"));
577 DEBUGADD( 10, ("new privilege mask:\n"));
584 Add a privilege based on its name
603 Remove privilege from sid
617 DEBUGADD( 10, ("original privilege mask:\n"));
622 DEBUGADD( 10, ("new privilege mask:\n"));
638 Add a privilege based on its name
657 Retrieve the SIDs assigned to a given privilege
666 initialise a privilege list and set the talloc context
675 mem_ctx = talloc_init("privilege set");
687 initialise a privilege list and with someone else's talloc context
746 Does the user have the specified privilege ? We only deal with one privilege
750 BOOL user_has_privileges(const NT_USER_TOKEN *token, const SE_PRIV *privilege)
755 return is_privilege_assigned( &token->privileges, privilege );
759 Does the user have any of the specified privileges ? We only deal with one privilege
763 BOOL user_has_any_privilege(NT_USER_TOKEN *token, const SE_PRIV *privilege)
768 return is_any_privilege_assigned( &token->privileges, privilege );
865 /* sanity check for invalid privilege. we really