Univention Bugzilla – Bug 42857
Re-check LDAP attribute upper-/lower case spelling
Last modified: 2019-01-03 07:19:52 CET
We should check the root cause for it and if a client could control if a LDAP attribute is written upper or lowercase, we should re-check the attribute handling. +++ This bug was initially created as a clone of Bug #42855 +++ If I join a Windows 8.1 against the UCS 4.1-4 development version, I get the following traceback: 03.11.2016 16:40:04,216 LDAP (PROCESS): sync to ucs: [windowscomputer] [ add] cn=,cn=computers,dc=deadlock43,dc=intranet 03.11.2016 16:40:04,271 LDAP (ERROR ): Unknown Exception during sync_to_ucs 03.11.2016 16:40:04,272 LDAP (ERROR ): Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1473, in sync_to_ucs result = self.add_in_ucs(property_type, object, module, position) File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1257, in add_in_ucs self.__set_values(property_type, object, ucs_object, modtype='add') File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1188, in __set_values set_values(self.property[property_type].attributes[attr_key]) File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1176, in set_values ucs_object[ucs_key] = [] File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 2659, in __setitem__ super(simpleComputer, self).__setitem__(key, value) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 207, in __setitem__ raise univention.admin.uexceptions.valueRequired, _('The property %s is required') % self.descriptions[key].short_description valueRequired: The property Windows workstation/server name is required 03.11.2016 16:40:04,273 LDAP (WARNING): sync to ucs was not successfull, save rejected 03.11.2016 16:40:04,273 LDAP (WARNING): object was: CN=WIN882,CN=Computers,DC=deadlock43,DC=intranet UCS 4.1-3: root@master411:~# univention-s4search CN=WIN7PRO200 cn # record 1 dn: CN=WIN7PRO200,CN=Computers,DC=deadlock41,DC=intranet cn: WIN7PRO200 UCS 4.1-4: root@master431:~# univention-s4search CN=WIN882 cn # record 1 dn: CN=WIN882,CN=Computers,DC=deadlock43,DC=intranet CN: WIN882
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.