Hello all,<br><br>I am looking for a good howto about getting pam_mount to work with my LTSP setup.<br>I see in the archives that several of you have been here before, and that Chuck has a copy of his pam_mount.conf at <a href="http://wiki.ltsp.org/twiki/bin/view/Ltsp/WinIntegration">
http://wiki.ltsp.org/twiki/bin/view/Ltsp/WinIntegration</a><br><br>I am hope that someone can point me to a good step by step for this. Specifically I would like to know which files in /etc/pam.d/ need to be edited. Here's what I think needs to be done:
<br><br>1. install libpam_mount. On Ubuntu 6.06 LTS I did: sudo apt-get install libpam_mount<br><br>2. edit /etc/pam.d/common-pammount, commented out: <br>#auth       optional   pam_mount.so use_first_pass<br><br>and added the following bottom of the file:
<br>
<br>auth       required   pam_mount.so use_first_pass<br>session    optional   pam_mount.so use_first_pass<br><br>2. Then I edited /etc/pam.d/gdm to reflect my interpertation of the directions in /etc/security/pam_mount.conf
<br><br><br>#%PAM-1.0<br>auth    requisite       pam_nologin.so<br>auth    sufficient      pam_winbind.so<br>auth    sufficient      pam_unix.so nullok_secure use_first_pass<br>auth    required        pam_env.so<br>#added the following line to allow automounting win shares via pam_mount
<br>auth     required  pam_mount.so use_first_pass<br>@include common-auth<br>@include common-account<br>session required        pam_limits.so<br>session optional pam_console.so<br>#added the following line to allow automounting win shares via pam_mount
<br>session  optional  pam_mount.so<br>@include common-session<br>@include common-pammount<br><br>3. I <span style="text-decoration: underline;">think</span> I am supposed to add something similar to Chucks edits to /etc/security/pam_mount.conf making changes to reflect my Server, share etc.
<br><br><pre>volume * smb META1 Students /home/&/WINDOWS/META1 uid=&,gid=&,dmask=0700,workgroup=Ellsworth - -<br>volume * smb META2 Students /home/&/WINDOWS/META2 uid=&,gid=&,dmask=0700,workgroup=Ellsworth - -
<br>volume * smb META2 Staff /home/&/WINDOWS/STAFF uid=&,gid=&,dmask=0700,workgroup=Ellsworth - -</pre>4. Then I <span style="text-decoration: underline;">think</span> I will have something that sort of works. Anyone have anything to chime in? I haven't had time to do step 3 yet.
<br><br>Thanks!<br><br>John<br><br><br><br><br><br><br>