Searched refs:pdn (Results 1 - 25 of 39) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/
H A Dslapdn.c53 pdn = BER_BVNULL, local
60 rc = dnPretty( NULL, &dn, &pdn, NULL );
68 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, NULL );
84 printf( "%s\n", pdn.bv_val );
96 ndn.bv_val, pdn.bv_val );
101 ch_free( pdn.bv_val );
H A Ddelete.c115 struct berval pdn = BER_BVNULL; local
194 dnParent( &op->o_req_ndn, &pdn );
195 op->o_req_dn = pdn;
196 op->o_req_ndn = pdn;
H A Dmodrdn.c219 struct berval dest_ndn = BER_BVNULL, dest_pndn, pdn = BER_BVNULL; local
340 dnParent( &op->o_req_ndn, &pdn );
341 op->o_req_dn = pdn;
342 op->o_req_ndn = pdn;
H A Ddn.c955 * note: "dn" and "pdn" can point to the same berval;
962 struct berval *pdn )
970 pdn->bv_val = dn->bv_val + dn->bv_len;
971 pdn->bv_len = 0;
979 pdn->bv_len = dn->bv_len - (p - dn->bv_val);
980 pdn->bv_val = p;
H A Dbackglue.c377 struct berval dn, ndn, *pdn; local
447 pdn = &gi->gi_pdn;
450 pdn = &gi->gi_n[i].gn_pdn;
487 dn_match(pdn, &ndn))
737 struct berval pdn; local
739 dnParent( &gi->gi_n[i].gn_be->be_nsuffix[0], &pdn );
740 bd = select_backend( &pdn, 0 );
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/overlays/
H A Drwmdn.c75 * massages "in" and prettifies it into "pdn"
77 * "pdn" may be untouched if no massaging occurred and its value was not null
83 struct berval *pdn )
94 if ( mdn.bv_val == in->bv_val && !BER_BVISNULL( pdn ) ) {
98 rc = dnPretty( NULL, &mdn, pdn, NULL );
108 * massages "in" and prettifies and normalizes it into "pdn" and "ndn"
110 * "pdn" may be untouched if no massaging occurred and its value was not null;
113 * with the normaized value of "pdn", much like ndn = dnNormalize( pdn )
119 struct berval *pdn,
116 rwm_dn_massage_pretty_normalize( dncookie *dc, struct berval *in, struct berval *pdn, struct berval *ndn ) argument
[all...]
H A Drwm.h104 int rwm_dn_massage_pretty( dncookie *dc, struct berval *in, struct berval *pdn );
106 int rwm_dn_massage_pretty_normalize( dncookie *dc, struct berval *in, struct berval *pdn, struct berval *ndn );
H A Drefint.c864 BerValue pdn; local
919 pdn = *op->oq_modrdn.rs_newSup;
921 dnParent( &op->o_req_dn, &pdn );
923 build_new_dn( &rq->newdn, &pdn, &op->orr_newrdn, NULL );
925 pdn = *op->oq_modrdn.rs_nnewSup;
927 dnParent( &op->o_req_ndn, &pdn );
929 build_new_dn( &rq->newndn, &pdn, &op->orr_nnewrdn, NULL );
H A Dconstraint.c717 struct berval pdn; local
723 dnParent( &e->e_nname, &pdn );
726 && pdn.bv_len != c->restrict_ndn.bv_len )
969 struct berval pdn, ndn = BER_BVNULL; local
972 pdn = *op->orr_nnewSup;
975 dnParent( &target_entry_copy->e_nname, &pdn );
978 build_new_dn( &ndn, &pdn, &op->orr_nnewrdn, NULL );
H A Drwmmap.c1221 struct berval pdn, ndn = BER_BVNULL; local
1224 pdn = a_vals[i];
1225 rc = rwm_dn_massage_pretty_normalize( dc, &a_vals[i], &pdn, &ndn );
1247 if ( !BER_BVISNULL( &pdn ) && a_vals[i].bv_val != pdn.bv_val ) {
1249 a_vals[i] = pdn;
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/samba4/
H A Dpguid.c52 struct berval pdn, pndn; local
62 dnParent( &op->o_req_dn, &pdn );
68 op->o_log_prefix, pdn.bv_val, rc );
75 op->o_log_prefix, pdn.bv_val, rc );
220 struct berval pdn, pndn; local
236 dnParent( &rs->sr_entry->e_name, &pdn );
242 op->o_log_prefix, pdn.bv_val, rc );
249 op->o_log_prefix, pdn.bv_val, rc );
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-bdb/
H A Dadd.c30 struct berval pdn; local
178 pdn = slap_empty_bv;
180 dnParent( &op->ora_e->e_nname, &pdn );
208 if ( !bvmatch( &pdn, &p->e_nname ) ) {
457 if (pdn.bv_len) {
459 nrdn.bv_len = pdn.bv_val - op->ora_e->e_nname.bv_val - 1;
H A Ddn2id.c68 struct berval ptr, pdn; local
119 dnParent( &ptr, &pdn );
121 key.size = pdn.bv_len + 2;
123 pdn.bv_val[-1] = DN_ONE_PREFIX;
124 key.data = pdn.bv_val-1;
125 ptr = pdn;
156 dnParent( &ptr, &pdn );
158 key.size = pdn.bv_len + 2;
160 key.data = pdn.bv_val - 1;
161 ptr = pdn;
183 struct berval pdn, ptr; local
[all...]
H A Ddelete.c32 struct berval pdn = {0, NULL}; local
165 dnParent( &op->o_req_ndn, &pdn );
234 if ( pdn.bv_len != 0 ) {
235 if( p == NULL || !bvmatch( &pdn, &p->e_nname )) {
472 if ( pdn.bv_len != 0 ) {
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-ndb/
H A Dadd.cpp41 struct berval pdn, pndn; local
82 pdn = slap_empty_bv;
85 dnParent( &op->ora_e->e_name, &pdn );
172 p.e_name = pdn;
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dmodrdn.c45 struct berval pdn = BER_BVNULL, pndn = BER_BVNULL, local
149 dnParent( &op->o_req_dn, &pdn );
155 if ( BER_BVISEMPTY( &pdn ) ) {
261 new_pdn = &pdn;
H A Dentry-id.c336 struct berval pdn = *ndn; local
342 while ( !be_issuffix( op->o_bd, &pdn ) ) {
345 dnParent( &pdn, &pdn );
350 rs->sr_err = backsql_dn2id( op, rs, dbh, &pdn, id, 0, 1 );
357 matchedDN = pdn.bv_val;
H A Ddelete.c413 struct berval pdn = BER_BVNULL; local
536 dnParent( &op->o_req_ndn, &pdn );
538 rs->sr_err = backsql_init_search( &bsi, &pdn,
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-monitor/
H A Dentry.c175 struct berval *pdn,
203 build_new_dn( &e->e_name, pdn, rdn, NULL );
174 monitor_entry_stub( struct berval *pdn, struct berval *pndn, struct berval *rdn, ObjectClass *oc, monitor_info_t *mi, struct berval *create, struct berval *modify ) argument
H A Dinit.c443 struct berval pdn = BER_BVNULL; local
458 dnParent( &e->e_nname, &pdn );
459 if ( monitor_cache_get( mi, &pdn, &e_parent ) != 0 ) {
464 e->e_name.bv_val, pdn.bv_val, 0 );
2100 pdn, local
2129 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, NULL );
2137 ber_bvarray_add( &be->be_suffix, &pdn );
2159 pdn.bv_val, type, be2->be_nsuffix[ 0 ].bv_val );
H A Dproto-back-monitor.h128 struct berval *pdn,
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-ldap/
H A Dchain.c425 pdn = BER_BVNULL, local
459 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
487 op->o_req_dn = pdn;
556 if ( !BER_BVISNULL( &pdn ) ) {
557 op->o_tmpfree( pdn.bv_val, op->o_tmpmemctx );
630 pdn = BER_BVNULL, local
647 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
672 op->o_req_dn = pdn;
742 if ( !BER_BVISNULL( &pdn ) ) {
743 op->o_tmpfree( pdn
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-ldif/
H A Dldif.c509 * pdn and pndn are the parent's DN and normalized DN, or both NULL.
516 struct berval *pdn,
546 if ( pdn == NULL || BER_BVISEMPTY( pdn ) )
550 build_new_dn( &entry->e_name, pdn, &rdn, NULL );
581 struct berval path, pdn, pndn; local
583 dnParent( &op->o_req_dn, &pdn );
590 rc = ldif_read_entry( op, path.bv_val, &pdn, &pndn, entryp, text );
891 struct berval pdn, pndn; local
896 dnParent( &op->o_req_dn, &pdn );
513 ldif_read_entry( Operation *op, const char *path, struct berval *pdn, struct berval *pndn, Entry **entryp, const char **text ) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/lastmod/
H A Dlastmod.c555 struct berval pdn; local
557 dnParent( &op->o_req_dn, &pdn );
558 build_new_dn( &bv_name, &pdn, &op->orr_newrdn, NULL );
560 dnParent( &op->o_req_ndn, &pdn );
561 build_new_dn( &bv_nname, &pdn, &op->orr_nnewrdn, NULL );
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/autogroup/
H A Dautogroup.c730 BerValue new_dn, new_ndn, pdn; local
743 pdn = *op->oq_modrdn.rs_newSup;
745 dnParent( &op->o_req_dn, &pdn );
747 build_new_dn( &new_dn, &pdn, &op->orr_newrdn, op->o_tmpmemctx );
750 pdn = *op->oq_modrdn.rs_nnewSup;
752 dnParent( &op->o_req_ndn, &pdn );
754 build_new_dn( &new_ndn, &pdn, &op->orr_nnewrdn, op->o_tmpmemctx );

Completed in 238 milliseconds

12