Home
last modified time | relevance | path

Searched refs:role_constraints (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
H A Drbacsess.c177 &sessp->role_constraints, attr->a_nvals, NULL ); in rbac_read_session_cb()
408 sessp->role_constraints = NULL; in rbac_alloc_session()
477 if ( sessp->role_constraints ) { in rbac_register_session()
479 sessp->role_constraints, NULL ); in rbac_register_session()
578 if ( sessp->role_constraints ) { in rbac_register_session2()
580 sessp->role_constraints, NULL ); in rbac_register_session2()
944 if ( sessp->role_constraints ) { in rbac_free_session()
945 ber_bvarray_free( sessp->role_constraints ); in rbac_free_session()
981 for ( i = 0; !BER_BVISNULL( &userp->role_constraints[i] ); i++ ) { in activate_session_roles()
983 ber_dupbv_x( &roleconstraint, &userp->role_constraints[i], NULL ); in activate_session_roles()
[all …]
H A Drbac.h174 BerVarray role_constraints; member
289 BerVarray role_constraints; member
375 rbac_constraint_t *role_constraints );
385 rbac_constraint_t *role_constraints );
H A Drbacuser.c50 userp->role_constraints = NULL; in rbac_alloc_user()
100 &userp->role_constraints, attr->a_nvals, NULL ); in rbac_read_user_cb()
622 if ( userp->role_constraints ) ber_bvarray_free( userp->role_constraints ); in rbac_free_user()
H A Dutil.c509 rbac_role2constraint( struct berval *role, rbac_constraint_t *role_constraints ) in rbac_role2constraint() argument
513 if ( !role_constraints || !role ) goto done; in rbac_role2constraint()
515 cp = role_constraints; in rbac_role2constraint()
H A Drbacperm.c82 rbac_constraint_t *role_constraints ) in rbac_check_session_permission() argument
94 cp = rbac_role2constraint( &permp->roles[j], role_constraints ); in rbac_check_session_permission()
H A Drbac.c1125 cp = rbac_user_role_constraints( sessp->role_constraints ); in rbac_check_access()
1331 cp = rbac_user_role_constraints( sessp->role_constraints ); in rbac_check_accessE()