Univention Bugzilla – Full Text Bug Listing |
Summary: | sync_to_ucs: Password sync for machine accounts fails silently | ||
---|---|---|---|
Product: | UCS | Reporter: | Arvid Requate <requate> |
Component: | S4 Connector | Assignee: | Arvid Requate <requate> |
Status: | CLOSED FIXED | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P5 | CC: | best, stoeckigt |
Version: | UCS 4.4 | ||
Target Milestone: | UCS 4.4-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=48390 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 3: Simply Wrong: The implementation doesn't match the docu |
Who will be affected by this bug?: | 4: Will affect most installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.137 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2019060521000496 | Bug group (optional): | |
Max CVSS v3 score: |
Description
Arvid Requate
2019-06-13 18:09:13 CEST
7e35f8aa14 | Fix traceback password sync_to_ucs for machine accounts 434a0e8251 | Advisory Regression since: Bug #48390 OK: problem reproduced $ udm computers/linux modify --dn cn=jxipxyjynw,l=school,l=dev --set password=foobar123 07.06.2019 13:57:24.941 LDAP (PROCESS): sync from ucs: [ dc] [ modify] CN=jxipxyjynw,DC=school,DC=dev 07.06.2019 13:57:26.499 LDAP (PROCESS): sync to ucs: [ dc] [ modify] cn=jxipxyjynw,l=school,l=dev 07.06.2019 13:57:26.517 LDAP (ERROR ): get_ucs_object: could not identify UDM object type: cn=jxipxyjynw,l=school,l=dev 07.06.2019 13:57:26.517 LDAP (PROCESS): get_ucs_object: using default: users/user 07.06.2019 13:57:26.519 LDAP (WARNING): get_ucs_object: failure was: 07.06.2019 13:57:26.520 LDAP (WARNING): Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 999, in get_ucs_object ucs_object = univention.admin.objects.get(module, co=None, lo=self.lo, position='', dn=searchdn) File "/usr/lib/pymodules/python2.7/univention/admin/objects.py", line 113, in get return module.object(co, lo, position, dn, superordinate=superordinate, attributes=attributes) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/users/user.py", line 1243, in __init__ univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes=attributes) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 232, in __init__ raise univention.admin.uexceptions.wrongObjectType('%s is not recognized as %s.' % (self.dn, self.module)) wrongObjectType: cn=jxipxyjynw,l=school,l=dev is not recognized as users/user. 07.06.2019 13:57:26.520 LDAP (ERROR ): password_sync_s4_to_ucs: couldn't get user-object from UCS OK: fixed 07.06.2019 14:05:17.153 LDAP (PROCESS): sync from ucs: [ dc] [ modify] cn=jxipxyjynw,DC=school,DC=dev 07.06.2019 14:05:18.797 LDAP (PROCESS): sync to ucs: [ dc] [ modify] cn=jxipxyjynw,l=school,l=dev 07.06.2019 14:05:25.389 LDAP (PROCESS): sync from ucs: [ dc] [ modify] cn=jxipxyjynw,DC=school,DC=dev OK: pwdLastSet is changed afterwards (univention-s4search doesn't find the password attribute) ~OK: YAML Some student could write a test case... |