Bug 35111

Summary: Allow disabling the CIFS home mount
Product: Z_Univention Corporate Client (UCC) Reporter: Moritz Muehlenhoff <jmm>
Component: GeneralAssignee: Moritz Muehlenhoff <jmm>
Status: CLOSED FIXED QA Contact: Erik Damrose <damrose>
Severity: enhancement    
Priority: P5    
Version: unspecified   
Target Milestone: UCC 2.0-errata   
Hardware: Other   
OS: Linux   
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: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

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
2014-06-17-univention-ucc-cifshome-pam-mount.yaml
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
http://errata.univention.de/ucc/2.0/1.html