MacOS – “Network accounts are unavailable” when logging into OS X Lion Server

macosserver.app

While trying to set up a server, I appear to have disabled user logins and now when I start my MacBook I only get the "Name" input field (followed by a red dot), the error message “Network accounts are unavailable” and a password field. All external access has been shut off to this server.

I have run Disk Utility and fixed permissions and I have re-installed Lion (not a clean install).

The only access I have is via afp to shared Public Folders.

Running commands in Terminal does not seem to be an option as I seem to be locked out of the main directory.

Is there some way I can re-establish the normal login window?

Best Answer

You can enter the username and password of the local administrator account at the login window you are seeing. The local administrator would be the user account that was created when first setting up OS X on the MacBook and is not associated with any network account server.

Once logged in to the local admin, open System Preferences, click on Users and Groups, unlock the preference pane, click on login options, and change "Display login window as" to "List of Users". You can also edit Network Account Server binding from the preference pane.