Lines Matching refs:rbac
1 /* $NetBSD: rbac.c,v 1.2 2021/08/14 16:14:53 christos Exp $ */
3 /* rbac.c - RBAC main file */
22 __RCSID("$NetBSD: rbac.c,v 1.2 2021/08/14 16:14:53 christos Exp $");
34 #include "rbac.h"
38 static slap_overinst rbac;
63 { "rbac-default-users-base-dn", "usersDN", 2, 2, 0,
72 { "rbac-default-roles-base-dn", "rolesDN", 2, 2, 0,
81 { "rbac-default-permissions-base-dn", "permissionsDN", 2, 2, 0,
90 { "rbac-default-sessions-base-dn", "sessionsDN", 2, 2, 0,
99 { "rbac-admin", "adminDN", 2, 2, 0,
108 { "rbac-pwd", "adminPwd", 2, 2, 0,
117 { "rbac-session-admin", "sessionAdminDN", 2, 2, 0,
126 { "rbac-session-admin-pwd", "sessionAdminPwd", 2, 2, 0,
142 { "rbac-default-audit-base-dn", "auditDN", 2, 2, 0,
151 { "rbac-default-tenant-id", "tenantId", 2, 2, 0,
306 * rbac configuration
1127 // Now do the actual rbac checkAccess:
1333 // Now do the actual rbac checkAccess:
2143 rbac.on_bi.bi_type = "rbac";
2144 rbac.on_bi.bi_db_init = rbac_db_init;
2145 rbac.on_bi.bi_db_open = rbac_db_open;
2146 rbac.on_bi.bi_db_close = rbac_db_close;
2148 rbac.on_bi.bi_op_add = rbac_add;
2149 rbac.on_bi.bi_op_bind = rbac_bind;
2150 rbac.on_bi.bi_op_compare = rbac_compare;
2151 rbac.on_bi.bi_op_delete = rbac_delete;
2152 rbac.on_bi.bi_op_modify = rbac_modify;
2153 rbac.on_bi.bi_op_search = rbac_search;
2154 rbac.on_bi.bi_extended = rbac_extended;
2155 rbac.on_bi.bi_cf_ocs = rbac_ocs;
2157 /* rbac.on_bi.bi_connection_destroy = rbac_connection_destroy; */
2167 return overlay_register( &rbac );