samba and automounting upon login (update)

Zane C.B. v.velox at vvelox.net
Sat May 19 16:59:32 UTC 2007


On Fri, 18 May 2007 21:46:33 -0400
"Zane C.B." <v.velox at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pam_exec.c.diff
Type: text/x-patch
Size: 213 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070519/fc9f900f/pam_exec.c.bin


More information about the freebsd-questions mailing list