From: Kurt Zeilenga Date: Tue, 4 Dec 2001 19:27:18 +0000 (+0000) Subject: Fix e_ndn bug from HEAD X-Git-Tag: OPENLDAP_REL_ENG_2_0_19~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d35b37e0e881ef1c86188be2259de477d1ae351;p=thirdparty%2Fopenldap.git Fix e_ndn bug from HEAD --- diff --git a/servers/slapd/back-passwd/search.c b/servers/slapd/back-passwd/search.c index 4cc91c042a..6f5bcd50d2 100644 --- a/servers/slapd/back-passwd/search.c +++ b/servers/slapd/back-passwd/search.c @@ -85,6 +85,9 @@ passwd_back_search( e->e_attrs = NULL; e->e_dn = ch_strdup( base ); + e->e_ndn = ch_strdup( e->e_dn ); + (void) dn_normalize( e->e_ndn ); + /* Use the first attribute of the DN * as an attribute within the entry itself. */