# Time Machine backup fails with Authentication Error 80 on TBS-h574TX

**URL:** <https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613>\
**Category:** Backup and data protection\
**Created:** [March 20, 2026, 5:08am UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613 "2026-03-20T05:08:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ozzy](https://community.qnap.com/user_avatar/community.qnap.com/ozzy/32/4819_2.png) [@Ozzy](https://community.qnap.com/u/Ozzy)\
**Post date:** [March 20, 2026, 5:08am UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/1 "2026-03-20T05:08:25Z")

</div>

**Environment:**

- NAS: QNAP TBS-h574TX, firmware QTS 5.2.4 build 20250321

- SMB Service: Samba 4.20.0 (userspace, ksmbd disabled)

- macOS: tested on multiple Macs including stable releases

- Network: direct SMB connectivity confirmed working

**Symptoms:**

- Time Machine backup fails immediately with “network username or password” error

- Manual SMB mount works correctly with same credentials

- `smbutil view -A` authenticates successfully

- backupd fails with `NAConnectToServerSync error 80 (EAUTH)`

**What was investigated:**

- Bonjour/mDNS: `_adisk._tcp` service was missing → added manually, now working

- ksmbd kernel driver: was active → disabled, switched to Samba userspace

- `.streams` directory: was missing and vetoed → created and removed from veto list

- Keychain: cleaned and rebuilt multiple times

- smbpasswd: TimeUser confirmed present with valid NT hash

- NTLMv2: forced on macOS side, no change

- tcpdump: backupd opens TCP connection then sends FIN immediately without SMB negotiation when auth fails

**Key log from macOS backupd:**

```auto
NAConnectToServerSync failed with error: 80 (Authentication error)
the correct user or password info may not exist in the System.keychain 
or the server may no longer allow access for this user

```

**Key observation:** Manual mount via Finder and `AuthType=TimeMachine` URL both succeed, but backupd’s internal authentication mechanism (`AuthType=TimeMachine` via NetAuth framework) consistently fails. This suggests an incompatibility between backupd’s authentication protocol and QNAP’s Samba implementation.

**Request:** Has anyone successfully configured Time Machine on TBS-h574TX with recent macOS? Is there a known firmware fix or Samba configuration workaround?

---

<div class="post-metadata">

**Author:** ![NA9D](https://community.qnap.com/user_avatar/community.qnap.com/na9d/32/1278_2.png) [@NA9D](https://community.qnap.com/u/NA9D)\
**Post date:** [March 21, 2026, 1:26pm UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/2 "2026-03-21T13:26:08Z")

</div>

I don’t know if it has been fixed yet but there was a bug in Sequoia that prevented Time Machine from working properly if there were non-ASCII characters (ie: non-English) in the file path.

Do you have non-English characters?

---

<div class="post-metadata">

**Author:** ![Ozzy](https://community.qnap.com/user_avatar/community.qnap.com/ozzy/32/4819_2.png) [@Ozzy](https://community.qnap.com/u/Ozzy)\
**Post date:** [March 21, 2026, 7:49pm UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/3 "2026-03-21T19:49:45Z")

</div>

I saw that issue and made the path simple with no accent or special character, still fails

---

<div class="post-metadata">

**Author:** ![NA9D](https://community.qnap.com/user_avatar/community.qnap.com/na9d/32/1278_2.png) [@NA9D](https://community.qnap.com/u/NA9D)\
**Post date:** [March 23, 2026, 1:27pm UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/4 "2026-03-23T13:27:07Z")

</div>

OK. What happens if you create a new path for TimeMachine (ie: back up to a different directory - not optimal but it can help resolve protocol issues)?

---

<div class="post-metadata">

**Author:** ![vojgin](https://community.qnap.com/user_avatar/community.qnap.com/vojgin/32/4897_2.png) [@vojgin](https://community.qnap.com/u/vojgin)\
**Post date:** [April 1, 2026, 10:16pm UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/5 "2026-04-01T22:16:51Z")

</div>

Facing the exact same issue with my machine. Unable to do a Time Machine backup.

```auto
Time Machine couldn’t complete the backup to “Time Machine”

The network backup disk could not be accessed because there was a problem with the network username or password. You may need to re-select the backup disk and enter the correct username and password.

```

```auto
NAConnectToServerSync failed with error: 80 (Authentication error) for url: ***

```

No matter the name of Shared Folder, even simple “timemachine“ still does not work.

User rights are set up corretly. I can get in via SMB and browse/edit files just fine. Just the backupd fails.

---

<div class="post-metadata">

**Author:** ![NA9D](https://community.qnap.com/user_avatar/community.qnap.com/na9d/32/1278_2.png) [@NA9D](https://community.qnap.com/u/NA9D)\
**Post date:** [April 1, 2026, 11:17pm UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/6 "2026-04-01T23:17:41Z")

</div>

I would then open a ticket with QNAP. Maybe they can help.

---

<div class="post-metadata">

**Author:** ![SteveKo](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@SteveKo](https://community.qnap.com/u/SteveKo)\
**Post date:** [April 9, 2026, 9:44am UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/7 "2026-04-09T09:44:50Z")

</div>

We suggest trying Firmware 5.2.9.3410 with Samba 4.15.005 and see if the issue persists. Thanks!

---

<div class="post-metadata">

**Author:** ![Pawel](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@Pawel](https://community.qnap.com/u/Pawel)\
**Post date:** [April 28, 2026, 3:19pm UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/8 "2026-04-28T15:19:49Z")

</div>

Nothing helped. I’m experiencing same issue - no chance to do the TimeMachine backup on this NAS. I recently upgraded to QuTS 6.0 RC and nothing changed. No matter I do this manually or use HBS3 - my Mac is unable to authenticate. Please look into it.

---

<div class="post-metadata">

**Author:** ![vojgin](https://community.qnap.com/user_avatar/community.qnap.com/vojgin/32/4897_2.png) [@vojgin](https://community.qnap.com/u/vojgin)\
**Post date:** [April 28, 2026, 8:12pm UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/9 "2026-04-28T20:12:07Z")

</div>

## So I made it work finally. And it’s really nasty.

* * *

# macOS 26.4 silently broke Time Machine over SMB — and every fix online only covers HALF of the bug

TL;DR: There are **two** bugs. Every thread online only talks about the first. That’s why nothing works.

## Symptoms

- Backup fails instantly with `BACKUP_FAILED_AUTHENTICATION_ERROR (29)` / error 80
- You can mount the exact same share via Finder with the same creds, no issue
- `smbutil view //USER@nas.local` works fine
- An older Synology/NAS destination added before Tahoe keeps working. Only the newly re-added destinations fail.

## The two bugs

**Bug A — “isKnownServer 0”:** Tahoe gates stored SMB creds on a whitelist plist. Every fix online covers this:

```bash
sudo /usr/libexec/PlistBuddy -c 'Add :nas.local bool true' \
  '/private/var/root/Library/Group Containers/group.com.apple.NetworkAuthorization.ServerMarkers/serverMarkers.plist'

```

Add every hostname form that appears in your TM URL, **including the raw Bonjour FQDN with trailing dot** like `NAS(TimeMachine)._smb._tcp.local.`.

**Bug B — keychain ACL regression (the one nobody talks about):**

- `NetAuthSysAgent` in 26.4 runs as your user uid (501), **not root**.
- So per-item ACLs on `/Library/Keychains/System.keychain` matter.
- The new TM-Settings GUI writes items with a `partition_id=apple:` ACL entry that `NetAuthSysAgent` can’t pass → `Unable to find matching items -25300` → `OpenSession failed 80`.
- **Intuitive instinct fails:** `security add-internet-password -A` (allow any app) writes `applications: <null>` which the agent reads as “no apps allowed”, not “any app allowed”. Still broken.

## The full fix

Log signature that means you have Bug B:

```auto
isKnownServer 1
Unable to find matching items -25300 (x8-10)
OpenSession failed 80

```

Recreate the keychain entry with **explicit `-T` grants** , NOT `-A`:

```bash
read -r -s "TMPW?SMB password: " && echo

for S in 'NAS(TimeMachine)._smb._tcp.local.' 'nas.local'; do
  sudo security delete-internet-password -a USER -s "$S" /Library/Keychains/System.keychain 2>/dev/null
  sudo security add-internet-password \
    -a USER -s "$S" -p /YourShare -r 'smb ' \
    -D 'Time Machine Network Password' \
    -T /System/Library/CoreServices/NetAuthAgent.app \
    -T /System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthSysAgent \
    -T /System/Library/PrivateFrameworks/SystemAdministration.framework/XPCServices/writeconfig.xpc \
    -T /System/Library/CoreServices/TimeMachine/backupd \
    -T /System/Library/CoreServices/TimeMachine/backupd-helper \
    -w "$TMPW" \
    /Library/Keychains/System.keychain
done
unset TMPW

```

Substitute `USER`, hostnames, `/YourShare` (leading slash, NOT URL-encoded).

## Verify

```bash
sudo security dump-keychain -a /Library/Keychains/System.keychain | less

```

Find your entry. A working ACL has **3 entries** , decrypt lists the Apple helpers, NO `partition_id`. If you see 4 entries with `partition_id → apple:`, or 3 entries with `applications: <null>` on decrypt — you need the command above.

## Gotchas

- **Never use `-A`.** Use `-T`.
- **Always pass `-w "$PASSWORD"`.** If you omit `-w`, `security` silently reads stdin; in scripts/non-TTY that’s empty → exit 0 → you just created an item with no password.
- The share `-p` value is the literal path (`/Time Machine - Server`), NOT URL-encoded.
- The protocol `-r 'smb '` has a **trailing space** (4-char OSType).
- `NetAuthSysAgent`’s uid-501 behavior is the real reason DiskStation (added pre-Tahoe with a different ACL shape) keeps working while your newly-added destinations don’t.
- The Reddit-famous `/etc/nsmb.conf signing_required=yes` fix solves a **different** SMB problem. It does not touch Bug B.

Backup ran first try after this. Hope it saves someone days of log-chasing.

---

<div class="post-metadata">

**Author:** ![Jean-Yves](https://community.qnap.com/user_avatar/community.qnap.com/jean-yves/32/6030_2.png) [@Jean-Yves](https://community.qnap.com/u/Jean-Yves)\
**Post date:** [August 23, 2026, 8:18pm UTC](https://community.qnap.com/t/time-machine-backup-fails-with-authentication-error-80-on-tbs-h574tx/5613/10 "2026-08-23T20:18:13Z")

</div>

this bug is really frustrating !

I made a small free app to fix this

 ![02-missing-found](https://cdn-community.qnap.com/original/2X/8/89818202919636af70b89af600ea23ad030f6e80.png)

> **[GitHub - JYPochez/VNS-fix-time-machine-authentication-error-80-: a small free app to let use time machine on remote...](https://github.com/JYPochez/VNS-fix-time-machine-authentication-error-80-)**
>
> a small free app to let use time machine on remote disks again with 2026+ macOS
