Bug 28410 - S4-Connector traceback bei UDM users/user ohne samba Option
S4-Connector traceback bei UDM users/user ohne samba Option
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Connector maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-04 12:26 CEST by Arvid Requate
Modified: 2016-10-11 10:04 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2012-09-04 12:26:17 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'}
=============================================================================
Comment 1 Stefan Gohmann univentionstaff 2016-10-11 08:02:16 CEST
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.
Comment 2 Florian Best univentionstaff 2016-10-11 10:04:10 CEST
Works with UCS 4.1.