Bug 32412 - UDM module settings/ldapschema
UDM module settings/ldapschema
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Arvid Requate
Stefan Gohmann
: interim-3
Depends on: 32391
Blocks: 26785 31801 32419
  Show dependency treegraph
 
Reported: 2013-08-28 14:45 CEST by Arvid Requate
Modified: 2013-11-19 06:42 CET (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:
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 Arvid Requate univentionstaff 2013-08-28 14:45:35 CEST
A new UDM module ldap/schema is required for Bug 26785.
Comment 1 Arvid Requate univentionstaff 2013-09-02 20:45:19 CEST
The UDM module has been implemented under the name settings/ldapschema.
The schema data is expected to be gzip-compressed and base64 encoded.
Changelog adjusted.
Comment 2 Arvid Requate univentionstaff 2013-09-04 16:50:13 CEST
The following validations have been added:
 * schema data is checked to be gzipped
 * filename is checked to not contain '/'
 * packageversion is checked to be a valid Debian version number
 * Non-tivial modifications of the object require an increase of the packageversion unless the packagename is changed as well. A trivial modification is the modifcation of the active flag.
Comment 3 Arvid Requate univentionstaff 2013-09-16 17:53:57 CEST
* Compression was changed to bzip2 due to limitations of the python zlib module.
* Version check has been relaxed to only deny downgrades.
Comment 4 Stefan Gohmann univentionstaff 2013-09-23 08:43:29 CEST
I'm not able to open ldapschema objects via UMC. I see the following message:

 21.09.13 02:52:47.525  MODULE      ( PROCESS ) : Could not convert UDM syntax Bzip2Base64Upload
Comment 5 Stefan Gohmann univentionstaff 2013-09-23 08:45:20 CEST
(In reply to Stefan Gohmann from comment #4)
> I'm not able to open ldapschema objects via UMC. I see the following message:
> 
>  21.09.13 02:52:47.525  MODULE      ( PROCESS ) : Could not convert UDM
> syntax Bzip2Base64Upload

Tests via CLI are OK, I've added some test cases to ucs-test:

* 71_udm-settings/30_create_ldap_schema
* 71_udm-settings/31_create_full_ldap_schema
* 71_udm-settings/32_create_invalid_ldap_schema
Comment 6 Stefan Gohmann univentionstaff 2013-09-23 14:02:18 CEST
Wait until Arvid is back.
Comment 7 Arvid Requate univentionstaff 2013-10-14 18:46:11 CEST
Comment 4 was due to bug 32565.
Comment 8 Stefan Gohmann univentionstaff 2013-10-25 15:58:14 CEST
Changelog + Tests: OK
Comment 9 Stefan Gohmann univentionstaff 2013-11-19 06:42:01 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

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