Home
last modified time | relevance | path

Searched refs:be_nsuffix (Results 1 – 25 of 44) sorted by relevance

12

/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dbackglue.c80 assert( gi->gi_n[i].gn_be->be_nsuffix != NULL ); in glue_back_select()
82 if (dnIsSuffix(dn, &gi->gi_n[i].gn_be->be_nsuffix[0])) { in glue_back_select()
275 assert( gi->gi_n[i].gn_be->be_nsuffix != NULL ); in glue_op_abandon()
479 if (!dnIsSuffix(&btmp->be_nsuffix[0], &b1->be_nsuffix[0])) in glue_op_search()
509 assert( op->o_bd->be_nsuffix != NULL ); in glue_op_search()
517 mndn = op->o_req_ndn = op->o_bd->be_nsuffix[0]; in glue_op_search()
529 dn_match(&op->o_bd->be_nsuffix[0], &ndn)) in glue_op_search()
534 dnIsSuffix(&op->o_bd->be_nsuffix[0], &ndn)) in glue_op_search()
538 mndn = op->o_req_ndn = op->o_bd->be_nsuffix[0]; in glue_op_search()
548 } else if (dnIsSuffix(&ndn, &op->o_bd->be_nsuffix[0])) { in glue_op_search()
[all …]
H A Dfrontend.c122 frontendDB->be_nsuffix = ch_calloc( 2, sizeof( struct berval ) ); in frontend_init()
123 ber_str2bv( "", 0, 1, &frontendDB->be_nsuffix[0] ); in frontend_init()
124 BER_BVZERO( &frontendDB->be_nsuffix[1] ); in frontend_init()
H A Dbackend.c473 ber_bvarray_free( bd->be_nsuffix ); in backend_destroy_one()
529 ber_bvarray_free( bd->be_nsuffix ); in backend_destroy()
688 if ( be->be_nsuffix == NULL || SLAP_DBHIDDEN( be ) || SLAP_DBDISABLED( be )) { in select_backend()
692 for ( j = 0; !BER_BVISNULL( &be->be_nsuffix[j] ); j++ ) in select_backend()
699 len = be->be_nsuffix[j].bv_len; in select_backend()
716 if ( strcmp( be->be_nsuffix[j].bv_val, in select_backend()
734 if ( be->be_nsuffix == NULL ) { in be_issuffix()
738 for ( i = 0; !BER_BVISNULL( &be->be_nsuffix[i] ); i++ ) { in be_issuffix()
739 if ( bvmatch( &be->be_nsuffix[i], bvsuffix ) ) { in be_issuffix()
754 if ( be->be_nsuffix == NULL ) { in be_issubordinate()
[all …]
H A Droot_dse.c258 || be->be_nsuffix == NULL ) { in root_dse_info()
268 &be->be_nsuffix[0] ) ) in root_dse_info()
277 & be->be_nsuffix[0] ) ) in root_dse_info()
H A Dslapcommon.c883 if ( be && be->be_nsuffix ) { in slap_tool_init()
884 ber_dupbv( &sub_ndn, be->be_nsuffix ); in slap_tool_init()
986 build_new_dn( &ctxdn, &be->be_nsuffix[0], in slap_tool_update_ctxcsn()
989 ctxdn = be->be_nsuffix[0]; in slap_tool_update_ctxcsn()
H A Daclparse.c203 dn = be->be_nsuffix[0]; in check_scope()
223 AC_MEMCPY( dnbuf, be->be_nsuffix[0].bv_val, in check_scope()
224 be->be_nsuffix[0].bv_len ); in check_scope()
225 dnbuf[be->be_nsuffix[0].bv_len] = '$'; in check_scope()
226 dnbuf[be->be_nsuffix[0].bv_len + 1] = '\0'; in check_scope()
239 while ( rebuflen > be->be_nsuffix[0].bv_len && rebuf[rebuflen - 1] == ')' ) { in check_scope()
242 if ( rebuflen == be->be_nsuffix[0].bv_len ) { in check_scope()
1900 if ( be->be_nsuffix == NULL ) { in parse_acl()
1905 } else if ( !BER_BVISNULL( &be->be_nsuffix[ 1 ] ) ) { in parse_acl()
H A Dctxcsn.c176 build_new_dn( &e->e_name, &be->be_nsuffix[0], in slap_create_context_csn_entry()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/
H A Dvernum.c173 if ( be->be_nsuffix == NULL ) { in vernum_db_init()
262 assert( !BER_BVISNULL( &be->be_nsuffix[ 0 ] ) ); in vernum_repair()
264 op->o_bd = select_backend( &be->be_nsuffix[ 0 ], 0 ); in vernum_repair()
266 assert( op->o_bd->be_nsuffix != NULL ); in vernum_repair()
269 op->o_req_ndn = op->o_bd->be_nsuffix[ 0 ]; in vernum_repair()
H A Drdnval.c392 if ( be->be_nsuffix == NULL ) { in rdnval_db_init()
492 assert( !BER_BVISNULL( &be->be_nsuffix[ 0 ] ) ); in rdnval_repair()
494 op->o_bd = select_backend( &be->be_nsuffix[ 0 ], 0 ); in rdnval_repair()
496 assert( op->o_bd->be_nsuffix != NULL ); in rdnval_repair()
499 op->o_req_ndn = op->o_bd->be_nsuffix[ 0 ]; in rdnval_repair()
H A Dpguid.c61 if ( dn_match( &op->o_req_ndn, &op->o_bd->be_nsuffix[0] ) ) { in pguid_op_add()
190 if ( be->be_nsuffix == NULL ) { in pguid_db_init()
303 op->o_bd = select_backend( &be->be_nsuffix[ 0 ], 0 ); in pguid_repair()
306 op->o_req_ndn = op->o_bd->be_nsuffix[ 0 ]; in pguid_repair()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/usn/
H A Dusn.c120 dn_match( &rs->sr_entry->e_nname, op->o_bd->be_nsuffix )) { in usn_operational()
188 rc = overlay_entry_get_ov( op, be->be_nsuffix, NULL, in usn_db_open()
264 op->o_req_ndn = op->o_bd->be_nsuffix[0]; in usn_db_close()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/
H A Dunique.c217 if ( be->be_nsuffix == NULL ) { in unique_new_domain_uri()
226 if ( !dnIsSuffix ( &uri->ndn, &be->be_nsuffix[0] ) ) { in unique_new_domain_uri()
230 be->be_nsuffix[0].bv_val ); in unique_new_domain_uri()
239 be->be_nsuffix[0].bv_val ); in unique_new_domain_uri()
455 if ( be->be_nsuffix == NULL ) { in unique_cf_base()
464 &be->be_nsuffix[0] ) ) { in unique_cf_base()
1174 &op->o_bd->be_nsuffix[0], in unique_add()
1316 &op->o_bd->be_nsuffix[0], in unique_modify()
1484 &op->o_bd->be_nsuffix[0], in unique_modrdn()
H A Dconstraint.c493 if (c->be->be_nsuffix == NULL) { in constraint_cf_gen()
501 for ( j = 0; !BER_BVISNULL(&c->be->be_nsuffix[j]); j++) { in constraint_cf_gen()
502 if (dnIsSuffix(&ndn, &c->be->be_nsuffix[j])) break; in constraint_cf_gen()
505 if (BER_BVISNULL(&c->be->be_nsuffix[j])) { in constraint_cf_gen()
649 nop.o_req_dn = nop.o_bd->be_nsuffix[0]; in constraint_violation()
650 nop.o_req_ndn = nop.o_bd->be_nsuffix[0]; in constraint_violation()
H A Daccesslog.c713 op->o_req_ndn = li->li_db->be_nsuffix[0]; in accesslog_purge()
751 op->o_req_ndn = li->li_db->be_nsuffix[0]; in accesslog_purge()
805 value_add_one( &c->rvalue_nvals, li->li_db->be_nsuffix ); in log_cf_gen()
1373 build_new_dn( &e->e_nname, li->li_db->be_nsuffix, &nrdn, NULL ); in accesslog_entry()
1972 op2.o_req_ndn = li->li_db->be_nsuffix[0]; in accesslog_response()
2226 && dn_match( &op->o_bd->be_nsuffix[0], &rs->sr_entry->e_nname ) ) in accesslog_operational()
2239 &li->li_db->be_nsuffix[0], 1 ); in accesslog_operational()
2311 rc = be_entry_get_rw( op, li->li_db->be_nsuffix, NULL, NULL, 0, &e ); in accesslog_db_root()
2366 ber_dupbv( &e->e_nname, li->li_db->be_nsuffix ); in accesslog_db_root()
2391 rc = be_entry_get_rw( op, op->o_bd->be_nsuffix, NULL, in accesslog_db_root()
[all …]
H A Dautoca.c702 if ( c->be->be_nsuffix == NULL ) { in autoca_cf()
710 if ( !dnIsSuffix( &c->value_ndn, c->be->be_nsuffix )) { in autoca_cf()
1012 rc = overlay_entry_get_ov( op, be->be_nsuffix, NULL, in autoca_db_open()
1061 arg2.ndn = be->be_nsuffix; in autoca_db_open()
H A Drefint.c366 if ( BER_BVISNULL( &be->be_nsuffix[0] )) in refint_open()
368 ber_dupbv( &id->dn, &be->be_nsuffix[0] ); in refint_open()
595 op->o_req_ndn = op->o_bd->be_nsuffix[ 0 ]; in refint_repair()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-relay/
H A Dinit.c90 if ( c->be->be_nsuffix == NULL ) { in relay_back_cf()
100 if ( !BER_BVISNULL( &c->be->be_nsuffix[ 1 ] ) ) { in relay_back_cf()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-monitor/
H A Ddatabase.c172 be->be_suffix, be->be_nsuffix ); in monitor_subsys_overlay_init_one()
256 be->be_suffix, be->be_nsuffix ); in monitor_subsys_database_init_one()
258 be->be_suffix, be->be_nsuffix ); in monitor_subsys_database_init_one()
267 BackendDB *sup_be = select_backend( &be->be_nsuffix[ 0 ], 1 ); in monitor_subsys_database_init_one()
276 sup_be->be_suffix, sup_be->be_nsuffix ); in monitor_subsys_database_init_one()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-mdb/
H A Ddn2id.c335 if ( op->o_bd->be_nsuffix[0].bv_len ) { in mdb_dn2id()
336 nrlen = tmp.bv_len - op->o_bd->be_nsuffix[0].bv_len; in mdb_dn2id()
338 tmp.bv_len = op->o_bd->be_nsuffix[0].bv_len; in mdb_dn2id()
419 if ( BER_BVISEMPTY( &op->o_bd->be_nsuffix[0] ) && !nid ) { in mdb_dn2id()
471 nrlen = tmp.bv_len - op->o_bd->be_nsuffix[0].bv_len; in mdb_dn2sups()
473 tmp.bv_len = op->o_bd->be_nsuffix[0].bv_len; in mdb_dn2sups()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-passwd/
H A Dsearch.c207 for( i=0; op->o_bd->be_nsuffix[i].bv_val != NULL; i++ ) { in passwd_back_search()
208 if( dnIsSuffix( &op->o_req_ndn, &op->o_bd->be_nsuffix[i] ) ) { in passwd_back_search()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/
H A Dconfig.c549 for ( j = 0; !BER_BVISNULL( &c->be->be_nsuffix[ j ] ); j++ ) { in asyncmeta_suffixm_config()
550 if ( dnIsSuffix( &nvnc, &c->be->be_nsuffix[ 0 ] ) ) { in asyncmeta_suffixm_config()
555 if ( BER_BVISNULL( &c->be->be_nsuffix[ j ] ) ) { in asyncmeta_suffixm_config()
1802 if ( c->be->be_nsuffix == NULL ) { in asyncmeta_back_cf_gen()
1972 for ( j = 0; !BER_BVISNULL( &c->be->be_nsuffix[ j ] ); j++ ) { in asyncmeta_back_cf_gen()
1973 if ( dnIsSuffix( &mt->mt_nsuffix, &c->be->be_nsuffix[ j ] ) ) { in asyncmeta_back_cf_gen()
1978 if ( BER_BVISNULL( &c->be->be_nsuffix[ j ] ) ) { in asyncmeta_back_cf_gen()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dinit.c630 assert( bd->be_nsuffix != NULL ); in backsql_db_open()
632 if ( BER_BVISNULL( &bd->be_nsuffix[ 1 ] ) ) { in backsql_db_open()
H A Dconfig.c484 if ( c->be->be_nsuffix == NULL ) { in sql_cf_gen()
607 bi->sql_baseObject->e_nname = be->be_nsuffix[0]; in read_baseObject()
H A Dsearch.c1528 assert( bd->be_nsuffix != NULL ); in backsql_srch_query()
1530 for ( i = 0; !BER_BVISNULL( &bd->be_nsuffix[ i ] ); i++ ) in backsql_srch_query()
1532 if ( dn_match( &bd->be_nsuffix[ i ], in backsql_srch_query()
2524 op2.o_bd = select_backend( &op->o_bd->be_nsuffix[0], 0 ); in backsql_search()
2529 ber_dupbv( &e->e_nname, op->o_bd->be_nsuffix ); in backsql_search()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Dconfig.c634 for ( j = 0; !BER_BVISNULL( &c->be->be_nsuffix[ j ] ); j++ ) { in meta_suffixm_config()
635 if ( dnIsSuffix( &nvnc, &c->be->be_nsuffix[ 0 ] ) ) { in meta_suffixm_config()
640 if ( BER_BVISNULL( &c->be->be_nsuffix[ j ] ) ) { in meta_suffixm_config()
1971 if ( c->be->be_nsuffix == NULL ) { in meta_back_cf_gen()
2141 for ( j = 0; !BER_BVISNULL( &c->be->be_nsuffix[ j ] ); j++ ) { in meta_back_cf_gen()
2142 if ( dnIsSuffix( &mt->mt_nsuffix, &c->be->be_nsuffix[ j ] ) ) { in meta_back_cf_gen()
2147 if ( BER_BVISNULL( &c->be->be_nsuffix[ j ] ) ) { in meta_back_cf_gen()

12