Jabber User Configuration Profile incorrect server domain name when it differes from domain name in user name

Originator:michalm.mac
Number:rdar://24696058 Date Originated:17.2.2016
Status:Open Resolved:
Product:OS X Server Product Version:10.11.3 (15D21)
Classification:Other Bug Reproducible:Always
 
Summary:
We want to install Jabber configuration profile for user via script launched by LaunchAgent during his first login. Script modifies template configuration profile (updates JabberUserName) and installs it.

However we encountered problem in appling configuration when domain name for JabberUserName (test.user@company.com) and JabberHostName (jabber.company.com) differs.

Steps to Reproduce:
1. Create Jabber configuration profile for specific user (see attached jabber.mobileconfig).
2. Install config profile manually or with profiles -I -F command for some user.
3. Compare JabberUserName and JabberHostName in configuration profile file with actual applied configuration in Messages.app -> Preferences -> Accounts

Expected Results:
Server should be: jabber.company.com
User should be: test.user@company.com

Actual Results:
Server is: company.com
User is: test.user@company.com

As you can see "jabber" portion of server domain name was cut. Applied configuration does not work because of this.

Version:
10.11.3 (15D21)

Attachments:
'jabber.mobileconfig', 'actual_configuration.png' and 'desired_configuration.png' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!