On Sat, 8 Jun 2002, I wrote: > I'm currently trying to find out how to automount homedirs via samba when > users log in (via ssh, ftp, telnet,...), and I've found pam_mount, a PAM > module which seems to do the trick under Linux. I've also found that this > module was rejected as a port about one year ago because the code was "too > messy", whatever that means :-)
[ ... ] > Or would you rather say that I should forget pam_mount and look for some > other way to automount my samba shares (maybe even write a PAM from > scratch for this purpose)? Hi, since pam_mount really was too messy I started writing my own PAM. It's more or less the necessary parts from mount_smbfs and pam_unix glued together. I'm not sure if I did everything right (smbfs is not very well documented, is it?), but after all it works. I'd be glad if someone would take a look at it and give some advice. The tarball can be found at <http://mailbox.univie.ac.at/~le/pam_smbmount.tar.gz>. Beware: it's not even beta, documentation yet non existent, and you have to edit the source file and change host- and sharename. But I think it's a beginning. regards, le -- Lukas Ertl eMail: [EMAIL PROTECTED] UNIX-Systemadministrator Tel.: (+43 1) 4277-14073 Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140 der Universität Wien http://mailbox.univie.ac.at/~le/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message