How to access an LDAP user account when disconnected from the work network
Re: LDAP cannot access without network connection
I wanted to post clarity to the steps provided by @paolof.
- Users & Groups" preferences
- "Login Options"
- "Network Account Server" -> Edit -> add my server
- open "Directory Utility" -> "LDAPv3" -> set "Search & Mappings" with the correct "search base" and into "Security" add username and password
Then I go to login window, insert LDAP username and password and the authentication works.
- From LDAP user go into "Users and Groups"
- "Mobile account" -> select "create...", after this the system reboot.
- After the reboot I insert the previous LDAP username and password and it works again.
VAGUE:
I switch off the wifi connection and reboot the system, at the login I have the message that the LDAP system won't work because I'm out of the network. I try anyway to insert LDAP username and password, but the access is deny.
CLARITY:
- Logoff as the LDAP user (which allows the LDAP user account to sync)
- Login with an local admin account
- Turn off the WiFi
- Logoff local admin account
- Login with LDAP username and password, which should work successfully.
Tested with macOS Sierra, High Sierra and Mojave on iMac, MacBook Pro and MacBook Air
MacBook Pro, macOS Mojave (10.14.1)