Univention Bugzilla – Bug 48725
mailAlternativeAddress (smtp:aaa@...) not synced from AD to UCS
Last modified: 2021-01-18 22:21:14 CET
UCS 4.4-0 with univention-ad-connector and connector/ad/mapping/user/primarymail=yes Windows 2012 smtp:...@... added to an user object in AD via LDAP attribute editor, but this does not show up as mailAlternativeAddress in UCS (as it should be) -> ldapsearch -h WIN-M1LHUHEJFSI.w2k12.test -D cn=Administrator,cn=Users,dc=w2k12,dc=test -x -w Univention.99 cn=fb1| grep pro proxyAddresses: smtp:dsfdsf@w2k12.test proxyAddresses: smtp:fb1234@w2k12.test proxyAddresses: smtp:hans@w2k12.test proxyAddresses: SMTP:fb12@w2k12.test -> univention-ldapsearch uid=fb1| grep -i mail objectClass: univentionMail mailPrimaryAddress: fb12@w2k12.test
The other direction works (UCS -> AD) -> ldapsearch -h WIN-M1LHUHEJFSI.w2k12.test -D cn=Administrator,cn=Users,dc=w2k12,dc=test -x -w Univention.99 cn=fb1| grep pro proxyAddresses: SMTP:fb12@w2k12.test -> udm users/user modify --dn uid=fb1,dc=w2k12,dc=test --append mailAlternativeAddress=fbb12@w2k12.test ->ldapsearch -h WIN-M1LHUHEJFSI.w2k12.test -D cn=Administrator,cn=Users,dc=w2k12,dc=test -x -w Univention.99 cn=fb1| grep pro proxyAddresses: smtp:fbb12@w2k12.test proxyAddresses: SMTP:fb12@w2k12.test
connector/ad/mapping/user/alternativemail was not set on your test vm, which would be set by installing univention-ad-connector-exchange, see Bug #43216.
(In reply to Arvid Requate from comment #2) > connector/ad/mapping/user/alternativemail was not set on your test vm, which > would be set by installing univention-ad-connector-exchange, see Bug #43216. yes, with univention-config-registry set connector/ad/mapping/user/primarymail?true connector/ad/mapping/group/primarymail?true connector/ad/mapping/user/alternativemail?true connector/ad/mapping/group/alternativemail?true connector/ad/mapping/user/exchange?true connector/ad/mapping/group/exchange?true the synchronization works in both directions.