[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (LONG) SOLVED (Mostly): Samba, PAM, Authentication off an NT Domain



Yuri wrote:

Il giorno Fri, Dec 13, 2002 at 11:35:58AM -0600, Kent West ha scritto:
pam_mount at http://www.flyn.org/#id2759049 might be the solution, but I can't get it to compile yet.


With the help of Mike Petullo (who wrote pam_mount), I was able to successfully compile and install the module. I had to "apt-get install libpam0g-dev" and "libssl-dev".

I haven't yet figured out how to get the module working, but at least it's installed.


_Procedure:_

Download from http://www.flyn.org/#id2759040 the pam_mount tarball to my home directory.

Run "tar -xvzf pam-mount.tar.gz".

cd into the newly created pam_modules-0.5.8 directory.

Run "./configure".

Run "make".

Run "sudo make install".

Copy "configure/pam_mount.conf" to /etc.

Edit /etc/pam_mount.conf to suit your needs (I don't understand this file yet).

Edit /etc/pam.d/login and add these two lines (to the bottom of the file?):

session    required   pam_mount.so use_first_pass
auth	   required   pam_mount.so use_first_pass


I think this may be part of why it's failing for me. With these lines at the end of the file, when the auth...winbind test passes, these lines never get processed. I'm still hazy on how PAM works, so I'll have to work on this a bit, but thought I'd at least document what I've found so far.

Kent




Reply to: