Why am I unable to change the password on my Mac? I recently purchased my Macbook Air from school and they said that they have disconnected it from their server. But when I try to change the password for the admin account it shows me the following message:


  The server is not available. Change your password when the server becomes available.


How can I fix this?
I looked around into this issue and there must have been an error when the computer was disconnected from the AD (Active Directory) and the domain controller. One thing I read is that reconnecting it back to the AD/server and disconnecting it again will allow you to change your password. That method was discovered from here. Another thing could be an error with the school's domain controller. The systems administrator setting a preferred domain controller can fix this issue as pointed out here.