The pam_athena_locker session module attaches the user’s home directory in pam_open_session(). This a replacement for pam_afs_session that correctly handles Athena home directories that are not in the home cell of the machine.

One uses the module by adding the line

session    optional

in /etc/pam.d/common-session after

It supports the debug option.

pam_athena_locker is part of the Debian-Athena distribution. You can also browse and download the source. The current release, pam_athena_locker 2.0, was released on August 6, 2007.