Date: Sat, 19 May 2007 13:01:51 -0400 From: "Zane C.B." <v.velox@vvelox.net> To: freebsd-questions@freebsd.org Subject: Re: samba and automounting upon login (update) Message-ID: <20070519130151.25a76b6c@vixen42> In-Reply-To: <20070518214633.40ddc717@vixen42>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, 18 May 2007 21:46:33 -0400 "Zane C.B." <v.velox@vvelox.net> wrote: > Any one know where I can find info on setting up FreeBSD so it tries > to automounting their home from a Samba server? Came across pam_exec, which after a bit of tweaking sort of takes care of this. Here is a patch to pam_exec.c to make it export PAM_AUTHTOK. Now the current issues is making mount_smbfs handle pulling the password from a environmental variable or STDIN. [-- Attachment #2 --] --- pam_exec.c.orig Sat May 19 12:51:42 2007 +++ pam_exec.c Sat May 19 12:56:50 2007 @@ -57,6 +57,7 @@ ENV_ITEM(PAM_TTY), ENV_ITEM(PAM_RHOST), ENV_ITEM(PAM_RUSER), + ENV_ITEM(PAM_AUTHTOK), }; static inthelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070519130151.25a76b6c>
