Q: Unable to add an OS X Server Account to iOS device or Mac
Server 5.0.15 (Build 15S4033) OS X 10.11.1 (El Capitan) iOS 9.1
I am running OS X Server in a home environment. I have several network accounts set up - all of which are able to log in successfully as network users on Macs that are bound to Open Directory. I attempted to configure an OS X Server account on an iOS device - in Mail Contacts Calendars - Other Account - OS X Server Account. It shows my server - and prompts to tell me that the certificate is not trusted (and that is correct). I tell it to trust the certificate - and then it prompts for userid and password. I then get a user name or password is invalid message and can't connect. I get the same error on all iOS devices as well as on my Macs when attempting to add an OS X Server account to a Mac via Internet Accounts. I have several shared folders set up in File Sharing - and I have the Share on iOS box checked. Am I missing a setting somewhere else that is preventing the connect? The network accounts work fine for all other services. This is my first time trying to use an OS X Server account - so I can't say that it ever worked in the past. I get the same error whether I am on the local network or accessing remotely.
~Scott
Mac Mini Server (Late 2012), OS X Server
Posted on Nov 21, 2015 1:14 AM
The Add OS X Server account functionality currently has a limitation of 24 characters on the length of fqdn (fully qualified domain name) of the hostname whether it is referencing nth-level subdomains or not. Example: If your hostname is testingserver.example.com you will get the error - because the fqdn is longer than 24 characters. If your hostname is server.sub.x.example.com - everything will work fine - because the total length of the fqdn is 24 characters or less. This limitation applies to .private host names as well. If you need to use OS X Server accounts feature - the workaround - at least for the time being - is to ensure that the fqdn of your hostname is 24 characters or less. This may be difficult if you don't have any ability to shorten your domain or subdomain name. This has been reported to Apple.
~Scott
Posted on Mar 17, 2016 10:22 AM