Skip to main content
ITHRBruce
New Member
Dec 2, 2022 10:17 AM UTC
Question

Cloning LDAP server works, creating as new doesn't

We are replacing our LDAP server, and so I need to create a new LDAP entry on my Fortigate. I clone the current entry, and enter the new LDAP server's IP address, then do the connectivity tests which work. Great, all seems perfectly fine.

 

However, if I instead select to create the new LDAP server entry (instead of cloning the original one) and enter the correct details, a connectivity test and user credential test fails. So, this makes me concerned that the cloned entry may have a problem, even though it apparently checks out.

 

I am definitely entering the correct details when I select create, as opposed to clone. Why would clone work and not create? If the created one fails, could there be a problem with the cloned one?

 

Thank you.

 

3 replies

Sheikh
Staff
Staff
Dec 2, 2022 12:29 PM UTC

Hi @ITHRBruce,

 

The debug output of LDAP communication might help you. Could you try following debugs and see the results, when you are using new LDAP server and when you are using cloned LDAP server ?

 

You might need to compare those two outputs.

========================================

diagnose debug console timestamp enable

diagnose debug application authd -1

diagnose debug application fnbamd -1

diagnose debug enable

 

******* now either test LDAP connection again in GUI console, or run these commands in CLI*****

 

 diagnose debug authserver dc test Test@1234

** Where dc is the name of ldap server name in FortiGate, followed by username and password. This might not be the same as actual domain controller name.

 

regards,

 

Sheikh

Translate
If you have found a solution, please like and mark it as solved to make it easily accessible for everyone.
ITHRBruce
ITHRBruceAuthor
New Member
Dec 2, 2022 2:14 PM UTC

Thanks, I will take a look and let you know.

Translate
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