Recent Changes - Search:

Bob Brandt

Linux Projects


Server Projects

Desktop Projects

Novell Projects


VMware Projects


N900 (Maemo) Projects


Python Projects


OpenOffice.org Projects


Other Projects


PmWiki

edit SideBar

pam_mount on SLED11

SLED.PamMount History

Show minor edits - Show changes to output

April 20, 2009, at 09:53 AM by 82.141.254.184 -
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 82.141.254.184 -
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 82.141.254.184 -
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 82.141.254.184 -
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:
#%PAM-1.0
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 82.141.254.184 -
April 20, 2009, at 08:49 AM by 82.141.254.184 -
Changed lines 15-19 from:
to:
#%PAM-1.0
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 82.141.254.184 -
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:)

Edit - History - Print - Recent Changes - Search
Page last modified on April 20, 2009, at 09:53 AM