Bug 35623 - Installer does not detect edu slave while installing adminstrative slave in OU with camel case name
Installer does not detect edu slave while installing adminstrative slave in O...
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Installer
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2 Errata
Assigned To: Sönke Schwardt-Krummrich
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-15 16:51 CEST by Sönke Schwardt-Krummrich
Modified: 2014-08-27 17:01 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 2014-08-15 16:51:10 CEST
The UCS@school installer does not detect an existing edu slave in the same OU while installing an adminstrative slave in an OU with camel case name.

The reason is a simple case sensitive comparison of group DNs in
ucs-school-umc-installer/umc/python/schoolinstaller/__init__.py:566ff

searchBase.educationalDCGroup returns a group name with camel case OU and
the group names in LDAP directory contain the same group name but with lower case OU name.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-08-19 10:02:23 CEST
The comparison has been modified and is now case insensitive. 

ucs-school-umc-installer (2.0.17-4) unstable; urgency=low

@QA for reproduction:
1) Install a multiserver environment with master and one edu slave; the OU of the edu slave should consist of mixed upper and lower case letters; the edu slave should be joined successfully and all join scripts executed before next step
2) Install an administrative slave; the UCS@school installer should ask for the OU name (same as in step 1!!!) and slave type ("administrative" or "educational"). If "administrative slave" is selected, the module should NOT ask for the edu slave name.
3) If a different/non-existing OU name is specified and "administrative slave" is selected, the installer module should ask for the name of the edu slave.
Comment 2 Florian Best univentionstaff 2014-08-22 12:43:49 CEST
OK: reproducible, name is now detected automatically
OK: Changelog
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2014-08-27 17:01:43 CEST
UCS@school 3.2 R2 v2 has been released:
http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html

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