---
title: "You entered an invalid username or password for the server in Finder on Mac · Kilobat Guides"
url: "https://kilobat.app/guides/finder-invalid-username-or-password-for-the-server"
description: "Finder says you entered an invalid username or password for the server. Check the account, the domain and the keychain."
---

# “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.

**Fix this with your agent**Copies a prompt for Claude Code, Codex or any agent that can use Terminal.

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.

Applies to: macOS 13 Ventura and later. The text was checked in NetAuthAgent on macOS 27.2. · Checked: 29 October 2026

## 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

1. Test that the server answers on the file sharing port. SMB uses port 445.

   ```
   nc -vz -G 5 server.local 445
   ```
2. Try the address instead of the name. Use Go › Connect to Server and type `smb://192.168.1.10`.
3. Check that your Mac is on the same network as the server. Look at the Network settings.

## How to fix it

1. Type the user name and password again. Choose Registered User, not Guest.
2. Try the domain form of the name if the server uses a domain.
3. Open Keychain Access. Search for the server name and delete the old saved entry.
4. 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](https://support.apple.com/guide/mac-help/if-your-mac-cant-connect-to-another-computer-mchlp1656/mac)
- nc(1), man page installed with macOS 27.2

Checked on 29 October 2026.

## Related guides

- [The Mac cannot connect to a NAS or SMB share](https://kilobat.app/guides/smb-nas-not-connecting-mac): Finder connects to SMB shares with an address such as smb://192.168.1.20/share.
- [Screen Sharing cannot connect to another Mac](https://kilobat.app/guides/screen-sharing-not-connecting-mac): The other Mac must have Screen Sharing on and allow your user.
- [Find the devices on your local network from a Mac](https://kilobat.app/guides/find-devices-on-network): macOS has two built-in ways to see other devices: the ARP table and Bonjour.
- [An app cannot find devices on the local network](https://kilobat.app/guides/local-network-permission): macOS 15 Sequoia and later ask before an app connects to devices on your local network.
