Univention Bugzilla – Bug 28410
S4-Connector traceback bei UDM users/user ohne samba Option
Last modified: 2016-10-11 10:04:10 CEST
Wenn man einen UDM users/user ohne samba Option anlegt, dann matched der mapping-Filter des S4-Connectors und der Benutzer wird nach Samba4 Synchronisiert (soll das?). Bei der Rück-Synchronisation gibt es dann einen Traceback, weil sambaNTpassword nicht an das OpenLDAP Benutzerobjekt geschrieben werden können. /usr/sbin/univention-directory-manager users/user create --position=cn=users,dc=blubb123,dc=asd --set username=artest1 --set firstname=Max --set lastname=Muster --set organisation=firma.de_GmbH --set mailPrimaryAddress=rpyv3ttup9jrk2rz72b1@blubb123.asd --set password=univention --option=kerberos --option=posix --option=person ============================================================================= 31.08.2012 09:48:47,560 LDAP (PROCESS): sync from ucs: [ user] [ add] cn=artest1,cn=users,dc=blubb123,dc=asd 31.08.2012 09:48:48,52 LDAP (PROCESS): sync from ucs: [ group] [ modify] cn=domain users,cn=groups,dc=blubb123,dc=asd 31.08.2012 09:48:48,68 LDAP (PROCESS): sync from ucs: [ user] [ modify] cn=artest1,cn=users,dc=blubb123,dc=asd 31.08.2012 09:48:48,164 LDAP (PROCESS): sync to ucs: [ user] [ modify] uid=artest1,cn=u sers,dc=blubb123,dc=asd 31.08.2012 09:48:48,490 LDAP (ERROR ): failed in post_con_modify_functions 31.08.2012 09:48:48,490 LDAP (ERROR ): failed in post_con_modify_functions 31.08.2012 09:48:48,491 LDAP (ERROR ): Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1313, in sync_to_ucs f(self, property_type, object) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/password.py", line 685, in password_sync_s4_t o_ucs s4connector.lo.lo.modify(ucs_object['dn'], modlist) File "/usr/lib/pymodules/python2.6/univention/uldap.py", line 504, in modify self.lo.modify_s(dn, ml) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 322, in modify_s return self.result(msgid,all=1,timeout=self.timeout) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 422, in result res_type,res_data,res_msgid = self.result2(msgid,all,timeout) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 426, in result2 res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 432, in result3 ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout) File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call result = func(*args,**kwargs) OBJECT_CLASS_VIOLATION: {'info': "attribute 'sambaNTPassword' not allowed", 'desc': 'Object class violation'} =============================================================================
This issue has been filed against UCS 3.0. UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please reopen.
Works with UCS 4.1.