]> git.sur5r.net Git - openldap/commitdiff
Fix typo
authorKurt Zeilenga <kurt@openldap.org>
Tue, 25 Dec 2001 19:53:59 +0000 (19:53 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 25 Dec 2001 19:53:59 +0000 (19:53 +0000)
servers/slapd/back-passwd/search.c

index 1595547817b22edf4b25718c1bb9432e59831be0..295bdbbac624394b3fbadbe7c6f50bf3dc4e3d12 100644 (file)
@@ -297,8 +297,9 @@ pw2entry( Backend *be, struct passwd *pw, char *rdn )
        e->e_name.bv_val = ch_strdup( buf );
        e->e_name.bv_len = strlen( e->e_name.bv_val );
 
+       /* FIXME: use dnNormalize() !! */
        e->e_nname.bv_val = ch_strdup( buf );
-       (void) dn_normalize( e->e_nname );
+       (void) dn_normalize( e->e_nname.bv_val );
        e->e_nname.bv_len = strlen( e->e_name.bv_val );
 
        val.bv_val = pw->pw_name;