diff options
Diffstat (limited to 'server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open')
-rwxr-xr-x | server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open index 9af51e7f..205090b6 100755 --- a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open +++ b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_ses_open @@ -22,7 +22,7 @@ if [ $(id -g $PAM_USER) -ge 1000 ]; then FILESERVER=$(cat /tmp/ldapsearch.$PAM_USER | grep rufFileserver | cut -d" " -f2) VOLUME=$(cat /tmp/ldapsearch.$PAM_USER | grep homeDirectory | cut -d" " -f2) - # now we can mount the home directory + # now we can mount the home directory! mkdir -p /home/$PAM_USER if mount -t nfs4 -o rw,nosuid,nodev,nolock,intr,hard,sloppy,sec=krb5p "$FILESERVER":"$VOLUME" /home/"$PAM_USER"; then exit 0 |