On Fri, 18 May 2007 21:46:33 -0400
"Zane C.B." <[EMAIL PROTECTED]> 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.
--- 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 int
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to