[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldappasswd only accept username in upper cases (ITS#1060)



Fixed in HEAD and OPENLDAP_REL_ENG_2.  Please test.  Thanks.


At 03:32 AM 3/9/01 +0000, manabe@corvus.kek.jp wrote:
>Full_Name: Atsushi Manabe
>Version: 2.0.7
>OS: Linux RedHat 6.2
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (130.87.57.68)
>
>
>
>I found a small incompatibility in clients/tools/ldappasswd
>between 2.0.7 and 1.x.x .
>It is very trivial but people (including me :-) can
>be confused very much.
>
>The old version (1.x.x), you can type "user" DN including
>lower case characters in the ldappaswd operand.
>But in 2.0.7 you must type "user" in upper case characters.
>
>
>ldappasswd  [-A] [-a oldPasswd] [-C] [-D binddn] [-d debu-
>       glevel] [-H ldapuri] [-h ldaphost] [-n] [-p ldapport] [-S]
>       [-s newPasswd]  [-v] [-W] [-w passwd] [-O security-proper-
>       ties] [-I] [-Q] [-U username] [-x] [-X authzid]  [-Y mech]
>       [-Z[Z]] [user]
>               ^^^^^^
>        
>For example, under tests/scripts/test010-passwd situation.
>(omitted port and host operands)
>
>ldappasswd -S -W -D "cn=Manager, o=University of Michigan, c=US" \
>    "cn=sha,o=University of Michigan, c=US"
>
>does not work (was worked with OPENLDAP 1.x.x).
>
>instead,
>
>ldappasswd -S -W -D "cn=Manager, o=University of Michigan, c=US" \
>    "CN=SHA,O=UNIVERSITY OF MICHIGAN, C=US"
>
>works!
>
>It may be caused by rewritten code using
>ldap_extended_operation() with RFC3062,
>but ldappasswd does not change case by itself.
>
>I hope the next version will fix it.
>
>A.Manabe KEK,Japan