Bug 31906 - UCC: file share integration
UCC: file share integration
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UCC
UCS@school 3.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.1 R2 Errata
Assigned To: Sönke Schwardt-Krummrich
Felix Botner
:
Depends on: 31409
Blocks: 32057
  Show dependency treegraph
 
Reported: 2013-07-05 14:56 CEST by Sönke Schwardt-Krummrich
Modified: 2013-07-25 12:39 CEST (History)
1 user (show)

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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2013-07-05 14:56:41 CEST
The UCC integration into UCS@school should also cover the file shares and the restriction of those file shares.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-07-17 17:33:29 CEST
Shares should be umounted on logout.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-07-22 17:41:15 CEST
This has been implemented on UCC side in two steps:
- automatic mount of the home directory
- placing a link to all CIFS shares on the user's desktop

The latter one has been implemented in univention-ucc-ucsschool-integration.
A UCR template creates a the desktop file
/usr/share/univention-ucc-ucsschool-integration/ucsschool-classshares.desktop which contains a link to "smb://$SERVER/".  $SERVER is filled by the UCR variable
ucc/ucsschool/classshares/server that has to contain the servers FQDN.
If ucc/ucsschool/classshares/server is not set, ucc/mount/cifshome/server will be used as fallback.

univention-ucc-ucsschool-integration depends from 
univention-ucc-cifshome-pam-mount. During login in lightdm the pam stack tries to mount the CIFS home share of the user. Server name, share name and mount options may be set via the following UCR variables:
- ucc/mount/cifshome/server   (if unset, ldap/server/name is used)
- ucc/mount/cifshome/share    (if unset, "%(DOMAIN_USER)" is used)
- ucc/mount/cifshome/options  (if unset, "serverino" is used)

ucc/mount/cifshome/server is set on UCS side via UCR policy which will be created by the package ucs-school-ucc-integration (40ucs-school-ucc-integration.inst resp. /usr/share/ucs-school-ucc-integration/add_ucc_settings_to_ou).

> Shares should be umounted on logout.

This is currently not the case and may be addressed later on.

YAML: 2013-07-16-univention-ucc-cifshome-pam-mount.yaml
Comment 3 Felix Botner univentionstaff 2013-07-23 16:46:21 CEST
(In reply to Sönke Schwardt-Krummrich from comment #2)
> This has been implemented on UCC side in two steps:
> - automatic mount of the home directory
> - placing a link to all CIFS shares on the user's desktop
> 
> The latter one has been implemented in univention-ucc-ucsschool-integration.
> A UCR template creates a the desktop file
> /usr/share/univention-ucc-ucsschool-integration/ucsschool-classshares.
> desktop which contains a link to "smb://$SERVER/".  $SERVER is filled by the
> UCR variable
> ucc/ucsschool/classshares/server that has to contain the servers FQDN.
> If ucc/ucsschool/classshares/server is not set, ucc/mount/cifshome/server
> will be used as fallback.

OK

> univention-ucc-ucsschool-integration depends from 
> univention-ucc-cifshome-pam-mount. During login in lightdm the pam stack
> tries to mount the CIFS home share of the user. Server name, share name and
> mount options may be set via the following UCR variables:
> - ucc/mount/cifshome/server   (if unset, ldap/server/name is used)
> - ucc/mount/cifshome/share    (if unset, "%(DOMAIN_USER)" is used)
> - ucc/mount/cifshome/options  (if unset, "serverino" is used)

OK

> 
> ucc/mount/cifshome/server is set on UCS side via UCR policy which will be
> created by the package ucs-school-ucc-integration
> (40ucs-school-ucc-integration.inst resp.
> /usr/share/ucs-school-ucc-integration/add_ucc_settings_to_ou).

OK

> 
> YAML: 2013-07-16-univention-ucc-cifshome-pam-mount.yaml

OK
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2013-07-25 10:18:24 CEST
Added missing changelog entry.
Comment 5 Moritz Muehlenhoff univentionstaff 2013-07-25 12:39:47 CEST
http://errata.univention.de/ucc/1.0/20.html