Bug 155379 - error message in validate_user_password seems incorrect
error message in validate_user_password seems incorrect
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Backend (Show other bugs)
RHN Stable
All Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Beth Nackashi
: 151328 157375 (view as bug list)
Depends On:
Blocks: 147875 155572 156320
  Show dependency treegraph
Reported: 2005-04-19 14:19 EDT by Adrian Likins
Modified: 2007-04-18 13:24 EDT (History)
4 users (show)

See Also:
Fixed In Version: RHN 4.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-31 22:55:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Adrian Likins 2005-04-19 14:19:16 EDT
Description of problem:
as per #151328:


either the error message is wrong, or the regex/logic is wrong. I'm
not entirely sure what the intended behaviour is. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Adrian Likins 2005-05-13 14:01:50 EDT
Comment 2 Mihai Ibanescu 2005-05-17 10:35:00 EDT
Should be fixed in rhns-4.0.0-53 and newer.

Test case: see bug 151328
Essentially, try to put a * in your password. Should work. 
Try to put a * at the beginning of the password. Should work.
Try to use only * chars. Should fail.
Comment 3 Adrian Likins 2005-05-17 14:38:15 EDT
*** Bug 157375 has been marked as a duplicate of this bug. ***
Comment 4 Adrian Likins 2005-05-17 14:42:40 EDT
*** Bug 151328 has been marked as a duplicate of this bug. ***
Comment 5 Debbie McGrath 2005-06-08 10:28:30 EDT
This bug is considered CanFix for RHEL 3 U6 by RHN Engineering.
Comment 6 Mihai Ibanescu 2005-06-13 14:09:42 EDT
Mass move to ON_QA
Comment 7 Debbie McGrath 2005-06-21 17:31:20 EDT
Dev & PM ACKs for U6
Comment 8 Beth Nackashi 2005-06-28 17:12:11 EDT
6/28/2005 -- bnackash

1- Using the web UI to create a new user, I was able to successfully choose a
password of "*******" and log in as the new user.  Bug 151328 states that the
web UI does allow all asterisks for the password, but I'm not sure if that's a
feature or a bug.  If feature, then disregard this comment.

2- Using the web UI, I was able to successfully change my RHN password to
*********** or something of that ilk.  (At least the web UI indicated my
information had been updated.)  And now I can't remember how many ********s I
used and locked myself out of RHN :(  Again, not sure if this is a feature or a bug.

3- There's a small typo in the error message:  "password can not be all
asterisks" should say "password cannot be all asterisks".

Other comments from Beth:  Using up2date --register (up2date-, I was
unable to enter a password with all asterisks.  I was able to enter a password
with one or more asterisks.  This is correct behavior.

Comment 9 Adrian Likins 2005-07-11 12:58:58 EDT
#3 from comment #8 fixed in svn

rest is pending discussion on whats the correct behaviour
Comment 10 Adrian Likins 2005-07-11 16:19:20 EDT
Seems we decided client is doing the right thing, so moving this to ON_QA
Comment 12 Beth Nackashi 2005-07-13 10:38:47 EDT
up2date-4.4.30-3 still says "password can not be all asterisks"

Which up2date fixes this?
Comment 13 Adrian Likins 2005-07-14 15:39:35 EDT
re comment #12

It's a server side change, not a client side change, so fix should
appear for next QA push.
Comment 14 Beth Nackashi 2005-07-17 19:37:29 EDT
Do you mean the fix should have made it into Thursday's (7/14) QA push?  Because
it didn't.
Comment 15 Adrian Likins 2005-07-20 13:05:33 EDT
doh, never actually committed it. Next QA push.
Comment 16 Beth Nackashi 2005-07-26 10:35:55 EDT
verified fix

Note You need to log in before you can comment on or make changes to this bug.