|
SLED /
pam_mount on SLED11SLED.PamMount HistoryShow minor edits - Show changes to markup April 20, 2009, at 09:53 AM
by -
Changed line 13 from:
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:100px;":) to:
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:150px;":) Changed lines 18-20 from:
auth required pam_unix2.so call_modules=nam to:
auth required pam_unix2.so call_modules=nam auth sufficient pam_succeed_if.so uid < 500 quiet Changed line 27 from:
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:100px;":) to:
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:150px;":) Added line 36:
session sufficient pam_succeed_if.so uid < 500 quiet Changed line 44 from:
to:
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:150px;":) Changed lines 50-51 from:
to:
(:divend:) April 20, 2009, at 09:05 AM
by -
Changed lines 39-46 from:
Then you need to modify the /etc/security/pam_mount.conf.xml adding the line /sbin/namsetup
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:250px;":) to:
Then you need to modify the /etc/security/pam_mount.conf.xml adding following the line Changed lines 43-45 from:
to:
<volume fstype="cifs" server="server" path="%(USER)" mountpoint="~/Documents" options="iocharset=utf8,uid=%(USER),gid=users,dir_mode=0700,file_mode=0600,domain=ADdomain" /> <volume fstype="cifs" server="server" path="Groups" mountpoint="~/Groups" options="iocharset=utf8,uid=%(USER),gid=users,dir_mode=0700,file_mode=0600,domain=ADDomain" /> Changed lines 47-49 from:
(:divend:) to:
April 20, 2009, at 08:52 AM
by -
Changed lines 39-44 from:
to:
Then you need to modify the /etc/security/pam_mount.conf.xml adding the line April 20, 2009, at 08:51 AM
by -
Changed line 13 from:
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:250px;":) to:
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:100px;":) Changed lines 24-25 from:
/sbin/namsetup
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:250px;":) to:
/etc/pam.d/common-session
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:100px;":) Changed lines 27-35 from:
to:
session optional pam_mkhomedir.so session required pam_limits.so session required pam_unix2.so session optional pam_umask.so session optional pam_gnome_keyring.so auto_start_if=gdm session optional pam_nam.so session optional pam_mount.so Deleted line 39:
April 20, 2009, at 08:49 AM
by - April 20, 2009, at 08:49 AM
by -
Changed lines 15-19 from:
to:
auth required pam_env.so auth optional pam_gnome_keyring.so auth required pam_unix2.so call_modules=nam auth optional pam_mount.so try_first_pass April 20, 2009, at 08:48 AM
by -
Added lines 1-36:
(:title pam_mount on SLED11:) pam_mount is a PAM module that allows the system to automatically mount remote file systems when the user logs in, using the username and password provided at login. This is fantastic (as long as all your accounts are syncronised) when used in conjunction with Novell Account Management. However, since SLED10, the pam_mount system has changed slightly, using an XML document for its configuration rather than the old style text file. Below is how I configured my system. First you need to enable pam_mount in the /etc/pam.d files. /etc/pam.d/common-auth
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:250px;":) (:divend:) /sbin/namsetup
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:250px;":) (:divend:) /sbin/namsetup
(:div style="border-style:ridge; border-width:2px; background-color:#ffffcc; margin-left:50px; overflow:auto; width:650px; height:250px;":) (:divend:) |