[Samba] pam_mount_conf?
Aaron Bennett
aaron.bennett at olin.edu
Fri Feb 21 20:40:42 GMT 2003
Have any of you folks actually managed to get pam_mount working?
A quick google shows a ton of messages saying "you can use pam_mount" to
automatically mount a user's home directory on log in, but no messages
saying "I use pam_mount" etc -- I'm suspecting it might not actually
work. Or at least I might not be smart enough to make it work.
First -- pam_mount 0.5.11 from www.flynn.org doesn't compile on RHAT 8.
Following is the failure:
pmhelper.c:176:27: missing binary operator
pmhelper.c: In function `get_fstab_mountpoint':
pmhelper.c:200: `FIXME' undeclared (first use in this function)
pmhelper.c:200: (Each undeclared identifier is reported only once
pmhelper.c:200: for each function it appears in.)
pmhelper.c:200: parse error before '}' token
make[2]: *** [pmhelper.o] Error 1
make[2]: Leaving directory `/usr/local/src/pam_mount-0.5.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/pam_mount-0.5.11'
make: *** [all-recursive-am] Error 2
so much for that. However, pam_mount 0.5.9 does compile and install.
My pam_mount_conf has the following volume line:
volume * smb olinfs02 users /home/remote/&/winnt uid=&,gid=& - -
/etc/pam.d/gdm has the following two extra lines in it:
session required /lib/security/pam_mount.so use_first_pass
auth required /lib/security/pam_mount.so use_first_pass
I added them to the end of the file as per the README.
Nothing happens. No volumes are mounted. Nothing appears in
/var/log/messages. No errors are generated. It just silently fails.
????
--
Aaron Bennett
UNIX Administrator
Franklin W. Olin College of Engineering
More information about the samba
mailing list