Bug 51336 - services/univention-ad-connector: migrate UMC module to python3
services/univention-ad-connector: migrate UMC module to python3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Florian Best
Sebastian Lobinger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-19 14:32 CEST by Florian Best
Modified: 2021-05-25 16:00 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
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 Florian Best univentionstaff 2020-05-19 14:32:58 CEST
The UMC module of services/univention-ad-connector has to be python3-compatible.
Comment 1 Florian Best univentionstaff 2020-07-14 14:26:04 CEST
univention-ad-connector (14.0.0-5)
 Bug #51336: migrate UMC module to Python 3

changelog-5.0-0.xml
 Changelog Bug #51336
Comment 2 Arvid Requate univentionstaff 2020-10-29 21:29:11 CET
a876120fab | Avoid world writeable /etc/univention/connector/ad/__pycache__

Pushed to 5.0-0. Old source package purged from Repo-NG and rebuilt as 14.0.1-2A~5.0.0.202010292127
Comment 3 Arvid Requate univentionstaff 2020-10-29 21:48:17 CET
5d7d052d5f | Follow best daemon practice by explicitly setting a umask.

14.0.1-2A~5.0.0.202010292146
Comment 4 Arvid Requate univentionstaff 2021-01-25 19:16:42 CET
252434e344 Bug #51336 ADC: Fix process detection in umc module

Package: univention-ad-connector
Version: 14.0.3-1A~5.0.0.202101251916
Branch: ucs_5.0-0
Comment 5 Arvid Requate univentionstaff 2021-01-25 20:11:05 CET
For AD-Member-Setup I've also committed a minor change for univention-samba on this bug:

fb1043b517 Abort joinscript for NT style DC setup
    
Followup for Bug #46118 and more clean during AD-Member setup.

Package: univention-samba
Version: 14.0.3-1A~5.0.0.202101252005
Branch: ucs_5.0-0
Comment 6 Arvid Requate univentionstaff 2021-01-28 18:37:14 CET
Fixed a trivial traceback when uploading SSL certificate:
============================================================================
      File "/usr/lib/python3/dist-packages/univention/management/console/modules/adconnector/__init__.py", line 289, in _return
        bufstdout, bufstderr = bufstdout.decode('UTF-8', 'replace'), bufstderr.decode('UTF-8', 'replace')
    AttributeError: 'list' object has no attribute 'decode
============================================================================

62814f7177 | Fix decoding traceback while parsing openssl output

Package: univention-ad-connector
Version: 14.0.3-2A~5.0.0.202101281541
Branch: ucs_5.0-0
Comment 7 Sebastian Lobinger univentionstaff 2021-01-29 11:50:55 CET
Verified that AD Member Mode is working with a Windows Server 2008 R2 DC.
Checked that the configuration works in system setup and after installation by installing and configuring AD connection app.
After configuration the password of the domain administrator has changed to the one configured on the DC and the UCS Fileshare was available on the Windows Server.
I was not able to check that the certificate import works, maybe this is an issue of the Windows Server configuration that I was not able to figure out for now.
I have also tested connection to Windows Server 2012 duvvrdgullx but with the same certificate import issue.
Comment 8 Florian Best univentionstaff 2021-05-25 16:00:57 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

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