HomeSort by: relevance | last modified time | path
    Searched refs:pdn (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/external/bsd/openldap/dist/servers/slapd/
slapdn.c 56 pdn = BER_BVNULL, local
63 rc = dnPretty( NULL, &dn, &pdn, NULL );
71 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, NULL );
87 printf( "%s\n", pdn.bv_val );
99 ndn.bv_val, pdn.bv_val );
104 ch_free( pdn.bv_val );
delete.c 120 struct berval pdn = BER_BVNULL; local
204 dnParent( &op->o_req_ndn, &pdn );
205 op->o_req_dn = pdn;
206 op->o_req_ndn = pdn;
modrdn.c 237 struct berval pdn = BER_BVNULL; local
356 dnParent( &op->o_req_ndn, &pdn );
357 op->o_req_dn = pdn;
358 op->o_req_ndn = pdn;
dn.c 961 * note: "dn" and "pdn" can point to the same berval;
968 struct berval *pdn )
976 pdn->bv_val = dn->bv_val + dn->bv_len;
977 pdn->bv_len = 0;
985 pdn->bv_len = dn->bv_len - (p - dn->bv_val);
986 pdn->bv_val = p;
  /src/external/bsd/openldap/dist/servers/slapd/back-wt/
dn2entry.c 126 struct berval pdn; local
134 dnParent( ndn, &pdn );
135 rc = wt_dn2entry(be, wc, &pdn, &e);
146 struct berval pdn; local
154 dnParent( ndn, &pdn );
155 rc = wt_dn2entry(be, wc, &pdn, &e);
161 rc = wt_dn2aentry(be, wc, &pdn, &e);
cache.c 188 struct berval pdn = *ndn; local
211 dnParent( &pdn, &pdn );
214 cursor->set_key(cursor, pdn.bv_val, (int8_t)LDAP_SCOPE_ONE);
217 cursor->set_key(cursor, pdn.bv_val, (int8_t)LDAP_SCOPE_SUB);
219 cursor->set_key(cursor, pdn.bv_val, (int8_t)LDAP_SCOPE_CHILDREN);
222 }while(!be_issuffix( be, &pdn ));
delete.c 39 struct berval pdn = {0, NULL}; local
84 dnParent( &op->o_req_ndn, &pdn );
88 rc = wt_dn2entry(op->o_bd, wc, &pdn, &p);
101 if ( rc == WT_NOTFOUND && pdn.bv_len != 0 ) {
192 if ( pdn.bv_len != 0 ) {
367 if ( pdn.bv_len != 0 ) {
add.c 37 struct berval pdn; local
93 pdn = slap_empty_bv;
95 dnParent( &op->ora_e->e_nname, &pdn );
141 if ( !bvmatch( &pdn, &p->e_nname ) ) {
tools.c 233 struct berval pdn, npdn; local
249 dnParent( &dn, &pdn );
251 e->e_name = pdn;
  /src/external/bsd/openldap/dist/servers/slapd/overlays/
rwmdn.c 78 * massages "in" and prettifies it into "pdn"
80 * "pdn" may be untouched if no massaging occurred and its value was not null
86 struct berval *pdn )
97 if ( mdn.bv_val == in->bv_val && !BER_BVISNULL( pdn ) ) {
101 rc = dnPretty( NULL, &mdn, pdn, NULL );
111 * massages "in" and prettifies and normalizes it into "pdn" and "ndn"
113 * "pdn" may be untouched if no massaging occurred and its value was not null;
116 * with the normalized value of "pdn", much like ndn = dnNormalize( pdn )
122 struct berval *pdn,
    [all...]
rwm.h 100 int rwm_dn_massage_pretty( dncookie *dc, struct berval *in, struct berval *pdn );
102 int rwm_dn_massage_pretty_normalize( dncookie *dc, struct berval *in, struct berval *pdn, struct berval *ndn );
rwmmap.c 1258 struct berval pdn, ndn = BER_BVNULL; local
1261 pdn = a_vals[i];
1262 rc = rwm_dn_massage_pretty_normalize( dc, &a_vals[i], &pdn, &ndn );
1284 if ( !BER_BVISNULL( &pdn ) && a_vals[i].bv_val != pdn.bv_val ) {
1286 a_vals[i] = pdn;
  /src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/
pguid.c 55 struct berval pdn, pndn; local
65 dnParent( &op->o_req_dn, &pdn );
71 op->o_log_prefix, pdn.bv_val, rc );
78 op->o_log_prefix, pdn.bv_val, rc );
223 struct berval pdn, pndn; local
239 dnParent( &rs->sr_entry->e_name, &pdn );
245 op->o_log_prefix, pdn.bv_val, rc );
252 op->o_log_prefix, pdn.bv_val, rc );
  /src/external/bsd/openldap/dist/servers/slapd/back-mdb/
delete.c 34 struct berval pdn = {0, NULL}; local
87 dnParent( &op->o_req_ndn, &pdn );
90 rs->sr_err = mdb_dn2entry( op, txn, mc, &pdn, &p, NULL, 1 );
174 if ( pdn.bv_len != 0 ) {
347 if ( pdn.bv_len != 0 ) {
add.c 33 struct berval pdn; local
104 pdn = slap_empty_bv;
106 dnParent( &op->ora_e->e_nname, &pdn );
141 if ( !bvmatch( &pdn, &p->e_nname ) ) {
search.c 1002 struct berval pdn, pndn; local
1008 pdn = base->e_name;
1011 mdb_id2name( op, ltid, &isc.mc, scopes[isc.nscope].mid, &pdn, &pndn );
1013 e->e_name.bv_len = pdn.bv_len;
1045 if (pdn.bv_len) {
1046 memcpy(d, pdn.bv_val, pdn.bv_len+1);
1056 op->o_tmpfree(pdn.bv_val, op->o_tmpmemctx);
  /src/external/bsd/openldap/dist/servers/slapd/back-sql/
modrdn.c 48 struct berval pdn = BER_BVNULL, pndn = BER_BVNULL, local
145 dnParent( &op->o_req_dn, &pdn );
151 if ( BER_BVISEMPTY( &pdn ) ) {
243 new_pdn = &pdn;
entry-id.c 334 struct berval pdn = *ndn; local
340 while ( !be_issuffix( op->o_bd, &pdn ) ) {
343 dnParent( &pdn, &pdn );
348 rs->sr_err = backsql_dn2id( op, rs, dbh, &pdn, id, 0, 1 );
355 matchedDN = pdn.bv_val;
delete.c 411 struct berval pdn = BER_BVNULL; local
531 dnParent( &op->o_req_ndn, &pdn );
533 rs->sr_err = backsql_init_search( &bsi, &pdn,
  /src/external/bsd/openldap/dist/servers/slapd/back-monitor/
entry.c 178 struct berval *pdn,
208 build_new_dn( &e->e_name, pdn, rdn, NULL );
init.c 488 struct berval pdn = BER_BVNULL; local
502 dnParent( &e->e_nname, &pdn );
503 if ( monitor_cache_get( mi, &pdn, &e_parent ) != 0 ) {
508 e->e_name.bv_val, pdn.bv_val );
2126 pdn, local
2155 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, NULL );
2163 ber_bvarray_add( &be->be_suffix, &pdn );
2185 pdn.bv_val, type, be2->be_nsuffix[ 0 ].bv_val );
back-monitor.h 320 Entry * (*entry_stub)( struct berval *pdn,
proto-back-monitor.h 134 struct berval *pdn,
  /src/external/bsd/openldap/dist/servers/slapd/back-ldap/
chain.c 441 pdn = odn, local
499 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
557 op->o_req_dn = pdn;
644 if ( op->o_req_dn.bv_val == pdn.bv_val ) {
650 op->o_tmpfree( pdn.bv_val, op->o_tmpmemctx );
729 pdn = op->o_req_dn, local
773 pdn = save_entry->e_name;
780 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
832 op->o_req_dn = pdn;
917 if ( op->o_req_dn.bv_val == pdn.bv_val )
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/slapi/
slapi_pblock.c 1028 struct berval pdn, pndn; local
1030 pdn = *pb->pb_op->orr_newSup;
1033 dnParent( &pb->pb_op->o_req_dn, &pdn );
1036 build_new_dn( &pb->pb_op->orr_newDN, &pdn, &pb->pb_op->orr_newrdn, pb->pb_op->o_tmpmemctx );
1048 struct berval pdn, pndn; local
1059 dnParent( &pb->pb_op->o_req_dn, &pdn );
1060 build_new_dn( &pb->pb_op->orr_newDN, &pdn, &pb->pb_op->orr_newrdn, pb->pb_op->o_tmpmemctx );

Completed in 26 milliseconds

1 2