mcoliver-88

Q: Open Directory Mac OSx Server You are unable to log into the user account "Name" at this time.

Hi Guys/ Girls

 

I am having a serious hair pulling moment, and i cant understand what i am doing wrong. I am creating a Test server on my macbook pro, to see if everything works they way i want it too before i go and purchase a mac mini. So Far using Moutain lion server i have managed to setup the basics using a network that can be accased over the internet.

 

I have setup DNS which works correctly as i have used NSLOOKUP in terminal and get both my host name and IP address when using it. I am trying to get open directory working, however i am running into problems.

 

 

So far i have turned on open directory and have created a new open directory domain (Master) and created a network used called "Nick" whos homefolder i have setup in file sharing, creating a new sharepoint on the harddrive in users.

 

On my RMBP i have binded the mac to the server using beanserver.local. When using DNS that i have setup " server.example.co.uk" it  would not work  and i would get an error message (Error 2100)

 

When i try logging in from the mac that has been bound to server, i get a message saying "You are unable to log into the user account "Nick" at this time. I have tried everything, including readinf other Apple forums and i cant see what the issue is. I am very new to Apple server, however this so far has been a pain in the bum.

 

Any help would be great

 

Thanks in advanced

 

Michael

Posted on Jun 25, 2013 9:25 AM

Close

Q: Open Directory Mac OSx Server You are unable to log into the user account "Name" at this time.

  • All replies
  • Helpful answers

  • by John Lockwood,

    John Lockwood John Lockwood Jun 26, 2013 1:48 AM in response to mcoliver-88
    Level 6 (9,324 points)
    Servers Enterprise
    Jun 26, 2013 1:48 AM in response to mcoliver-88

    The best first test for a server is to run the following command in Terminal on the server (or servers if you have more than one).

     

    sudo changeip -checkhostname

     

    Have you configured a fileshare to hold users network home directories? This is an extra option in File Sharing in Server.app.

  • by mcoliver-88,Helpful

    mcoliver-88 mcoliver-88 Jun 26, 2013 6:27 AM in response to John Lockwood
    Level 1 (0 points)
    Jun 26, 2013 6:27 AM in response to John Lockwood

    Thanks for your reply, i have solved the issue. On my router i had set no primary DNS, this was still set to obtain from my ISP. So i set it manually and it all works

     

    I do have another question...... If this is even possible. basically i use my laptop outside of the network at work all the time. So if i had a centrailised login in it would not connect to the server. How can i take the laptop out of my house do my work, and when i come home that all my documents and everything sync to the server, that way if i log onto another machine such as my imac then those documents would appear?

     

    Thanks

    Michael

  • by John Lockwood,Helpful

    John Lockwood John Lockwood Jun 26, 2013 7:04 AM in response to mcoliver-88
    Level 6 (9,324 points)
    Servers Enterprise
    Jun 26, 2013 7:04 AM in response to mcoliver-88

    I do have another question...... If this is even possible. basically i use my laptop outside of the network at work all the time. So if i had a centrailised login in it would not connect to the server. How can i take the laptop out of my house do my work, and when i come home that all my documents and everything sync to the server, that way if i log onto another machine such as my imac then those documents would appear?

     

    There are four types of user account.

     

    1. Local account - nothing to do with a server, user files are stored locally

    2. Network login - files are stored on a server

    3. Mobile account - account is defined on the server but files are stored locally and a copy of the account is used locally and the password synced to the server.

    4. Portable Home Directory account - account is defined on the server and a copy of the account is used locally and the password synced to the server. The files are stored locallly and synced to a copy on the server. This means in theory the user could also login on another computer and see their files.

     

    This is usually configured via Workgroup Manager as a managed preference.

  • by mcoliver-88,

    mcoliver-88 mcoliver-88 Jun 26, 2013 9:18 AM in response to John Lockwood
    Level 1 (0 points)
    Jun 26, 2013 9:18 AM in response to John Lockwood

    That's fantastic it sounds like portable home directory is the one to be using. How do I go about doing that?

  • by John Lockwood,

    John Lockwood John Lockwood Jun 26, 2013 9:52 AM in response to mcoliver-88
    Level 6 (9,324 points)
    Servers Enterprise
    Jun 26, 2013 9:52 AM in response to mcoliver-88

    You would start off with the server running Open Directory and sharing a volume or folder configured to hold user home directories i.e. a setup for network logins with network home directories.

     

    You would then in Workgroup Manager need to put the users you want to do this for in a group, you then select that group and select the preferences icon and configure that group (via the Mobility choice) to Create a mobile account when a network user logs in. You then the Rules tab set the rules for Home Sync.

     

    The above would apply to a group of users, meaning that no-matter what type of computer the user logs in via the settings would apply. It is also possible instead to set this for a group of computers. You can then add just laptops to this group so it only applies when they login on a laptop. You can then have a traditional network account on a desktop, and a mobile/portable account on a laptop for the same user.

     

    The following may be of help.

     

    http://www.dummies.com/how-to/content/how-to-configure-the-mobile-home-folder-on -lion-se.html

     

    It still applies to Mountain Lion.