From: Kurt Zeilenga Date: Tue, 25 Dec 2001 19:53:59 +0000 (+0000) Subject: Fix typo X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~519 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dab28c8773f559bdf2c5cc0734f1d6018b3c5358;p=openldap Fix typo --- diff --git a/servers/slapd/back-passwd/search.c b/servers/slapd/back-passwd/search.c index 1595547817..295bdbbac6 100644 --- a/servers/slapd/back-passwd/search.c +++ b/servers/slapd/back-passwd/search.c @@ -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;