FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
burakyigit
Staff
Staff
Article Id 265155
Description This article describes how to disable LDAP service on the FortiMail server mode.
Scope FortiMail - All versions.
Solution

By default, the LDAP service is enabled in server mode on FortiMail. To disable LDAP and LDAPs ports (TCP/389 and TCP/636), the service should be deactivated via FortiMail's CLI.

 

config system global
    set ldap-server-sys-status disable
end

 

image.png

 

The 'ldap-server-sys-status' parameter determines whether the LDAP server feature is enabled or disabled. By setting it to 'disable', LDAP functionality will be turned off on the FortiMail device.

Note that upon disabling the LDAP service, 'Address book sharing' will no longer be accessible on FortiMail.