Open-Xchange Join mit Administrator-Passwort mit Sonderzeichen: $

UCS Version 4.2.3-52 / univention-ox 9.0.8-15A~4.2.0.201808200915

Moin,
uns ist aufgefallen, dass das OX-Join Script leider nicht alles macht, wenn man ein $ im Passwort hat.

Im Join Log ist dann folgendes zu finden:

Object created: cn=ox,cn=services,cn=univention,dc=domain,dc=de
Object modified: cn=srvmail,cn=dc,cn=computers,dc=domain,dc=de
Object created: cn=open-xchange,cn=custom attributes,cn=univention,dc=domain,dc=de
Object created: cn=oxContextSelect,cn=open-xchange,cn=custom attributes,cn=univention,dc=domain,dc=de
authentication error: Authentication failed
authentication error: Authentication failed
....
authentication error: Authentication failed

Wir haben herausgefunden dass man im /usr/share/univention-ox/createextattr.py
Dass man die Zeile

     print 'univention-directory-manager settings/extended_attribute create --binddn "%s" --bindpwd "%s" \\' % (binddn, bindpwd)

durch:

     print 'univention-directory-manager settings/extended_attribute create --binddn "%s" --bindpwd \'%s\' \\' % (binddn, bindpwd)

ersetzt, es funktioniert.

Im Anschluss das Join-Script neu ausführen:

 univention-run-join-scripts --force --run-scripts 65univention-ox.inst

Der Fehler im join.log:

Object exists: cn=open-xchange groupware account,cn=templates,cn=univention,dc=bips,dc=de
Permission denied.
Permission denied.
Permission denied.
Permission denied.
Object exists: cn=open-xchange,dc=bips,dc=de

kann ignoriert werden, weil hier das Template aktualisiert wird, welches aber schon korrekt angelegt wurde.

Viele Grüße von der Elbe
Sven

Hi Sven,

you have stumbled upon a bug in the OX integration that has already been fixed, but the fix has not yet been publish in an app update:

Sorry for the trouble!
We’ll soon publish the app update with the fix.

Greetings
Daniel

Mastodon