From: Howard Chu Date: Fri, 4 Apr 2003 02:05:49 +0000 (+0000) Subject: Fix req DN massaging X-Git-Tag: AUTOCONF_2_57~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=604ba59196dedc49ef5247729e0097a0c766fe8a;p=openldap Fix req DN massaging --- diff --git a/servers/slapd/back-ldap/add.c b/servers/slapd/back-ldap/add.c index 24b3ad9226..f6fa13cae6 100644 --- a/servers/slapd/back-ldap/add.c +++ b/servers/slapd/back-ldap/add.c @@ -80,7 +80,7 @@ ldap_back_add( if ( mdn.bv_val != NULL && mdn.bv_val[ 0 ] != '\0' ) { mdn.bv_len = strlen( mdn.bv_val ); } else { - mdn = op->o_req_ndn; + mdn = op->o_req_dn; } #ifdef NEW_LOGGING LDAP_LOG( BACK_LDAP, DETAIL1, @@ -102,7 +102,7 @@ ldap_back_add( return( -1 ); } #else /* !ENABLE_REWRITE */ - ldap_back_dn_massage( li, &op->o_req_ndn, &mdn, 0, 1 ); + ldap_back_dn_massage( li, &op->o_req_dn, &mdn, 0, 1 ); #endif /* !ENABLE_REWRITE */ /* Count number of attributes in entry */