Bug 1384605

Summary: Password field on login page is only 32 chars long
Product: [Community] Spacewalk Reporter: Francesco Ciocchetti <primeroznl>
Component: WebUIAssignee: Grant Gainey <ggainey>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.5CC: primeroznl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-03 18:56:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot of inspected HTML none

Description Francesco Ciocchetti 2016-10-13 16:18:13 UTC
Created attachment 1210201 [details]
Screenshot of inspected HTML

Description of problem:
The maximum length for a password in the Login page is 32 characters . When using PAM Backend , to LDAP or any other, it is possible to have a password longer than that , mine is 42 , that makes it impossible to authenticate. 

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

How reproducible:
Always

Steps to Reproduce:
1. Enable PAM for LDAP Authentication
2. Have a password longer than 32 chars
3. Try to login

Actual results:
Login Fail

Expected results:
Login Succed

Additional info:
Screenshot of inspected HTML attached , live changing the maximum length to 50 makes the login work as expected

Comment 1 Francesco Ciocchetti 2016-10-14 12:23:42 UTC
as it turns out this can be set in rhn.conf

https://www.redhat.com/archives/spacewalk-list/2011-May/msg00147.html

Comment 2 Grant Gainey 2017-10-03 18:56:38 UTC
As noted in #c1, this is controlled by site-configuration. Closing as notabug