Hi there, I stumbled upon another issue with mobileconfig.
When I generate a mobileconfig file, automx inserts b in front of the user name, mail address and password fields in the generated profile.
I attached a screenshot with this message.
The (anonymized to example.com) log file:
2016-03-29 19:53:44,241 DEBUG: --------------- BEGIN environ ---------------
2016-03-29 19:53:44,242 DEBUG: wsgi.multiprocess: True
2016-03-29 19:53:44,245 DEBUG: HTTP_REFERER: https://example.com/apple/
2016-03-29 19:53:44,245 DEBUG: REQUEST_METHOD: POST
2016-03-29 19:53:44,245 DEBUG: PATH_INFO: /mobileconfig
2016-03-29 19:53:44,246 DEBUG: HTTP_ORIGIN: https://example.com
2016-03-29 19:53:44,246 DEBUG: SERVER_PROTOCOL: HTTP/2.0
2016-03-29 19:53:44,246 DEBUG: QUERY_STRING:
2016-03-29 19:53:44,246 DEBUG: CONTENT_LENGTH: 89
2016-03-29 19:53:44,246 DEBUG: HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17
2016-03-29 19:53:44,246 DEBUG: HTTP_COOKIE: PHPSESSID=pt7o5bl7avm8hnqe4b05mgqbr0; ga=GA1.2.1772994614.1454855543
2016-03-29 19:53:44,246 DEBUG: SERVER_NAME: example.com
2016-03-29 19:53:44,247 DEBUG: REMOTE_ADDR: 2001:470:7805:0:d913:691b:4be:dd81
2016-03-29 19:53:44,247 DEBUG: wsgi.url_scheme: https
2016-03-29 19:53:44,247 DEBUG: SERVER_PORT: 443
2016-03-29 19:53:44,247 DEBUG: uwsgi.node: vps
2016-03-29 19:53:44,247 DEBUG: DOCUMENT_ROOT: /home/example.com/mailadmin
2016-03-29 19:53:44,247 DEBUG: HTTP_CONTENT_LENGTH: 89
2016-03-29 19:53:44,247 DEBUG: wsgi.input: <uwsgi.Input object at 0x7fc6a5a16288>
2016-03-29 19:53:44,248 DEBUG: HTTP_HOST: example.com
2016-03-29 19:53:44,248 DEBUG: HTTPS: on
2016-03-29 19:53:44,248 DEBUG: wsgi.multithread: False
2016-03-29 19:53:44,248 DEBUG: HTTP_CONTENT_TYPE: application/x-www-form-urlencoded
2016-03-29 19:53:44,248 DEBUG: REQUEST_URI: /mobileconfig
2016-03-29 19:53:44,248 DEBUG: HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
2016-03-29 19:53:44,248 DEBUG: wsgi.version: (1, 0)
2016-03-29 19:53:44,249 DEBUG: wsgi.run_once: False
2016-03-29 19:53:44,249 DEBUG: wsgi.errors: <open file 'wsgi_errors', mode 'w' at 0x7fc6a59f75d0>
2016-03-29 19:53:44,249 DEBUG: REMOTE_PORT: 51300
2016-03-29 19:53:44,249 DEBUG: HTTP_ACCEPT_LANGUAGE: nl-nl
2016-03-29 19:53:44,249 DEBUG: uwsgi.version: 2.0.7-debian
2016-03-29 19:53:44,249 DEBUG: CONTENT_TYPE: application/x-www-form-urlencoded
2016-03-29 19:53:44,249 DEBUG: wsgi.file_wrapper:
2016-03-29 19:53:44,249 DEBUG: HTTP_ACCEPT_ENCODING: gzip, deflate
2016-03-29 19:53:44,250 DEBUG: --------------- END environ ---------------
2016-03-29 19:53:44,250 DEBUG: Request POST (raw)
_mobileconfig=true&emailaddress=hanstest%40example.com&cn=Test+User&password=testpassword
2016-03-29 19:53:44,251 DEBUG: {u'_mobileconfig': [u'true'], u'password': [u'testpassword'], u'emailaddress': [u'[email protected]'], u'cn': [u'Test User']}
2016-03-29 19:53:44,251 DEBUG: Requesting mobileconfig configuration
2016-03-29 19:53:44,251 DEBUG: Entering data.configure()
2016-03-29 19:53:44,252 DEBUG: NOT FOUND 2001:470:7805:0:d913:691b:4be:dd81, 127.0.0.0/8
2016-03-29 19:53:44,252 DEBUG: NOT FOUND 2001:470:7805:0:d913:691b:4be:dd81, ::1/128
2016-03-29 19:53:44,253 DEBUG: NOT TRUSTED 2001:470:7805:0:d913:691b:4be:dd81
2016-03-29 19:53:44,256 DEBUG: STATIC OrderedDict([(u'smtp_server', 'example.com'), (u'smtp_port', '587'), (u'smtp_encryption', u'starttls'), (u'smtp_auth', u'cleartext'), (u'smtp_auth_identity', u'[email protected]'), (u'smtp_refresh_ttl', '6'), (u'smtp_default', u'Yes')])
2016-03-29 19:53:44,256 DEBUG: STATIC OrderedDict([(u'imap_server', 'example.com'), (u'imap_port', '143'), (u'imap_encryption', u'starttls'), (u'imap_auth', u'cleartext'), (u'imap_auth_identity', u'[email protected]'), (u'imap_refresh_ttl', '6')])
2016-03-29 19:53:44,257 DEBUG: Entering view()
2016-03-29 19:53:44,282 WARNING: openssl: unable to write 'random state'
Google didn't help me with this one, unfortunately. Any hints?