Bug 228734

Summary: registering system with PAM/LDAP user
Product: Red Hat Satellite 5 Reporter: David Huff <dhuff>
Component: ServerAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED WORKSFORME QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 420CC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-15 19:44:42 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:

Description David Huff 2007-02-14 18:34:21 UTC
Description of problem:
When trying to register a system to satellite with a user that uses PAM LDAP for
authentication rhn_reg and up2date --register fails.  

Version-Release number of selected component (if applicable):
I have experienced this behavior on both Sat 4.20 and 4.15.

How reproducible:
yes

Steps to Reproduce:
1.Configure the sat to use PAM LDAP AUTH: 
 -add pam_auth_service = rhn-satellite to /etc/rhn/rhn.conf
 -create a /etc/pam.d/rhn-satellite file:
  	#%PAM-1.0
	auth required /lib/security/pam_env.so	
	auth sufficient /lib/security/pam_ldap.so no_user_check
	auth required /lib/security/pam_deny.so
	account required /lib/security/pam_ldap.so no_user_check
 -edit /etc/ldap.cong to talk to your ldap server

2. Create a user on the satellite and check use PAM auth

3. Run rhn_register form a client machine and use the ldap user you just created
  
Actual results:
rhn_register crashes machien does not register


Expected results:
machine registers

Additional info:

Comment 1 Matthew Davis 2007-02-15 19:44:42 UTC
Can't reproduce, David & I believe its a problem with the installed satellite.