I am unable create managed mobile accounts or login to OS X 10.11.x-based Macs using Managed Mobile accounts.
I have seen other posts regarding similar issues, but this appears to be failry new and specific to only 10.11 El Capitan. It is 100% reproducible in my test lab. Other fixes and worarounds mentioned in other similar posts do not resolve this issue.
I have seen this issue in both OS X10.11.1 and OS X 11.2
Fails for both logging in at the OS X Loginwindow GUI for the first time as well as from the createmanagedmobileaccount command.
AD is working fine. I can look up users and groups, traverse AD via the Directory Utility app and via the dscl commandline tool too.
I can log in locally via Terminal and SSH using AD credentials.
OS X refuses to create a local account and homedir in /Users for Managed Mobile accounts.
Error:
md15q119g7v:~ admin$ sudo /System/Library/CoreServices/ManagedClient.app/Contents/Resources/createmobileaccount -v -n dds
createmobileaccount built Oct 23 2015 21:47:59
verbose output on.
user name = "dds"
home path = "(null)"
user password = "(null)"
prompt for password = FALSE
encrypt new home = FALSE
create as external account = TRUE
home sync new account = FALSE
effective home path = /Users/dds
2015-12-09 10:30:27.186 createmobileaccount[638:8324] MCXCCreateMobileAccount(): Failed to create account. Error = -6304 (mobile account file path is either not a directory or could not be properly created). Cleaning up mobile account record.
* mobile account could not be created: -6304 (MCXCCreateMobileAccount(): [newUser createHomeDirectory] failed)
Screenshots below:
GUI:

CLI:

