]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix e_ndn bug from HEAD
authorKurt Zeilenga <kurt@openldap.org>
Tue, 4 Dec 2001 19:27:18 +0000 (19:27 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 4 Dec 2001 19:27:18 +0000 (19:27 +0000)
servers/slapd/back-passwd/search.c

index 4cc91c042a38874cd705cb328c403d93b75731b3..6f5bcd50d29d6a60dcc462a72b8322d0da4b1309 100644 (file)
@@ -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.
                        */