OpenSolaris

Printable Version Enter a New Search
Bug ID 4962745
Synopsis PAM should work correctly with rhosts auth and ldap account
State 11-Closed:Duplicate (Closed)
Category:Subcategory ldap:switch
Keywords account | pam_ldap | pam_rhosts_auth | rhosts
Responsible Engineer Binu J Philip
Reported Against s9u2_07 , 5.8_patch , solaris_8 , solaris_9
Duplicate Of 4909247
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs 6338769 , 4909247 , 4972234
Submit Date 3-December-2003
Last Update Date 21-December-2005
Description
pam_ldap needs a valid password for it do accounting as it binds to the server
as the user logging in. If the auth stack has pam_rhosts_auth and it succeeds
there will not be a auth-token stored in PAM. ldap accounting will fail. However
if rhosts auth fails, ldap accounting will be done properly.

What the customer wants is a way to do account checking only if a password was 
typed. As it stands now there is no way to do selective account checking for
ldap or any other module. A custom account module that succeeds if rhosts 
permission is present with a sufficient binding does the job. Another way to
achieve this is to make pam_ldap check accounting data by binding as the proxyagent. Currently they are using a custom module that works as described
above.

The customer wants this module to be officialy pulled into Solaris or for their
requirement to be met in some other manner.
Work Around
N/A
Comments
N/A