mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
libcli:security: Fix code spelling
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
fc7d58ee39
commit
e38f7cf4f1
@ -644,7 +644,7 @@ done:
|
||||
* Perform DS access checks for the user represented by its security_token, on
|
||||
* the provided security descriptor. If an tree associating GUID and access
|
||||
* required is provided then object access (OA) are checked as well. *
|
||||
* @param[in] sd The security descritor against which the required
|
||||
* @param[in] sd The security descriptor against which the required
|
||||
* access are requested
|
||||
*
|
||||
* @param[in] token The security_token associated with the user to
|
||||
|
@ -304,7 +304,7 @@ static struct security_acl *calculate_inherited_from_parent(TALLOC_CTX *mem_ctx,
|
||||
/*
|
||||
* If the ACE had an explicit object class
|
||||
* schemaId, but no attribute/propertySet
|
||||
* we need to downgrate the _OBJECT variants
|
||||
* we need to downgrade the _OBJECT variants
|
||||
* to the normal ones.
|
||||
*/
|
||||
if (inherited_property == NULL) {
|
||||
|
@ -24,7 +24,7 @@
|
||||
* the object tree that must be constructed to perform access checks.
|
||||
* The object tree is an unbalanced tree of depth 3, indexed by
|
||||
* object type guid. Perhaps a different data structure
|
||||
* should be concidered later to improve performance
|
||||
* should be considered later to improve performance
|
||||
*
|
||||
* Author: Nadezhda Ivanova
|
||||
*/
|
||||
|
@ -234,7 +234,7 @@ const char* get_privilege_dispname( const char *name )
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
return the number of elements in the 'short' privlege array (traditional source3 behaviour)
|
||||
return the number of elements in the 'short' privilege array (traditional source3 behaviour)
|
||||
*******************************************************************/
|
||||
|
||||
int num_privileges_in_short_list( void )
|
||||
@ -442,7 +442,7 @@ bool security_token_system_privilege(const struct security_token *token)
|
||||
*/
|
||||
void security_token_set_privilege(struct security_token *token, enum sec_privilege privilege)
|
||||
{
|
||||
/* Relies on the fact that an invalid privilage will return 0, so won't change this */
|
||||
/* Relies on the fact that an invalid privilege will return 0, so won't change this */
|
||||
token->privilege_mask |= sec_privilege_mask(privilege);
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ typedef struct {
|
||||
const char* get_privilege_dispname( const char *name );
|
||||
|
||||
/*******************************************************************
|
||||
return the number of elements in the 'short' privlege array (traditional source3 behaviour)
|
||||
return the number of elements in the 'short' privilege array (traditional source3 behaviour)
|
||||
*******************************************************************/
|
||||
|
||||
int num_privileges_in_short_list( void );
|
||||
|
@ -97,7 +97,7 @@
|
||||
* to be granted in order to fulfill the requested access.
|
||||
*
|
||||
* The GUID is optional, if specified it restricts this object tree and its
|
||||
* childs to object/attributes that inherits from this GUID.
|
||||
* children to object/attributes that inherits from this GUID.
|
||||
* For DS access an object inherits from a GUID if one of its class has this GUID
|
||||
* in the schemaIDGUID attribute.
|
||||
*/
|
||||
|
@ -226,7 +226,7 @@ NTSTATUS security_descriptor_for_client(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
/*
|
||||
* ... and remove everthing not wanted
|
||||
* ... and remove everything not wanted
|
||||
*/
|
||||
|
||||
if (!(sec_info & SECINFO_OWNER)) {
|
||||
|
@ -66,7 +66,7 @@ const struct dom_sid global_sid_Authenticated_Users = /* All authenticated rids
|
||||
{ 1, 1, {0,0,0,0,0,5}, {11,0,0,0,0,0,0,0,0,0,0,0,0,0,0}};
|
||||
#if 0
|
||||
/* for documentation S-1-5-12 */
|
||||
const struct dom_sid global_sid_Restriced = /* Restriced Code */
|
||||
const struct dom_sid global_sid_Restriced = /* Restricted Code */
|
||||
{ 1, 1, {0,0,0,0,0,5}, {12,0,0,0,0,0,0,0,0,0,0,0,0,0,0}};
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user