FortiWeb
A FortiWeb can be configured to join a Security Fabric through the root or downstream FortiGate.
Pedro_FTNT
Staff
Staff
Article Id 279287
Description

This article describes how to configure a Remote LDAP Server and test the connection.

To check, it is possible to use PCAP capture.

Scope FortiWeb.
Solution
  1. To configure the Remote LDAP Server:
  • Go to User -> Remote Server -> LDAP Server and select 'Create New'.

5.png

 

  • Complete with LDAP information: Remote LDAP IP, LDAP port, Domain, Administrator user information
  • Use any User with an Admin Domain Profile:

 

6.png

 

  1. Configure via FortiWeb CLI:

 

config user ldap-user
    edit "LDAP" <----- Any LDAP name.
        set server 172.16.16.100 <----- LDAP Server.
        set common-name-id sAMAccountName
        set distinguished-name dc=tac,dc=local <----- Domain.
        set bind-type regular
        set username "TAC\\Administrator" <----- Domain user Administrator.
        set password <your_ldap_admin_password>
    next
end

 

  1. To do a PCAP Capture:
  • Go to Network -> Packet Capture and select 'Create New':

 

7.png

 

  • Interface: Any.
  • Filter: host 172.16.16.100 <----- LDAP Sever.


8.png

 

  • Select: 'Not Running' to start capture:

 

9.png

 

  1. While capture is running:
  • Go to User -> Remote Server and select 'LDAP Server'.
  • Select: Test LDAP.
  • Configure 'username' and 'user password' to test the connection to LDAP.
  • Select: 'OK'.

 

10.png

 

11.png

 

  1.  Later to Stop PCAP Capture:
  • Go to Network -> Packet Capture.
  • Select: Stop Capturing.
  • Donwload the PCAP Capture.

 

12.png

 

13.png

 

  1. Use Wireshark to filter user connection and to check what is happening with the Test User connection. In this example, the connection was 'succesfully' so in Wireshark, this log appears:

 

14.png

 15.png

 

To know about FortiWeb network sniffer captures refer to:

Packet capture

network sniffer

 

To know about LDAP options refer to:

Introduction

user ldap-user

Contributors