From: Kurt Zeilenga Date: Wed, 28 Nov 2001 02:23:36 +0000 (+0000) Subject: ITS#1467 passwd fix from Brad Thompson X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~819 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db12d4197850d8a9a7276f31f66344e05ce49147;p=openldap ITS#1467 passwd fix from Brad Thompson --- diff --git a/servers/slapd/back-passwd/search.c b/servers/slapd/back-passwd/search.c index fe386246d9..1a9bf057eb 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. */