Bug 48411 - mailAlternativeAddress is missing for group objects
mailAlternativeAddress is missing for group objects
Status: RESOLVED DUPLICATE of bug 28692
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
: 45247 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-03 09:16 CET by Stephan Hendl
Modified: 2021-05-03 21:23 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Feature Request
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?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017081821000131
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 Stephan Hendl 2019-01-03 09:16:13 CET
+++ This bug was initially created as a clone of Bug #45247 +++

It is possible to configure the synchronization of mailAlternativeAddress attributes for groups. UCR variable connector/ad/mapping/group/alternativemail. This makes sense in Exchange setups.

Unfortunately, UDM doesn't provide the attribute which leads to a rejected object:

20.08.2017 06:25:12,59 LDAP        (PROCESS): sync to ucs:   [         group] [    modify] cn=gp1,cn=groups,dc=ldap,dc=base
20.08.2017 06:25:12,62 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
20.08.2017 06:25:12,67 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/connector/__init__.py", line 1315, in sync_to_ucs
    result = self.modify_in_ucs(property_type, object, module, position)
  File "/usr/lib/pymodules/python2.7/univention/connector/__init__.py", line 1167, in modify_in_ucs
    self.__set_values(property_type, object, ucs_object)
  File "/usr/lib/pymodules/python2.7/univention/connector/__init__.py", line 1100, in __set_values
    set_values(self.property[property_type].attributes[attr_key])
  File "/usr/lib/pymodules/python2.7/univention/connector/__init__.py", line 1054, in set_values
    compare = [ucs_object[ucs_key], value]
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 288, in __getitem__
    elif key not in self.__no_default and self.descriptions[key].editable:
KeyError: 'mailAlternativeAddress'

It worked with UCS 4.1-4.
Comment 1 Stephan Hendl 2019-01-03 09:16:52 CET
In 4.3-3 the situation is still the same. Meanwhile we've set 

connector/ad/mapping/group/alternativemail=false

in oder to the connector working.
Comment 2 Stefan Gohmann univentionstaff 2019-01-03 13:26:07 CET
*** Bug 45247 has been marked as a duplicate of this bug. ***
Comment 3 Florian Best univentionstaff 2021-05-03 21:23:38 CEST

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