Univention Bugzilla – Bug 41653
Unable to create OU on DC slave (ou=Domain Controllers)
Last modified: 2016-10-06 21:13:35 CEST
root@slave66:~# pkill -f cli-server ; udm container/ou create --binddn uid=Administrator,cn=users,dc=nstx,dc=local --bindpwd univention --ignore_exists --set 'description=Default container for domain controllers' --set name=Test8 06.06.16 02:34:25.186 DEBUG_INIT E: Insufficient information The following parameters are missing: displayName root@slave66:~# displayName is required if the option "UCSschool-school-OU" is set. +++ This bug was initially created as a clone of Bug #41583 +++ If there are OUs without displayName, the UDM users/user module shows an error directly after opening the module: Die Ausführung des Kommandos udm/syntax/choices users/user ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 941, in _thread return read_syntax_choices(syntax, request.options) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 85, in _decorated return method(*args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/ldap.py", line 135, in _decorated result = func(*args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 1331, in read_syntax_choices for element in map(map_choice, filter(filter_choice, module.search(filter=filter_s))): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 1316, in map_choice choices.append((value, syn.label_format % obj.info)) KeyError: 'displayName'
ucs-school-import.yaml: r70581 | Bug #41653: updated YAML file for ucs-school-import r70584 | Bug #41653: updated yaml of ucs-school-import ucs-school-import (14.0.14-1): r70582 | Bug #41653: register UDM hook for container/ou in LDAP
OK: hooks are registered in LDAP OK: creating a OU on a DC Slave OK: YAML
UCS@school 4.1 R2 v2 has been released. If this error occurs again, please clone this bug.