Bug 41231 - Add config option for currently hardcoded german LDAP objects/directories/...
Add config option for currently hardcoded german LDAP objects/directories/...
Status: CLOSED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: LDAP
UCS@school 4.0 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on: 41173 42818 42822 42823 42824 42825 42826 42827 42828 42829 42830 42831 42832 42833
Blocks: 43772
  Show dependency treegraph
 
Reported: 2016-05-10 10:30 CEST by Sönke Schwardt-Krummrich
Modified: 2023-06-12 15:39 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback, Internationalization, Release Goal
Max CVSS v3 score:
best: Patch_Available+


Attachments
completely *untested* patch of all modifications (251.42 KB, patch)
2016-11-02 17:08 CET, Daniel Tröder
Details | Diff
previous patch with pep8 changes merged (263.13 KB, patch)
2016-11-09 17:39 CET, Daniel Tröder
Details | Diff
updated patch (254.81 KB, patch)
2017-02-10 13:02 CET, Daniel Tröder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2016-05-10 10:30:42 CEST
(In reply to Florian Best from Bug 41173 comment #2)
> "DC-Verwaltungsnetz" is also hardcoded.

(In reply to Florian Best from Bug 41173 comment #3)
> "cn=klassen" for groups and shares is also hardcoded.

LDAP structures should be configurable via UCR:
- container names (cn=klassen or cn=raeume)
- LDAP groups ("$OU lehrer" and so on)
- LDAP ACLs (referring to the above two items)

For the first step, it is sufficient to configure some UCR-Variables via UCR policy PRIOR to installation of UCS@school. All required steps have to be documented.

Reading out the UCR variables should be done in ucs-school-lib and at least all UMC modules (better the LDAP ACLs too!) should read them via the ucs-school-lib.


+++ This bug was initially created as a clone of Bug #41173 +++

Multiple UCS@school customers (http://forum.univention.de/viewtopic.php?f=59&t=5724) requested a change of the folder name that holds links to the shares that belong to pupils and teachers.

Currently, this string is hard coded to "Eigene Shares" (file ucs-school-user-logonscript.py).
Comment 1 Daniel Tröder univentionstaff 2016-11-02 17:08:33 CET
Created attachment 8182 [details]
completely *untested* patch of all modifications

The attached patch is completely *untested*. It contains all changes so far.

I'm starting to test those modifications now and will split this bug into one per affected package. This bug will become the meta-bug for those bugs:

doc/manual
ucs-school-import
ucs-school-ldap-acls-master
ucs-school-lib
ucs-school-netlogon-user-logonscripts
ucs-school-umc-computerroom
ucs-school-umc-csv-import
ucs-school-umc-distribution
ucs-school-umc-exam
ucs-school-umc-installer
ucs-test-ucsschool
univention-management-console-module-selective-udm
Comment 2 Daniel Tröder univentionstaff 2016-11-09 17:39:00 CET
Created attachment 8209 [details]
previous patch with pep8 changes merged

completely *untested* patch of all modifications with pep8 changes merged
Comment 3 Daniel Tröder univentionstaff 2017-02-10 13:02:37 CET
Created attachment 8418 [details]
updated patch

Updated patch to work in current SVN. Still untested.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2019-02-05 21:46:08 CET
This issue has been filled against UCS@school 4.0. The maintenance with bug 
and security fixes for UCS@school 4.0 has ended on May 31, 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3 (or later). 
Please contact your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug"
or simply reopen the issue. In this case please provide detailed information on
how this issue is affecting you.