I am trying to send out a Calendar Payload for Users in OS X (iOS works easy).
My Users are LDAP based in the JSS. When I create a Config Profile with a mail payload, everything works as expected using the $USERNAME variable.
But when I create a configuration Profile with a Calendar Payload, installation fails.
It fails silently when set to automatically install and with an error message when available in Self Service: "There was a problem installing profilename - Contact your Administrator".
In Console on OS X I can see errors thrown by the mdmclient.
I initially had planned to use $USERNAME for the CalDAVUsername and leave the Password field blank (so the user should enter it manually). If I install this via self service I get the error described above, with console telling about wrong credentials.
If I fill the Username/Password fields with credentials of a valid user, everything works.
Just not using a $USERNAME or blank User field.
What am I missing?
