Wi-fi login Network Accounts are Unavailable
I presume you mean this error message:



I have had this problem in the past, due to an incorrectly configured DNS on the local machine. If it's only the Wi-Fi that the network accounts are unavailable on (as it was for me), try changing the DNS to point to the correct server for Wi-Fi connections.

networksetup -setdnsservers Wi-Fi &lt;server-ip&gt;