When connecting over AFP using Mac OS X Client (Go Menu > Connec to Server…) to Mac OS X Server (AFP protocol enabled and configured in Server admin)
Connection Failed -5000
This has been observed in these scenarios:
1. The username you are trying to log in with has some corrupted or unavailable password (possibly because you switched password types or migrated users from one server), so you must reset this users password.
2. The /Users folder, which is set to Network Mount in WGM (check “Enable network mounting of this share point”) must have Everyone permissions of “Read Only”. Having everyone permissions set to none causes this error as well.