Skip to main content

While not specifically about JAMF Casper Suite, I was wondering if anyone else has encountered the following behavior from their managed clients running OS X Mavericks (10.9.5) which are bound to an Active Directory domain.



Intermittently, we will have users report that they suddenly are unable to log into their systems and receive the error "Unable to Create Mobile Account". Typically when this occurs, their mobile account will no longer appear in the Users & Groups pane of System Preferences, though their actual user directory remains in /Macintosh HD/Users/.



We've been able to remediate the issue for every occurrence thus far, but we don't have any real explanation as to what's causing the issue in the first place.



Has anyone else experienced this with their managed clients, and if so, were you able to determine a rhyme or reason as to why it happens?

Worked for me too on a machine that had issues after system update being applied in 12.12.6. The user reported that they couldn't login. I could with other users and noticed there was no mobile account showing in dscl. Intesting I got an error when attempting to create a local account via createmobilehome.



sh-3.2# createmobilehome -v -n user_name 
The mobile account could not be created: 4102 (Could not create the record because one already exists with the same name.)


Interestingly, while the account didn't show in dscl, it did show when listing /var/db/dslocal/nodes/Default/Users. I deleted the above sql files, restarted and was immediately able to create the mobile home in terminal. Thanks!


I went into the Users folder (/Computer/Macintosh HD/Users/), deleted the user folder that was having the error and it fixed the issue for me.


Reply