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

12

/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/
H A Dslapdn.c51 pdn = BER_BVNULL, local
58 rc = dnPretty( NULL, &dn, &pdn, NULL );
66 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, NULL );
82 printf( "%s\n", pdn.bv_val );
94 ndn.bv_val, pdn.bv_val );
99 ch_free( pdn.bv_val );
H A Ddelete.c113 struct berval pdn = BER_BVNULL; local
192 dnParent( &op->o_req_ndn, &pdn );
193 op->o_req_dn = pdn;
194 op->o_req_ndn = pdn;
H A Dmodrdn.c217 struct berval dest_ndn = BER_BVNULL, dest_pndn, pdn = BER_BVNULL; local
338 dnParent( &op->o_req_ndn, &pdn );
339 op->o_req_dn = pdn;
340 op->o_req_ndn = pdn;
H A Ddn.c952 * note: "dn" and "pdn" can point to the same berval;
959 struct berval *pdn )
967 pdn->bv_val = dn->bv_val + dn->bv_len;
968 pdn->bv_len = 0;
976 pdn->bv_len = dn->bv_len - (p - dn->bv_val);
977 pdn->bv_val = p;
H A Dbackglue.c399 struct berval dn, ndn, *pdn; local
470 pdn = &gi->gi_pdn;
473 pdn = &gi->gi_n[i].gn_pdn;
510 dn_match(pdn, &ndn))
760 struct berval pdn; local
762 dnParent( &gi->gi_n[i].gn_be->be_nsuffix[0], &pdn );
763 bd = select_backend( &pdn, 0 );
H A Dbconfig.c2937 struct berval pdn, ndn; local
3031 pdn = c->value_dn;
3042 free(pdn.bv_val);
3060 c->argv[0], pdn.bv_val, type );
3063 free(pdn.bv_val);
3068 if(pdn.bv_len == 0 && default_search_nbase.bv_len) {
3073 ber_bvarray_add(&c->be->be_suffix, &pdn);
4026 struct berval pdn; local
4061 dnParent( &rs->sr_entry->e_nname, &pdn );
4067 dn_match( &config_rdn, &pdn ) )
5015 struct berval pdn; local
6541 struct berval pdn; local
7319 struct berval rdn, pdn, ndn; local
7342 struct berval pdn; local
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/overlays/
H A Drwmdn.c73 * massages "in" and prettifies it into "pdn"
75 * "pdn" may be untouched if no massaging occurred and its value was not null
81 struct berval *pdn )
92 if ( mdn.bv_val == in->bv_val && !BER_BVISNULL( pdn ) ) {
96 rc = dnPretty( NULL, &mdn, pdn, NULL );
106 * massages "in" and prettifies and normalizes it into "pdn" and "ndn"
108 * "pdn" may be untouched if no massaging occurred and its value was not null;
111 * with the normaized value of "pdn", much like ndn = dnNormalize( pdn )
117 struct berval *pdn,
114 rwm_dn_massage_pretty_normalize( dncookie *dc, struct berval *in, struct berval *pdn, struct berval *ndn ) argument
[all...]
H A Drwm.h102 int rwm_dn_massage_pretty( dncookie *dc, struct berval *in, struct berval *pdn );
104 int rwm_dn_massage_pretty_normalize( dncookie *dc, struct berval *in, struct berval *pdn, struct berval *ndn );
H A Drefint.c849 BerValue pdn; local
904 pdn = *op->oq_modrdn.rs_newSup;
906 dnParent( &op->o_req_dn, &pdn );
908 build_new_dn( &rq->newdn, &pdn, &op->orr_newrdn, NULL );
910 pdn = *op->oq_modrdn.rs_nnewSup;
912 dnParent( &op->o_req_ndn, &pdn );
914 build_new_dn( &rq->newndn, &pdn, &op->orr_nnewrdn, NULL );
H A Dconstraint.c728 struct berval pdn; local
734 dnParent( &e->e_nname, &pdn );
737 && pdn.bv_len != c->restrict_ndn.bv_len )
980 struct berval pdn, ndn = BER_BVNULL; local
983 pdn = *op->orr_nnewSup;
986 dnParent( &target_entry_copy->e_nname, &pdn );
989 build_new_dn( &ndn, &pdn, &op->orr_nnewrdn, NULL );
H A Drwmmap.c1250 struct berval pdn, ndn = BER_BVNULL; local
1253 pdn = a_vals[i];
1254 rc = rwm_dn_massage_pretty_normalize( dc, &a_vals[i], &pdn, &ndn );
1276 if ( !BER_BVISNULL( &pdn ) && a_vals[i].bv_val != pdn.bv_val ) {
1278 a_vals[i] = pdn;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/samba4/
H A Dpguid.c50 struct berval pdn, pndn; local
60 dnParent( &op->o_req_dn, &pdn );
66 op->o_log_prefix, pdn.bv_val, rc );
73 op->o_log_prefix, pdn.bv_val, rc );
218 struct berval pdn, pndn; local
234 dnParent( &rs->sr_entry->e_name, &pdn );
240 op->o_log_prefix, pdn.bv_val, rc );
247 op->o_log_prefix, pdn.bv_val, rc );
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-bdb/
H A Ddn2id.c40 struct berval ptr, pdn; local
91 dnParent( &ptr, &pdn );
93 key.size = pdn.bv_len + 2;
95 pdn.bv_val[-1] = DN_ONE_PREFIX;
96 key.data = pdn.bv_val-1;
97 ptr = pdn;
128 dnParent( &ptr, &pdn );
130 key.size = pdn.bv_len + 2;
132 key.data = pdn.bv_val - 1;
133 ptr = pdn;
154 struct berval pdn, ptr; local
[all...]
H A Dadd.c28 struct berval pdn; local
173 pdn = slap_empty_bv;
175 dnParent( &op->ora_e->e_nname, &pdn );
203 if ( !bvmatch( &pdn, &p->e_nname ) ) {
473 if (pdn.bv_len) {
475 nrdn.bv_len = pdn.bv_val - op->ora_e->e_nname.bv_val - 1;
H A Ddelete.c30 struct berval pdn = {0, NULL}; local
163 dnParent( &op->o_req_ndn, &pdn );
232 if ( pdn.bv_len != 0 ) {
233 if( p == NULL || !bvmatch( &pdn, &p->e_nname )) {
470 if ( pdn.bv_len != 0 ) {
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-sql/
H A Dmodrdn.c43 struct berval pdn = BER_BVNULL, pndn = BER_BVNULL, local
143 dnParent( &op->o_req_dn, &pdn );
149 if ( BER_BVISEMPTY( &pdn ) ) {
243 new_pdn = &pdn;
H A Dentry-id.c334 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;
H A Ddelete.c411 struct berval pdn = BER_BVNULL; local
534 dnParent( &op->o_req_ndn, &pdn );
536 rs->sr_err = backsql_init_search( &bsi, &pdn,
H A Dadd.c918 struct berval pdn; local
1112 pdn = slap_empty_bv;
1115 dnParent( &op->ora_e->e_nname, &pdn );
1121 rs->sr_err = backsql_init_search( &bsi, &pdn,
1129 pdn.bv_val,
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-monitor/
H A Dentry.c173 struct berval *pdn,
201 build_new_dn( &e->e_name, pdn, rdn, NULL );
172 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.c441 struct berval pdn = BER_BVNULL; local
456 dnParent( &e->e_nname, &pdn );
457 if ( monitor_cache_get( mi, &pdn, &e_parent ) != 0 ) {
462 e->e_name.bv_val, pdn.bv_val, 0 );
2091 pdn, local
2120 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, NULL );
2128 ber_bvarray_add( &be->be_suffix, &pdn );
2150 pdn.bv_val, type, be2->be_nsuffix[ 0 ].bv_val );
H A Dproto-back-monitor.h132 struct berval *pdn,
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-ldif/
H A Dldif.c627 * pdn and pndn are the parent's DN and normalized DN, or both NULL.
634 struct berval *pdn,
664 if ( pdn == NULL || BER_BVISEMPTY( pdn ) )
668 build_new_dn( &entry->e_name, pdn, &rdn, NULL );
699 struct berval path, pdn, pndn; local
701 dnParent( &op->o_req_dn, &pdn );
708 rc = ldif_read_entry( op, path.bv_val, &pdn, &pndn, entryp, text );
1014 struct berval pdn, pndn; local
1019 dnParent( &op->o_req_dn, &pdn );
631 ldif_read_entry( Operation *op, const char *path, struct berval *pdn, struct berval *pndn, Entry **entryp, const char **text ) argument
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-ldap/
H A Dchain.c423 pdn = odn, local
481 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
539 op->o_req_dn = pdn;
627 op->o_tmpfree( pdn.bv_val, op->o_tmpmemctx );
709 pdn = op->o_req_dn, local
753 pdn = save_entry->e_name;
760 rc = dnPrettyNormal( NULL, &dn, &pdn, &ndn, op->o_tmpmemctx );
812 op->o_req_dn = pdn;
898 op->o_tmpfree( pdn.bv_val, op->o_tmpmemctx );
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/lastmod/
H A Dlastmod.c553 struct berval pdn; local
555 dnParent( &op->o_req_dn, &pdn );
556 build_new_dn( &bv_name, &pdn, &op->orr_newrdn, NULL );
558 dnParent( &op->o_req_ndn, &pdn );
559 build_new_dn( &bv_nname, &pdn, &op->orr_nnewrdn, NULL );

Completed in 311 milliseconds

12