AFP548 Changing the world one server at a time.

Logins via OpenLDAP not cached

Home › Forums › OS X Server and Client Discussion › Open Directory › Logins via OpenLDAP not cached

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #371484
    hobleyd
    Participant

    Hello,

    I have configured my Mac (Leopard) clients to authenticate against a vanilla OpenLDAP server with the Directory Utility and the LDAPv3 Service. This works well when connected to the network.

    However, when I take my laptop home it will not let me log in as it can’t connect to the LDAP server.

    Googling this, I was under the impression that Mac OS should cache the last login so that I can log in while not connected to the network. Is there something I need to do to make this happen?

    Cheers,
    David

    #371488
    hobleyd
    Participant

    🙂 Ah ha – that would explain things. Thanks.

    Having said that, how do I specify this? Following on from your pointer, I just went to System Prefs -> Accounts and to my network account. Clicked on the lock to make changes, but the Mobile Account button is grayed out.

    I logged on as root and did the same thing, but it can’t see my Network account at all.

    Cheers,
    David

    #371492
    hobleyd
    Participant

    Ok, worked it out. For some reason I couldn’t do this via the System Preferences. However running the following command worked as expected…

    sudo /System/Library/CoreServices/ManagedClient.app/Contents/Resources/createmobileaccount -vsn username -h /Users/username

    Hope that helps anyone else having this problem.

    Cheers,
    David

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.