pam_exec patch and mount_smbfs

Zane C.B. v.velox at vvelox.net
Sat May 19 18:03:58 UTC 2007


Figured some one may find this interesting. The patch modifies
pam_exec to export PAM_AUTHTOK as a environmental variable.

I am currently working on modifying mount_smbfs to be able to use a
specified environmental variable password instead of asking for one.

The purpose of this is to be able to use pam_exec to be able to mount
a user's home directory from samba.
-------------- 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-hackers/attachments/20070519/486bda34/pam_exec.c.bin


More information about the freebsd-hackers mailing list