Hi
We have LDAPS setup on Azure (Domain Service enabled).
If we querry the ldap server from a Linux box, it works fine.
We want to setup LDAP authentication on the Fortigate to authenticate SSLVPN users.
I tried all sort of syntax, but it always fail with "Can't contact LDAP server", no matter the DN, using cn, uid or samaccountname, etc
Tried the debug commands as well, but it failed straightaway with a similar message
On Fortigate, the ldap server is set with port 636, with no Secure Connection
Cannot see any traffic on port 636 (probably not using the correct commands for it!), and not sure if it is enabled by default from the firewall itself to the internet.
As anyone ever been able to setup LDAPS from Azure with Fortigate? It looks like most of the documentation refer to active directory on premise.
Any help would be appreciated
Thanks
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi,
Please try to apply the following commands via cli and try to connect.
config user ldap
edit xxx>>> Server Name
set server-identity-check disable
end
if this does not help please debug
diag debug enable
diag debug app fnbamd -1
Hi v20100,
if you do not see any traffic and the LDAP server on FortiGate is configured to use port 636. Make sure to test different, as this could be on a different network level.
Does a ping work?
If not, run a sniffer as follows:
diag sniffer packet any 'host <LDAP-IP>' 4 0 a
It will show you, if there is traffic, on which interface this is leaving and what traffic this might be. ICMP should at least leave the FortiGate (and hopefully getting a response as well).
If you are sure which interface, the traffic must exit:
diag sniffer packet <interface> 4 0 a
Then leave this running for some time. You might see arp requests for the IP that are not getting responses.
Best regards,
Markus
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1711 | |
1093 | |
752 | |
447 | |
231 |
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 2024 Fortinet, Inc. All Rights Reserved.