Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2002 18:30:38 +0200 (CEST)
From:      Lukas Ertl <l.ertl@univie.ac.at>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Automounting samba shares / pam_mount
Message-ID:  <20020609182142.M71977-100000@leelou.in.tern>
In-Reply-To: <20020608005839.Y297-100000@leelou.in.tern>

next in thread | previous in thread | raw e-mail | index | archive | help
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 "to=
o
> 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

--=20
Lukas Ertl                             eMail: l.ertl@univie.ac.at
UNIX-Systemadministrator               Tel.:  (+43 1) 4277-14073
Zentraler Informatikdienst (ZID)       Fax.:  (+43 1) 4277-9140
der Universit=E4t Wien                   http://mailbox.univie.ac.at/~le/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020609182142.M71977-100000>