Hi!
I assume, that fortinac supports multiple AD directories.
I have connected NAC to two separate AD domains(directories).
Let's say(for example):
Domain 1 is "domain1.local"
Domain 2 is "something.domain2.local"
Auhtentication is done with EAP (TLS) host certificates, so hosts are for example:
host1.domain1.local
and
host2.something.domain2.local
dNSHostName is used as identifier, because we use only machine certificates
Directories are synced normally and groups can be selected from Directory settings.
Seems that Fortinac can search LDAP data only for domain1.local. (Group membeship etc)
BUT for domain something.domain2.local LDAP queries don't work.
(getLdapHost(), found ldapHost: false )
Is there a limitation, that only domains with 2 parts work?
so:
a.b domain works, but c.d.e not, because it has three parts?
BR, A
It shouldn't be a limitation. Have you configured both directories with their respective domains in 'Domain Name' field?
The details for handling multiple directories are shown in this section of the Administration guide.
Yes, its correctly configured just like it's told in your linked section.
What is the firmware version of FNAC? How is the domain configured for the secondary domain?
You can try setting only the base domain for the second domain and enable “Perform Lookup On Referral” as shown in this article: Technical Tip: Unable to search subdomains in directory
7.6.5
"You can try setting only the base domain for the second domain and enable “Perform Lookup On Referral”"
Tried that also, doesn't work.
You can temporarily enable the following debugs to have more information:
# diagnose debug plugin enable DirectoryManager
# diagnose debug plugin enable DirectoryAuthentication
# diagnose tail -f output.master
to disable:
# diagnose debug plugin disable <name>
We have done that debug, and it seems, that NAC tries to query wrong directory(the first one we created). After we deleted the first one, the previously nonworking domain something.domain2.local started to work.
Then we added the domain1.local domain back, and now domain1.local doesnot work...
-A
| User | Count |
|---|---|
| 2841 | |
| 1436 | |
| 812 | |
| 801 | |
| 455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.