Univention Bugzilla – Bug 35111
Allow disabling the CIFS home mount
Last modified: 2014-06-17 14:25:55 CEST
We should either add a UCR variable to disable the CIFS home mount or modify the configuration so that the mount only occurs if ucc/mount/cifshome/server is set.
The ramifications turned out to be rather non-invasive; the slowdown during a non-accessible mount of the /home are hardly noticable. But this fixes a side effect of the template: I removed the fallback to ldap/server/name. This was a correct setting when univention-ucc-cifshome-mount was a package for UCS@school, but in a UCS environment not every LDAP server acts as a CIFS server.
In addition the template is now modified so that the cifsmount stanza is only written if ucc/mount/cifshome/server is set.
Also, the documentation has been updated to point out that this feature is intended for stationary systems, but not for notebooks (revision 51094)
OK: If ucc/mount/cifs/* is defined properly, a cifs home is mounted
OK: If ucc/mount/cifshome/server is not defined, pam_mount.conf.xml does not contain the mount definition
OK: No fallback to ldap/server/name
OK: Documentation update