Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 510383

Summary: Password Length Failures
Product: [Community] Spacewalk Reporter: Jonathan Steffan <jonathansteffan>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: cperry, jesusr, paji
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-05 14:56:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 559281    

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.