MplsEE08

Q: Network users can login via console but not GUI

I have a brand new MacBook running OS X 10.9.5 and network users cannot login via the login window. I get an error that says "You are unable to login to the account "username" at this time. Logging in to the account failed because an error occurred."

 

If I open the console from the login window (>console), network users can login fine but an error pops up that says "No home directory: /Network/Servers/server.example.com/Users/username"

 

In the system logs, I see errors that say: authorizationhost[1258]: ERROR | -[HomeDirMounter mountNetworkHomeWithURL:attributes:dirPath:username:] | PremountHomeDirectoryWithAuthentication( url=afp://server.example.com/Users, homedir=/Network/Servers/server.example.com/Users/username, name=username ) returned 45

 

If I login to the machine with a local admin account I can connect to the user account server and mount the users folder just fine. No other machines seem to have a issue.

 

What does "returned 45" mean and where else can I look?

 

Thanks!

Mac mini Server (Mid 2011), Mac OS X (10.7.4)

Posted on Feb 20, 2015 5:53 PM

Close

Q: Network users can login via console but not GUI

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Feb 21, 2015 9:37 AM in response to MplsEE08
    Level 10 (207,995 points)
    Applications
    Feb 21, 2015 9:37 AM in response to MplsEE08
  • by MplsEE08,Solvedanswer

    MplsEE08 MplsEE08 Feb 21, 2015 9:46 AM in response to MplsEE08
    Level 1 (65 points)
    Feb 21, 2015 9:46 AM in response to MplsEE08

    Solved it. When the server's hostname was changed, the mount path for home directories did not get updated. In workgroup manager, the path to home directories was still using the old server name. I manually added the new path with the new server name to the list but this did not work. I created a new share point in file sharing and made it available for home directories then changed a test user to the new share point. The user was able to log in and the new share point path was added to the list of home directories in workgroup manager. I changed the user back to the regular users folder and then they could no longer login.

     

    I finally found it possible to use directory utility to edit the mounts in the directory server and change the mount path for home directories to the correct server name. Something that is apparently impossible with workgroup manager. Users can now login just fine.