Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Acxelsus
New Contributor II

Can't contact LDAP server Fortigate60F

Hi,
Our LDAP server is working before, but after we change our ISP the errors occurs (Can't contact LDAP server).
We can still ping our AD from firewall, and ping firewall from AD.

5 REPLIES 5
btey
Staff
Staff

Hi Acxelsus, 

 

You may verify the connection to LDAP server with the following command:

 

# diagnose sniffer packet any "host x.x.x.x and port yy" 4 

 

Replace x.x.x.x to the LDAP server IP and yy to the LDAP port .

 

- verify the outbound interface

- verify if any response from the LDAP server

 

Please check if the following article relevant to your scenario:

https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-Status-of-LDAP-server-connected-via-...

 

 

BoonHau
Acxelsus
New Contributor II

sniff.PNG
This is the response

btey
Staff
Staff

Hi Acxelsus, 

 

What is firewall firmware version?

You may try to run httpsd debug to check the LDAPS negotiation or you may try disable server-identity-check

 

config user ldap
edit xxx>>> Server Name
set server-identity-check disable
end

 

For httpsd debug:

 

# diagnose debug application httpsd -1

# diagnose debug enable

 

Test the connection again. To stop debug:

 

# diagnose debug disable

# diagnose debug reset

 

For your reference:

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuring-LDAP-over-SSL-LDAPS/ta-p/18997...

https://community.fortinet.com/t5/Fortinet-Forum/Cannot-contact-LDAP-server/td-p/90065

 

 

BoonHau
Acxelsus
New Contributor II

The firmware version is 7.0.5

ldap.PNG

Still the same, can't contact the ldap server

btey
Staff
Staff

Please ensure the CA certificate is correct.

You may perform packet capture for the LDAP connection to get more detail.

BoonHau
Labels
Top Kudoed Authors