Skip to main content
tyang
Staff
Staff
Oct 14, 2026 9:09 AM UTC

Troubleshooting Tip: Checking DNS when Winbind reports WBC_ERR_WINBIND_NOT_AVAILABLE

Description

This article describes how to troubleshoot WBC_ERR_WINBIND_NOT_AVAILABLE when DNS resolution problems prevent FortiNAC from locating an Active Directory domain controller and completing the domain join.

Scope

FortiNAC CentOS and FortiNAC-F.

Solution

The Winbind configuration may show Not Joined, Stopped, or Disabled. A user authentication test may return:

plaintext password authentication failed
could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE
Failed to get domain from winbindd


  1. Check the Winbind service and domain status.


Navigate to Network -> Configuration -> RADIUS, then select the Winbind tab.

Under Service Info, review:

  • Status: Check whether the Winbind service is Running.

  • Domain Status: Check whether FortiNAC is Joined to a domain.

  • Toggle Service Status: This control enables or disables the service. A button labeled Disable is an available action, not an indication that the service is currently disabled.

  • Details & Logs: Select View Logs to inspect the detailed service status and relevant log entries.


See FortiNAC-F Administration Guide.

  1. Identify whether the timeout occurred during startup or shutdown.


The following anonymized output illustrates a service stop timeout:

[<FORTINAC_HOSTNAME>: Running]
x winbind.service - Samba Winbind Daemon (Persistent)
Loaded: loaded (/lib/systemd/system/winbind.service; disabled; vendor preset: disabled)
Drop-In: /lib/systemd/system/winbind.service.d
└─winbind.service.conf
Active: failed (Result: timeout) since Tue 2026-10-13 08:09:11 -04; 2h 43min ago
Docs: man:winbindd(8)
      man:samba(7)
      man:smb.conf(5)
Main PID: 1678931 (code=exited, status=0/SUCCESS)
Status: "winbindd: ready to serve connections..."

Oct 13 08:07:41 <FORTINAC_HOSTNAME> systemd[1]: Stopping Samba Winbind Daemon (Persistent)...
Oct 13 08:09:11 <FORTINAC_HOSTNAME> systemd[1]: winbind.service: State 'final-sigterm' timed out. Killing.
Oct 13 08:09:11 <FORTINAC_HOSTNAME> systemd[1]: winbind.service: Killing process 536792 (wb[<DOMAIN_NETBIOS>]) with signal SIGKILL.
Oct 13 08:09:11 <FORTINAC_HOSTNAME> systemd[1]: winbind.service: Failed with result 'timeout'.
Oct 13 08:09:11 <FORTINAC_HOSTNAME> systemd[1]: Stopped Samba Winbind Daemon (Persistent).


The logs show that Winbind timed out while stopping. They do not show the cause.

Check the Service Log and Systemd Log around the same time, and confirm whether any service or configuration changes were made.

  1. Check DNS resolution.


Log in to the FortiNAC-F CLI as admin and enter the shell:

execute enter-shell
cat /etc/resolv.conf
nslookup <DC_FQDN>
dig +short SRV _ldap._tcp.dc._msdcs.<AD_DNS_DOMAIN>


Replace <DC_FQDN> with the domain controller’s fully qualified hostname and <AD_DNS_DOMAIN> with the AD DNS domain.

The hostname query should return the expected DC address. The SRV query should return one or more DC hostnames with their priority, weight, and LDAP port. Confirm that the returned hostnames also resolve correctly.

Example:

fnac1-thomas:~$ nslookup dc-radius1.test.lab
Server:		192.168.8.252
Address:	192.168.8.252#53

Name:	dc-radius1.test.lab
Address: 192.168.8.252

fnac1-thomas:~$ dig +short SRV _ldap._tcp.dc._msdcs.test.lab
0 100 389 dc-radius1.test.lab.
fnac1-thomas:~$


Compare the results with a known DNS server that can resolve the AD domain:

nslookup <DC_FQDN> <AD_DNS_IP>
dig +short SRV _ldap._tcp.dc._msdcs.<AD_DNS_DOMAIN> @<AD_DNS_IP>


Example:

fnac1-thomas:~$ nslookup dc-radius1.test.lab 192.168.8.252
Server:		192.168.8.252
Address:	192.168.8.252#53

Name:	dc-radius1.test.lab
Address: 192.168.8.252

fnac1-thomas:~$ dig +short SRV _ldap._tcp.dc._msdcs.test.lab @192.168.8.252
0 100 389 dc-radius1.test.lab.
fnac1-thomas:~$ 


  1. Correct DNS settings if a DNS problem is confirmed.


Record the current DNS settings before changing them. DNS changes can affect other FortiNAC functions.

Configure the validated DNS servers:

config system dns
    set primary <PRIMARY_AD_DNS_IP>
    set secondary <SECONDARY_AD_DNS_IP>
end


Both addresses must be valid DNS servers for the AD domain.

See the DNS section of the FortiNAC-F 7.6.0 CLI Reference Guide.

Verify the updated settings and repeat the queries:

execute enter-shell
cat /etc/resolv.conf
nslookup <DC_FQDN>
dig +short SRV _ldap._tcp.dc._msdcs.<AD_DNS_DOMAIN>


These queries must succeed using the configured DNS servers, without specifying a server manually.

  1. Check domain membership and enable the service if needed.


Return to Network -> Configuration -> RADIUS -> Winbind.


The expected result is Status: Running, Domain Status: Joined, and a green check mark for the affected domain.


If enabling the service fails or another timeout occurs, stop repeated attempts and review the logs with TAC. Do not delete the AD computer account or reset user passwords based only on this error.

  1. Verify user authentication.


Once Winbind is running and the domain is joined, test an AD account from the FortiNAC shell:

execute enter-shell
wbinfo -a <domain>\\<user>


A successful test ends with:

plaintext password authentication succeeded
challenge/response password authentication succeeded


If the issue persists, provide TAC with:

  • FortiNAC version and build.

  • Affected Winbind configuration.

  • Test timestamp and timezone.

  • Complete wbinfo output.

  • Relevant Service Log and Systemd Log entries.

  • DNS query results if DNS remains part of the investigation.


See Technical Tip: Preparing information before contacting Fortinet Support for FortiNAC.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024