Home | History | Annotate | Download | only in slapd

Lines Matching defs:perms

449 				perms,
524 if ( acl_get_part( aci, 2, '#', &perms ) <= 0 ) {
530 if ( aci_list_get_rights( &perms, &desc->ad_cname, val, grant, deny ) == 0 ) {
1044 * action := perms;attrs[[;perms;attrs]...]
1045 * perms := perm[[,perm]...]
1054 struct berval *perms )
1058 for ( i = 0; i < perms->bv_len; ) {
1059 switch ( perms->bv_val[ i ] ) {
1069 Debug( LDAP_DEBUG_ACL, "aciValidatePerms: perms needs to be one of x,d,c,s,r,w in '%s'\n", perms->bv_val );
1073 if ( ++i == perms->bv_len ) {
1077 while ( i < perms->bv_len && perms->bv_val[ i ] == ' ' )
1080 assert( i != perms->bv_len );
1082 if ( perms->bv_val[ i ] != ',' ) {
1083 Debug( LDAP_DEBUG_ACL, "aciValidatePerms: missing comma in '%s'\n", perms->bv_val );
1089 } while ( perms->bv_val[ i ] == ' ' );
1118 /* perms */
1160 /* "perms;attr" go in pairs */
1165 Debug( LDAP_DEBUG_ACL, "aciValidateRight: perms:attr need to be pairs in '%s'\n", action->bv_val );
1179 perms = BER_BVNULL,
1201 /* perms */
1206 perms = bv;
1282 + perms.bv_len + STRLENOF( ";" )
1289 ptr = lutil_strncopy( ptr, perms.bv_val, perms.bv_len );
1294 naction->bv_len += STRLENOF( ";" ) + perms.bv_len
1302 /* perms;attr go in pairs */
1307 Debug( LDAP_DEBUG_ACL, "aciNormalizeRight: perms:attr need to be pairs in '%s'\n", action->bv_val );