[OpenAFS] Help with Openafs, PAM and SASL

Juliyana Rayamajhi Regmi juliyana@sfsu.edu
Tue, 12 Aug 2008 13:25:04 -0700


<p style="margin: 0px;"
>Hi,</p><p style="margin: 0px;"
>I installed openafs client on RHEL 5. It seems its working correctly as I can login with &quot;klog test&quot; and I am able to see /afs being mounted. But my dilema is to make is work with PAM and SASL2. Since I could not pam_linux_afs module anywhere, I tried to configure and use pam_afs_so module that comes along with Redhat. I use testsaslauth to test thru SASL. But I am not sure if there are any ways for me to test for openafs.</p><p style="margin: 0px;"
>Here are how my config files look like:<br
></p><br
>#cacheinfo<br
>/afs:/usr/vice/cache:100000<br
><p style="margin: 0px;"
>ThisCEll and CellSErverDb both are configured too.</p><p style="margin: 0px;"
><br
></p><p style="margin: 0px;"
>#/etc/sysconfig/openafs<br
></p>AFS_CLIENT=on<br
>AFS_SERVER=off<br
><br
>#/etc/sysconfig/saslauthd<br
>SOCKETDIR=/var/run/saslauthd<br
><p style="margin: 0px;"
>MECH=pam</p><br
><p style="margin: 0px;"
>#/etc/pam.d/smtp</p>#%PAM-1.0<br
>auth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; include&nbsp;&nbsp;&nbsp;&nbsp; system-auth&nbsp;&nbsp; <br
>auth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; required&nbsp;&nbsp;&nbsp;&nbsp; /lib/security/pam_afs.so&nbsp;&nbsp; <br
><p style="margin: 0px;"
>account&nbsp;&nbsp;&nbsp; required&nbsp;&nbsp;&nbsp;&nbsp; /lib/security/pam_afs.so&nbsp; <br
></p><br
><p style="margin: 0px;"
>Any help will be greatly appreciated.</p><p style="margin: 0px;"
><br
></p><p style="margin: 0px;"
>Thanks</p><p style="margin: 0px;"
>Juliyana<br
></p><p style="margin: 0px;"
><br
></p><p style="margin: 0px;"
><br
></p><br
>