Bug 44277 - w2k3 de connector reject for user "gast"
w2k3 de connector reject for user "gast"
Status: RESOLVED DUPLICATE of bug 44276
Product: UCS
Classification: Unclassified
Component: AD Takeover
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-04 10:02 CEST by Felix Botner
Modified: 2017-04-04 19:37 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 Felix Botner univentionstaff 2017-04-04 10:02:20 CEST
German w2k3 ad takeover with UCS 4.2:

04.04.2017 09:59:32,537 LDAP        (PROCESS): sync from ucs:   Resync rejected file: /var/lib/univention-connector/s4/1491235004.285733
04.04.2017 09:59:32,543 LDAP        (PROCESS): sync from ucs: [          user] [       add] cn=gast,cn=users,DC=w2k3,DC=test
04.04.2017 09:59:32,565 LDAP        (WARNING): sync failed, saved as rejected
        /var/lib/univention-connector/s4/1491235004.285733
04.04.2017 09:59:32,565 LDAP        (WARNING): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 843, in __sync_file_from_ucs
    if ((old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, o
bject, premapped_ucs_dn, old_dn, old, new))):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 2716, in sync_from_ucs
    f(self, property_type, object)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 95, in primary_group_sync_from_ucs
    return s4connector.primary_group_sync_from_ucs(key, object)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 1504, in primary_group_sync_from_ucs
    s4_members = self.get_s4_members(s4_group_object['dn'], ldap_object_s4_group)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 1141, in get_s4_members
    s4_members = s4_attrs.get('member')
AttributeError: 'NoneType' object has no attribute 'get'
Comment 1 Arvid Requate univentionstaff 2017-04-04 13:25:28 CEST
We should test again with W2K3 R2.
Comment 2 Felix Botner univentionstaff 2017-04-04 14:13:44 CEST
(In reply to Arvid Requate from comment #1)
> We should test again with W2K3 R2.

also with w2k12
Comment 3 Arvid Requate univentionstaff 2017-04-04 19:37:22 CEST
I guess this is fixed with Bug #44276 as that rejects seems to have resolved after applying a similar patch in your test VM.

*** This bug has been marked as a duplicate of bug 44276 ***