Problem: The joinscript 65univention-ox.inst failes with Failed to register LDAP module


The joinscript 65univention-ox.inst failes with “Failed to register LDAP module.”

ERROR: python variable ‘module’ undefined in given file: /usr/share/univention-ox/udm/oxmail/
65univention-ox.inst: Failed to register LDAP module.

You can also see, that udm ox… does not exists, but in ldap the modules are present and active.


:~# cd /usr/share/univention-ox/udm/oxmail/
: /usr/share/univention-ox/udm/oxmail# python
Traceback (most recent call last):
  File  "",  line 93, in <modules>
AttributeError:  'module'  object has no  attribute 'oxFetchmailProtocol'

Search if the udm moduleas are present and active:

udm  settings/udm_module list
DN: cn=oxmail/oxcontext,cn=udm_module,cn=univention,dc=schein,dc=ig
  active: TRUE
DN: cn=oxmail/oxdomain,cn=udm_module,cn=univention,dc=schein,dc=ig
  active: TRUE
DN: cn=oxmail/oxfetchmailmulti,cn=udm_module,cn=univention,dc=schein,dc=ig
  active: TRUE


ox udm syntax was registered in LDAP and marked as ‘active’, but the file was not in the file system and thus could not be imported.

univention-directory-listener-ctrl resync udm-modules

and then: