Bug 35111 - Allow disabling the CIFS home mount
Allow disabling the CIFS home mount
Product: Univention Corporate Client (UCC)
Classification: Unclassified
Component: General
Other Linux
: P5 enhancement
: UCC 2.0-errata
Assigned To: Moritz Muehlenhoff
Erik Damrose
Depends on:
  Show dependency treegraph
Reported: 2014-06-13 07:04 CEST by Moritz Muehlenhoff
Modified: 2014-06-17 14:25 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2014-06-13 07:04:21 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.
Comment 1 Moritz Muehlenhoff univentionstaff 2014-06-17 08:23:50 CEST
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)
Comment 2 Moritz Muehlenhoff univentionstaff 2014-06-17 08:29:30 CEST
Comment 3 Erik Damrose univentionstaff 2014-06-17 10:46:37 CEST
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
OK: yaml
Comment 4 Moritz Muehlenhoff univentionstaff 2014-06-17 14:25:55 CEST