Bug 30285 - Wrong class / home share server
Wrong class / home share server
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 3.1
Other Linux
: P2 normal (vote)
: UCS@school 3.1 R2
Assigned To: Sönke Schwardt-Krummrich
Jascha Geerds
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-05 16:14 CET by Sönke Schwardt-Krummrich
Modified: 2013-06-07 21:40 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:
Flags outvoted (downgraded) after PO Review:
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-02-05 16:14:51 CET
create_ou sets a wrong class share server / home share server at OU object during create_ou in a single-server environment (ucsschool/singlemaster=yes).

All class shares created via UMC wizard or on command line will be configured for a non-existing server.

Workaround: 
set correct server ($master) as share server at OU object (tab "UCS@school")
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-02-05 16:50:16 CET
This does not affect the first OU created during installation but all subsequent OUs.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-05-13 22:39:04 CEST
(In reply to comment #0)
> create_ou sets a wrong class share server / home share server at OU object
> during create_ou in a single-server environment (ucsschool/singlemaster=yes).
> 
> All class shares created via UMC wizard or on command line will be configured
> for a non-existing server.
> 
> Workaround: 
> set correct server ($master) as share server at OU object (tab "UCS@school")

create_ou now uses always $hostname (the dc master) as file server for class/home shares if ucsschool/singlemaster=yes is set and no specific slave name has been given as second argument:

./create_ou newOUname

If defined, the given slave will be set as file server.
If ucsschool/singlemaster=no, the default/old behaviour is used.

Changelog entry has been made.

ucs-school-import (9.0.11-1) unstable; urgency=low
Comment 3 Jascha Geerds univentionstaff 2013-05-21 13:18:08 CEST
The bug could be reproduced with UCS@school 3.1 and does no longer occur in the R2 release.

Changelog: OK
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2013-06-07 21:40:41 CEST
UCS@school 3.1 R2 has been released:
http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2.pdf

If this error occurs again, please use "Clone This Bug".