Hallo,
wir haben hier 2 UCS Server zur Erprobung eingerichtet, Installation als vmWare Image unter ESXi, der Master ist mit unserem AD gekoppelt. Hat auch erst alles gut funktioniert, seit kurzem produziert er aber jede Menge Sync Fehler.
try to sync 3 changes from AD
done: (1) (2) (3)
Changes from AD: 0 (1004 saved rejected)
Im LDAP Verzeichnis unterer Univention\temporary\uidNumber hab ich geschaut, keine Einträge (War ein Hinweis zu einem anderen Fall).
Komplette Fehlermeldung:
20.06.2018 10:35:12,323 LDAP (ERROR ): Unknown Exception during sync_to_ucs
20.06.2018 10:35:12,323 LDAP (ERROR ): Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/connector/__init__.py", line 1343, in sync_to_ucs
result = self.add_in_ucs(property_type, object, module, position)
File "/usr/lib/pymodules/python2.7/univention/connector/__init__.py", line 1186, in add_in_ucs
return ucs_object.create() and self.__modify_custom_attributes(property_type, object, ucs_object, module, position)
File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 538, in create
dn = self._create(response=response, serverctrls=serverctrls)
File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1135, in _create
al = self._ldap_addlist()
File "/usr/lib/pymodules/python2.7/univention/admin/handlers/computers/windows.py", line 433, in _ldap_addlist
self.uidNum = univention.admin.allocators.request(self.lo, self.position, 'uidNumber')
File "/usr/lib/pymodules/python2.7/univention/admin/allocators.py", line 195, in request
return acquireRange(lo, position, type, _type2attr[type], [{'first': 1000, 'last': 55000}, {'first': 65536, 'last': 1000000}], scope=_type2scope[type])
File "/usr/lib/pymodules/python2.7/univention/admin/allocators.py", line 159, in acquireRange
raise univention.admin.uexceptions.noLock(_('The attribute %r could not get locked.') % (atype,))
noLock: The attribute 'uidNumber' could not get locked.
Software aus dem AppCenter lässt sich mit der gleichen Meldung ebenfalls nicht installieren.
Samba DB Check, falls das eine Rolle spielt, spuckt eine Fehlermeldung aus:
ERROR(<type 'exceptions.ValueError'>): uncaught exception - unable to parse dn string
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 176, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line 138, inrun
check_for_conflicts=check_for_conflicts)
File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 91, in __init__
self.infrastructure_dn = ldb.Dn(samdb, "CN=Infrastructure," + samdb.domain_dn())
Blockiert dieser Eintrag alle weiteren? Bin Linux-seitig nicht wirklich fit und gerade entsprechend ratlos.