summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJonathan Bauer2014-06-13 14:57:11 +0200
committerJonathan Bauer2014-06-13 14:57:11 +0200
commit20174f45cbe71f60a856e28e230fe3a427bb5268 (patch)
treedbc86881aacc544d6133c6b7328112a1a103925c /server
parentunity fix. TODO: fix logout (diff)
downloadtm-scripts-20174f45cbe71f60a856e28e230fe3a427bb5268.tar.gz
tm-scripts-20174f45cbe71f60a856e28e230fe3a427bb5268.tar.xz
tm-scripts-20174f45cbe71f60a856e28e230fe3a427bb5268.zip
[pam-fr] disable CIFS for now, as it breaks firefox for certain users...
Diffstat (limited to 'server')
-rw-r--r--server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent
index 464dcd9f..e2618588 100644
--- a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent
+++ b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent
@@ -16,7 +16,9 @@ if ! grep -q "^${PAM_USER}:" "/etc/passwd"; then
CIFS_VOLUME=$(cat /tmp/ldapsearch.${PAM_USER} | grep rufHomepath | cut -d" " -f2 | tr '\\' '/')
- if [ ! -z "${CIFS_VOLUME}" ]; then
+ # TODO: fix CIFS mount. Currently breaks certain file operations, e.g. firefox's sqlite files
+ if false; then
+ #if [ ! -z "${CIFS_VOLUME}" ]; then
# now we can mount the home directory!
MOUNT_OPTS="-t cifs -o uid=${USER_UID},gid=${USER_GID},forceuid,forcegid,file_mode=0600,dir_mode=0700"
export USER="${PAM_USER}"