“You entered an invalid username or password for the server” in Finder on Mac
The server refused your name or password. The account, the domain, or an old saved password can be wrong.
My Mac has this problem: “You entered an invalid username or password for the server” in Finder on Mac. Read https://kilobat.app/guides/finder-invalid-username-or-password-for-the-server.md and work through it with me. Install the Kilobat CLI if it’s missing: brew install seifip/kilobat/kilobat. Run the guide’s Terminal and kilobat checks yourself and tell me what you find. List the steps only I can do. Ask before you change any setting.
Symptoms
- Finder shows “You entered an invalid username or password for the server.” with the server name.
- You see the prompt again after you sign in.
- A saved connection used to work.
Likely causes
- A wrong user name, domain or password. The account may need a domain, such as
DOMAIN\name. - An old saved password. The password changed on the server, but the keychain keeps the old one.
- A locked or expired account. The server locks the account after failures.
How to check
Test that the server answers on the file sharing port. SMB uses port 445.
nc -vz -G 5 server.local 445Try the address instead of the name. Use Go › Connect to Server and type
smb://192.168.1.10.Check that your Mac is on the same network as the server. Look at the Network settings.
How to fix it
Type the user name and password again. Choose Registered User, not Guest.
Try the domain form of the name if the server uses a domain.
Open Keychain Access. Search for the server name and delete the old saved entry.
Ask the administrator whether the account is locked or expired.
Questions
Why does it ask again and again?
The saved entry in the keychain can hold the old password.
Is the server down?
No. It answered and refused the login.
Sources
- Error text in NetAuthAgent.app, macOS 27.2 (Localizable.loctable)
- Apple Support: If your Mac can’t connect to another computer
- nc(1), man page installed with macOS 27.2
Checked on 29 October 2026.