]> git.sur5r.net Git - openldap/commitdiff
ITS#1467 passwd fix from Brad Thompson <brad@vecna.com>
authorKurt Zeilenga <kurt@openldap.org>
Wed, 28 Nov 2001 02:23:36 +0000 (02:23 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 28 Nov 2001 02:23:36 +0000 (02:23 +0000)
servers/slapd/back-passwd/search.c

index fe386246d9265ecb4982bc3e3c09d543ff5b4d50..1a9bf057ebf35ba977b6c8f152b4245bc746ba45 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.
                        */