NAC · Integrations

Winbind Join Domain fails on FortiNAC HA secondary: "failed to find DC for domain – The object was not found" (public DNS)

Fortinet FortiNAC-F 7.6.6 · updated 24 Nov 2026 · 2 min read

The problem

Usually found after an HA failover, when the secondary FortiNAC-F starts handling RADIUS and PEAP-MSCHAPv2 users fail.

  • Network › RADIUS › Winbind shows Status "Enabled / Not Running" and Domain Status "Not Joined".
  • Join Domain fails with: Failed to join domain: failed to find DC for domain <DOMAIN> - The object was not found.
  • Winbind Service Log repeats every few seconds: Could not fetch our SID - did we join? and unable to initialize domain list.
  • Systemd Journal: winbind.service: Main process exited, code=exited, status=1/FAILURE, then auto-restart.
  • The primary is joined and works; only the secondary fails.

The winbind crash loop is a consequence, not the cause: winbind will not start until the node is joined. The real failure is that the join cannot locate a domain controller.

How to fix it

Cause
The secondary appliance's DNS servers (set in the Config Wizard) point to a public resolver instead of the AD DNS servers. A public resolver cannot answer the AD domain's SRV records (_ldap._tcp.dc._msdcs.<domain>) or resolve the DC's FQDN, so Samba cannot find a DC and the join fails before credentials are even used. HA does not keep DNS settings the same on both nodes, so this stays hidden until the secondary takes control.

Check (shell on the failing node)

execute enter-shell
cat /etc/resolv.conf
host <dc-fqdn>
host -t SRV _ldap._tcp.dc._msdcs.<ad-domain>
host -t SRV _kerberos._tcp.dc._msdcs.<ad-domain>
date
  • resolv.conf lists public DNS, or the SRV lookups return nothing: this is the cause.
  • Everything resolves but the join still fails: check the firewall from the FortiNAC management subnet to the DC (UDP/TCP 389, 88, 445, 53), the Domain NetBIOS Name (must match the domain's real NetBIOS name, upper case; confirm on the DC with (Get-ADDomain).NetBIOSName), and time sync.

Fix

  1. In the Config Wizard on the secondary, set the DNS servers to the AD DNS servers (the same as the primary).
  2. Network › RADIUS › Winbind › edit the domain: confirm Secondary (HA) NetBIOS Name is set and is different from the primary's Local NetBIOS Name (max 15 characters, no underscore). If both nodes join with the same name, each join resets the shared computer account's password and breaks the other node.
  3. Save, then Join Domain, then Enable Service.

Verify

execute enter-shell
net ads testjoin
wbinfo -t
testparm -s 2>/dev/null | grep -i "netbios name"

testparm should show the secondary's own NetBIOS name. Then do a real PEAP-MSCHAPv2 login while the secondary is in control.

Reading PEAP-MSCHAPv2 failures in the RADIUS log after the join
Once the node is joined, mschap-<instance> errors carry the status returned by AD:

  • 0xc000006d: wrong password or username, or a client-side problem such as Credential Guard or stale saved credentials (see the Credential Guard KB)
  • 0xc0000234: account locked. A laptop retrying with bad saved credentials will lock the account; stop the retries (forget the SSID) before unlocking it in AD.
  • 0xc0000072 disabled, 0xc0000071 / 0xc0000224 password expired or must change

Prevention
After forming HA, compare DNS, NTP, Winbind and the Local RADIUS Server (EAP) certificate on both nodes, and run a controlled failover with real 802.1X logins before go-live.

Tested on Fortinet FortiNAC-F 7.6.6. Steps can differ on other versions; take a backup and try changes in a maintenance window. Pavak Technologies shares this as general guidance, without warranty.

Ask an engineer

Still stuck with FortiNAC-F?

Ask Pavak's engineers. We reply within one working day.

We use these details only to reply to you. See our privacy notice.