Bug 45247 - mailAlternativeAddress is missing for group objects
mailAlternativeAddress is missing for group objects
Status: RESOLVED DUPLICATE of bug 48411
Product: UCS
Classification: Unclassified
Component: UMC - Groups
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-23 10:59 CEST by Stefan Gohmann
Modified: 2019-01-03 13:26 CET (History)
5 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 Stefan Gohmann univentionstaff 2017-08-23 10:59:39 CEST
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 Florian Best univentionstaff 2017-08-23 11:07:58 CEST
Why did it work in UCS 4.1-4?
Would it help to add the property to groups/group?
Comment 2 Stefan Gohmann univentionstaff 2017-08-23 11:12:39 CEST
(In reply to Florian Best from comment #1)
> Why did it work in UCS 4.1-4?

I have no idea.
Comment 3 Stefan Gohmann univentionstaff 2019-01-03 07:18:44 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
Comment 4 Stephan Hendl 2019-01-03 08:55:25 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 5 Stefan Gohmann univentionstaff 2019-01-03 13:26:07 CET

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