Searched refs:ndn (Results 51 - 75 of 90) sorted by relevance

1234

/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-ldap/
H A Dchain.c442 ndn = ondn; local
499 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
558 op->o_req_ndn = ndn;
651 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx );
730 ndn = op->o_req_ndn; local
774 ndn = save_entry->e_nname;
780 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
833 op->o_req_ndn = ndn;
924 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx );
980 struct berval ndn local
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-relay/
H A Dop.c292 relay_back_entry_get_rw( Operation *op, struct berval *ndn, argument
301 rc = bd->be_fetch( op, ndn, oc, at, rw, e );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Dconn.c901 struct berval *ndn )
910 candidate = meta_back_select_unique_candidate( mi, ndn );
925 /* try to get a unique match for the request ndn
928 op2.o_req_dn = *ndn;
929 op2.o_req_ndn = *ndn;
959 ndn, op->o_tag == LDAP_REQ_SEARCH ? op->ors_scope : LDAP_SCOPE_BASE ) )
1095 struct berval ndn = op->o_req_ndn, local
1247 dnParent( &ndn, &pndn );
1386 i = meta_back_get_candidate( op, rs, &ndn );
1425 "==>meta_back_getconn: got target=%d for ndn
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-mdb/
H A Dproto-mdb.h85 struct berval *ndn,
121 struct berval *ndn,
H A Ddn2id.c569 char dn[SLAP_LDAPDN_MAXLEN], ndn[SLAP_LDAPDN_MAXLEN], *ptr; local
584 nptr = ndn;
599 if (nptr > ndn) {
611 nname->bv_len = nptr - ndn;
616 memcpy( nname->bv_val, ndn, nname->bv_len );
H A Did2entry.c593 struct berval *ndn,
607 "=> mdb_entry_get: ndn: \"%s\"\n", ndn->bv_val );
618 rc = mdb_dn2entry( op, txn, NULL, ndn, &e, NULL, 0 );
629 ndn->bv_val );
636 ndn->bv_val );
591 mdb_entry_get( Operation *op, struct berval *ndn, ObjectClass *oc, AttributeDescription *at, int rw, Entry **ent ) argument
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Dentry.c789 entry_decode_dn( EntryHeader *eh, struct berval *dn, struct berval *ndn )
794 assert( dn != NULL || ndn != NULL );
803 if ( ndn != NULL ) {
806 ndn->bv_val = (char *) ptr;
807 ndn->bv_len = i;
812 dn ? dn->bv_val : ndn->bv_val );
H A Dbackend.c768 be_isroot_dn( Backend *be, struct berval *ndn )
770 if ( BER_BVISEMPTY( ndn ) || BER_BVISEMPTY( &be->be_rootndn ) ) {
774 return dn_match( &be->be_rootndn, ndn );
795 be_isupdate_dn( Backend *be, struct berval *ndn )
797 if ( BER_BVISEMPTY( ndn ) || BER_BVISEMPTY( &be->be_update_ndn ) ) {
801 return dn_match( &be->be_update_ndn, ndn );
1435 struct berval *ndn,
1448 return op->o_bd->be_fetch( op, ndn, oc, at, rw, e );
1433 be_entry_get_rw( Operation *op, struct berval *ndn, ObjectClass *oc, AttributeDescription *at, int rw, Entry **e ) argument
H A Dbackglue.c401 struct berval dn, ndn, *pdn; local
463 ndn = op->o_req_ndn;
512 dn_match(pdn, &ndn))
526 op->o_req_ndn = ndn;
529 dn_match(&op->o_bd->be_nsuffix[0], &ndn))
534 dnIsSuffix(&op->o_bd->be_nsuffix[0], &ndn))
546 op->o_req_ndn = ndn;
548 } else if (dnIsSuffix(&ndn, &op->o_bd->be_nsuffix[0])) {
H A Dsyncrepl.c2232 #define REWRITE_DN(si, bv, bv2, dn, ndn) \
2236 rc = dnPrettyNormal( NULL, bv2.bv_val ? &bv2 : &bv, &dn, &ndn, op->o_tmpmemctx ); \
2907 struct berval bdn, dn = BER_BVNULL, ndn; local
2955 REWRITE_DN( si, bdn, bv2, dn, ndn );
2966 ber_dupbv( &op->o_req_ndn, &ndn );
2967 slap_sl_free( ndn.bv_val, op->o_tmpmemctx );
3231 struct berval bdn = BER_BVNULL, dn, ndn, bv2; local
3281 REWRITE_DN( si, bdn, bv2, dn, ndn );
3297 ber_dupbv( &op->o_req_ndn, &ndn );
3298 slap_sl_free( ndn
3449 struct berval bdn = BER_BVNULL, dn, ndn, bv2; local
3812 struct berval ndn; member in struct:dninfo
4756 struct berval ndn = BER_BVNULL; local
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/overlays/
H A Daccesslog.c624 BerVarray ndn; member in struct:purge_data
667 pd->ndn = ch_realloc( pd->ndn, pd->slots * sizeof( struct berval ));
670 ber_dupbv( &pd->ndn[pd->used], &rs->sr_entry->e_nname );
766 op->o_req_ndn = pd.ndn[i];
771 ch_free( pd.ndn[i].bv_val );
775 ch_free( pd.ndn );
1039 struct berval dn, ndn; local
1041 rc = dnNormalize( 0, NULL, NULL, &dn, &ndn, NULL );
1047 lb = ch_malloc( sizeof( log_base ) + mbv.bv_len + ndn
[all...]
H A Ddds.c957 struct berval *ndn,
972 if ( ndn ) {
973 BER_BVZERO( ndn );
1001 if ( ndn ) {
1011 rc = dnNormalize( 0, NULL, NULL, &dn, ndn, ctx );
1054 if ( ndn && !BER_BVISNULL( ndn ) ) {
1055 slap_sl_free( ndn->bv_val, ctx );
1056 BER_BVZERO( ndn );
955 slap_parse_refresh( struct berval *in, struct berval *ndn, time_t *ttl, const char **text, void *ctx ) argument
H A Drefint.c69 BerValue ndn; member in struct:dependents_s
469 ber_dupbv_x( &ip->ndn, &rs->sr_entry->e_nname, op->o_tmpmemctx );
640 op2.o_bd = select_backend( &dp->ndn, 1 );
650 op2.o_req_ndn = dp->ndn;
882 op->o_tmpfree( dp->ndn.bv_val, op->o_tmpmemctx );
H A Dtranslucent.c251 struct berval ndn = BER_BVNULL; local
257 ber_dupbv_x( &ndn, &pdn, op->o_tmpmemctx );
259 Debug(LDAP_DEBUG_TRACE, "=> glue_parent: fabricating glue for <%s>\n", ndn.bv_val );
263 ber_dupbv(&e->e_name, &ndn);
264 ber_dupbv(&e->e_nname, &ndn);
285 nop.o_req_dn = ndn;
286 nop.o_req_ndn = ndn;
293 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx );
H A Dautoca.c402 struct berval *ndn; member in struct:saveargs
457 op->o_req_ndn = *args->ndn;
886 arg2.ndn = &rs->sr_entry->e_nname;
1061 arg2.ndn = be->be_nsuffix;
H A Dpcache.c2211 struct berval *ndn,
2264 op->o_req_dn = *ndn;
2265 op->o_req_ndn = *ndn;
3342 struct berval ndn = op->o_req_ndn; local
3353 op->o_req_ndn = ndn;
4364 struct berval dn, ndn; local
4366 rc = dnNormalize( 0, NULL, NULL, &dn, &ndn, NULL );
4376 temp->bindbase = ndn;
5082 * - if ndn != NULL, it is set to the normalized DN in the request
5094 struct berval *ndn,
2208 pcache_remove_entry_queries_from_cache( Operation *op, cache_manager *cm, struct berval *ndn, struct berval *queryid ) argument
5091 pcache_parse_query_delete( struct berval *in, ber_tag_t *tagp, struct berval *ndn, struct berval *uuid, const char **text, void *ctx ) argument
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/slapi/
H A Dslapi_utils.c819 struct berval ndn; local
826 if ( slapi_int_dn_normalize( &bdn, &ndn ) != LDAP_SUCCESS ) {
830 return ndn.bv_val;
838 struct berval bdn, ndn; local
851 if ( dnNormalize( 0, NULL, NULL, &bdn, &ndn, NULL ) != LDAP_SUCCESS ) {
858 slapi_ch_free( (void **)&ndn.bv_val );
862 rc = dnIsSuffix( &ndn, &nsuffix );
864 slapi_ch_free( (void **)&ndn.bv_val );
957 struct berval ndn; local
965 ndn
[all...]
H A Dslapi_pblock.c848 pblock_set_dn( void *value, struct berval *dn, struct berval *ndn, void *memctx ) argument
856 if ( !BER_BVISNULL( ndn )) {
857 slap_sl_free( ndn->bv_val, memctx );
858 BER_BVZERO( ndn );
864 return dnPrettyNormal( NULL, &bv, dn, ndn, memctx );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-ndb/
H A Dndbio.cpp1552 struct berval *ndn,
1574 e.e_name = *ndn;
1585 e.e_name = *ndn;
1586 e.e_nname = *ndn;
1599 ber_dupbv( &(*ent)->e_name, ndn );
1600 ber_dupbv( &(*ent)->e_nname, ndn );
1642 struct berval dn, ndn; local
1649 dnParent( &NA->e->e_nname, &ndn );
1651 NA->e->e_nname = ndn;
1550 ndb_entry_get( Operation *op, struct berval *ndn, ObjectClass *oc, AttributeDescription *ad, int rw, Entry **ent ) argument
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/
H A Dconn.c459 struct berval *ndn )
468 candidate = asyncmeta_select_unique_candidate( mi, ndn );
543 struct berval ndn = op->o_req_ndn, local
586 dnParent( &ndn, &pndn );
701 i = asyncmeta_get_candidate( op, rs, &ndn );
738 "==>asyncmeta__getconn: got target=%d for ndn=\"%s\" from cache\n",
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-wt/
H A Did2entry.c224 struct berval *ndn,
222 wt_entry_get( Operation *op, struct berval *ndn, ObjectClass *oc, AttributeDescription *at, int rw, Entry **ent ) argument
/netbsd-current/external/bsd/openldap/dist/include/
H A Dslapi-plugin.h180 Slapi_DN *slapi_sdn_new_ndn_byval( const char *ndn );
182 Slapi_DN *slapi_sdn_new_ndn_byref( const char *ndn );
187 Slapi_DN *slapi_sdn_set_ndn_byval( Slapi_DN *sdn, const char *ndn );
188 Slapi_DN *slapi_sdn_set_ndn_byref( Slapi_DN *sdn, const char *ndn );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dproto-sql.h119 struct berval *ndn, backsql_entryID *id,
H A Dsearch.c1916 struct berval dn, pdn, ndn; local
1926 ret = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
1935 if ( bi->sql_baseObject && dn_match( &ndn, &bi->sql_baseObject->e_nname ) ) {
1958 c_id->eid_ndn = ndn;
1982 if ( !BER_BVISNULL( &ndn ) ) {
1983 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx );
2569 struct berval *ndn,
2596 ndn,
2567 backsql_entry_get( Operation *op, struct berval *ndn, ObjectClass *oc, AttributeDescription *at, int rw, Entry **ent ) argument
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/autogroup/
H A Dautogroup.c109 ** dn, ndn - the DN of the member to add
113 autogroup_add_member_to_group( Operation *op, BerValue *dn, BerValue *ndn, autogroup_entry_t *age ) argument
125 assert( ndn != NULL );
133 ber_dupbv( nvals, ndn );
228 ** dn,ndn - the DN to be deleted
230 ** If we pass a NULL dn and ndn, all members are deleted from the group.
233 autogroup_delete_member_from_group( Operation *op, BerValue *dn, BerValue *ndn, autogroup_entry_t *age ) argument
244 if ( dn == NULL || ndn == NULL ) {
259 ber_dupbv( nvals, ndn );
591 ** or to modify the group entry in the database (when modify == 1 and e = NULL and ndn !
598 autogroup_add_group( Operation *op, autogroup_info_t *agi, autogroup_def_t *agd, Entry *e, BerValue *ndn, int scan, int modify) argument
[all...]

Completed in 602 milliseconds

1234