Bug 510383 - Password Length Failures
Summary: Password Length Failures
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Partha Aji
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space09
TreeView+ depends on / blocked
 
Reported: 2009-07-08 21:14 UTC by Jonathan Steffan
Modified: 2010-05-05 14:56 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-05-05 14:56:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathan Steffan 2009-07-08 21:14:24 UTC
Description of problem:
HTML forms limiting password length and are not consistent across the interface.

1) Create user is maxlen 32
2) Change password is maxlen 20
3) Login is maxlen 32

Version-Release number of selected component (if applicable):
spacewalk-0.5.4-1.el5

How reproducible:
Always

Steps to Reproduce:
1. Create user with passlen > 32
2. Try to login via rhnpush
  
Actual results:
Password is truncated.

Expected results:
It works.

Additional info:

Comment 1 Partha Aji 2010-03-13 00:07:02 UTC
http://git.fedorahosted.org/git/spacewalk.git/?p=spacewalk.git;a=commit;h=bb6d939005e8fcc95111b0456096ae966c7b70c6

UI side of the changes have been fixed.. rhnpush aspect is yet to be checked.

Comment 2 Partha Aji 2010-03-15 23:07:44 UTC
Basic fix is to set the max password length based on 
'max_passwd_len' config entry (default = 32). So by setting this value the system administrator can choose to extend the max password length. Made the html forms use this value. So one should be able to set/login with a password length of 32 if thats what the max_passwd_len is set to.

Comment 4 Miroslav Suchý 2010-05-05 14:56:56 UTC
This bug has been fixed in Spacewalk 1.0.
Closing.


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