Lines Matching defs:dn

1160 	struct berval *dn,
1178 dn->bv_val[dn->bv_len] = '\0';
1180 si->si_ridtxt, csn->bv_val, dn->bv_val );
2209 struct berval *dn,
2215 nul = dn->bv_val[dn->bv_len];
2216 dn->bv_val[dn->bv_len] = 0;
2217 rc = rewrite( si->si_rewrite, SUFFIXM_CTX, dn->bv_val, &sdn->bv_val );
2218 dn->bv_val[dn->bv_len] = nul;
2220 if ( sdn->bv_val == dn->bv_val )
2232 #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;
2933 "syncrepl_message_to_op: %s dn get failed (%d)",
2943 "syncrepl_message_to_op: %s got empty dn",
2955 REWRITE_DN( si, bdn, bv2, dn, ndn );
2959 "dn \"%s\" normalization failed (%d)",
2965 ber_dupbv( &op->o_req_dn, &dn );
2968 slap_sl_free( dn.bv_val, op->o_tmpmemctx );
3035 if ( op->o_tag == LBER_DEFAULT || BER_BVISNULL( &dn ) ) {
3231 struct berval bdn = BER_BVNULL, dn, ndn, bv2;
3248 "syncrepl_message_to_entry: %s dn get failed (%d)",
3255 "syncrepl_message_to_entry: %s got empty dn",
3281 REWRITE_DN( si, bdn, bv2, dn, ndn );
3291 "%s dn \"%s\" normalization failed (%d)",
3296 ber_dupbv( &op->o_req_dn, &dn );
3299 slap_sl_free( dn.bv_val, op->o_tmpmemctx );
3449 struct berval bdn = BER_BVNULL, dn, ndn, bv2;
3465 "syncrepl_dirsync_message: %s dn get failed (%d)\n",
3472 "syncrepl_dirsync_message: %s got empty dn\n",
3590 REWRITE_DN( si, bdn, bv2, dn, ndn );
3600 "%s dn \"%s\" normalization failed (%d)",
3605 ber_dupbv( &op->o_req_dn, &dn );
3608 slap_sl_free( dn.bv_val, op->o_tmpmemctx );
3811 struct berval dn;
4055 si->si_ridtxt, dni.dn.bv_val ? dni.dn.bv_val : "(null)" );
4087 if ( BER_BVISNULL( &dni.dn ) ) {
4190 op->o_req_dn = dni.dn;
4441 if ( !BER_BVISNULL( &dni.dn ) ) {
4443 op->o_req_dn = dni.dn;
4490 if ( !BER_BVISNULL( &dni.dn ) ) {
4491 op->o_tmpfree( dni.dn.bv_val, op->o_tmpmemctx );
4755 struct berval dn = BER_BVNULL;
4766 dn = e->e_name;
4784 ptr = dn;
4796 dn.bv_len -= ptr.bv_len + ( suffrdns != 0 );
4797 dn.bv_val += ptr.bv_len + ( suffrdns != 0 );
4818 ber_dupbv( &glue->e_name, &dn );
4869 dn.bv_val = ++comma;
4870 dn.bv_len = e->e_name.bv_len - (dn.bv_val - e->e_name.bv_val);
5464 if ( !BER_BVISNULL( &dni->dn ) ) {
5469 ber_dupbv_x( &dni->dn, &rs->sr_entry->e_name, op->o_tmpmemctx );
5643 "%s %spresent UUID %s, dn %s\n",