Bug 53137 - Reject for Gast after setting up ad connector with german AD - but reject disappears
Reject for Gast after setting up ad connector with german AD - but reject dis...
Status: NEW
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-22 18:40 CEST by Felix Botner
Modified: 2021-04-28 10:48 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.011
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 2021-04-22 18:40:28 CEST
After setting up a sync mode connection to a german AD we get

22.04.2021 18:34:30.099 LDAP        (PROCESS): sync to ucs:   [          user] [       add] uid=Gast,cn=users,dc=five,dc=test
22.04.2021 18:34:30.100 LDAP        (WARNING): __set_values: The attributes for lastname have not been removed as it represents a mandatory attribute
22.04.2021 18:34:30.106 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
22.04.2021 18:34:30.109 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/connector/__init__.py", line 1399, in sync_to_ucs
    result = self.add_in_ucs(property_type, object, module, position)
  File "/usr/lib/python3/dist-packages/univention/connector/__init__.py", line 1175, in add_in_ucs
    res = ucs_object.create(serverctrls=serverctrls, response=response)
  File "/usr/lib/python3/dist-packages/univention/admin/handlers/__init__.py", line 545, in create
    self._ldap_pre_ready()
  File "/usr/lib/python3/dist-packages/univention/admin/handlers/users/user.py", line 1614, in _ldap_pre_ready
    raise univention.admin.uexceptions.primaryGroupWithoutSamba(self['primaryGroup'])
univention.admin.uexceptions.primaryGroupWithoutSamba: cn=Domänen-Gäste,cn=users,dc=five,dc=test

after a couple of minutes this disappears

22.04.2021 18:34:39.037 LDAP        (PROCESS): Using W2K12 as AD Netbios domain name
22.04.2021 18:34:41.134 MAIN        (------ ): DEBUG_INIT
22.04.21 18:34:41.134  DEBUG_INIT
22.04.2021 18:34:41.203 LDAP        (PROCESS): Using W2K12 as AD Netbios domain name
22.04.2021 18:35:25.769 LDAP        (PROCESS): sync to ucs: Resync rejected dn: CN=Gast,CN=Users,DC=w2k12,DC=test
22.04.2021 18:35:25.823 LDAP        (PROCESS): sync to ucs:   [          user] [       add] uid=Gast,cn=users,dc=five,dc=test
22.04.2021 18:35:25.826 LDAP        (WARNING): __set_values: The attributes for lastname have not been removed as it represents a mandatory attribute
22.04.2021 18:35:26.223 LDAP        (ERROR  ): password_sync: sync failed, no result from AD