Lines Matching defs:perms
444 perms,
519 if ( acl_get_part( aci, 2, '#', &perms ) <= 0 ) {
525 if ( aci_list_get_rights( &perms, &desc->ad_cname, val, grant, deny ) == 0 ) {
1038 * action := perms;attrs[[;perms;attrs]...]
1039 * perms := perm[[,perm]...]
1048 struct berval *perms )
1052 for ( i = 0; i < perms->bv_len; ) {
1053 switch ( perms->bv_val[ i ] ) {
1063 Debug( LDAP_DEBUG_ACL, "aciValidatePerms: perms needs to be one of x,d,c,s,r,w in '%s'\n", perms->bv_val, 0, 0 );
1067 if ( ++i == perms->bv_len ) {
1071 while ( i < perms->bv_len && perms->bv_val[ i ] == ' ' )
1074 assert( i != perms->bv_len );
1076 if ( perms->bv_val[ i ] != ',' ) {
1077 Debug( LDAP_DEBUG_ACL, "aciValidatePerms: missing comma in '%s'\n", perms->bv_val, 0, 0 );
1083 } while ( perms->bv_val[ i ] == ' ' );
1112 /* perms */
1154 /* "perms;attr" go in pairs */
1159 Debug( LDAP_DEBUG_ACL, "aciValidateRight: perms:attr need to be pairs in '%s'\n", action->bv_val, 0, 0 );
1173 perms = BER_BVNULL,
1195 /* perms */
1200 perms = bv;
1276 + perms.bv_len + STRLENOF( ";" )
1283 ptr = lutil_strncopy( ptr, perms.bv_val, perms.bv_len );
1288 naction->bv_len += STRLENOF( ";" ) + perms.bv_len
1296 /* perms;attr go in pairs */
1301 Debug( LDAP_DEBUG_ACL, "aciNormalizeRight: perms:attr need to be pairs in '%s'\n", action->bv_val, 0, 0 );