[OpenAFS] RHELv4 + OpenAFS 1.4.2 + pam

Jeff Blaine jblaine@mitre.org
Tue, 13 Feb 2007 15:06:27 -0500


I'm authenticating via pam_afs.so.1 just fine, but not getting
tokens.  This same setup worked fine with our RHELv3 boxes.

Any ideas?

I can even set pam_afs.so.1 as the only 'auth' required module
to use.  Get in fine, no tokens.

Linux rhelv4test 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 
i686 i386 GNU/Linux

Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29010]: AFS Options: 
nowarn=0, use_first_pass=0, try_first_pass=1, ignore_uid = 1, 
ignore_uid_id = 0, refresh_token=0, set_token=0, dont_fork=0, use_klog=0
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29010]: AFS Username = 
`jblaine'
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29010]: AFS No first 
password for user jblaine
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29010]: New PAG created in 
pam_authenticate()
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29010]: forking ...
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29012]: in child
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29010]: in parent, waiting ...
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29012]: child: auth_ok=1
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29010]: parent: auth_ok=1
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs[29010]: leaving auth: auth_ok=1
Feb 13 15:02:05 rhelv4test.mitre.org sshd(pam_unix)[29013]: session 
opened for user jblaine by (uid=0)
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs: AFS Options: nowarn=0, 
use_first_pass=1, try_first_pass=0, ignore_uid = 1, ignore_uid_id = 0, 
refresh_token=8, set_token=8, dont_fork=8, use_klog=8
Feb 13 15:02:05 rhelv4test.mitre.org pam_afs: AFS ReInitializing creds 
for user jblaine