Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config user ldap

Use this command to configure a connection to an LDAP server that can authenticate administrator or user logins.

Basic steps:
  1. Create an LDAP authentication server configuration.
  2. Select the LDAP server configuration when you add administrator users or create user groups.

Before you begin:

  • You must know the IP address and port used to access the LDAP server. You must know the CN and DN where user credentials are stored on the LDAP server.
  • You must have read-write permission for system settings.

Syntax

config user ldap

edit <name>

set cnid <string>

set dn <string>

set port <integer>

set server <string>

set vdom <datasource>

next

end

cnid

Common name (cn) attribute for the LDAP record. For example: cn

dn

Distinguished name (dn) attribute for the LDAP record. For example: cn=John%20Doe,dc=example,dc=com

port

Port number for the server. The commonly used port for LDAP is 389.

server

IP address for the server.

vdom

Reserved for future use.

config user ldap

Use this command to configure a connection to an LDAP server that can authenticate administrator or user logins.

Basic steps:
  1. Create an LDAP authentication server configuration.
  2. Select the LDAP server configuration when you add administrator users or create user groups.

Before you begin:

  • You must know the IP address and port used to access the LDAP server. You must know the CN and DN where user credentials are stored on the LDAP server.
  • You must have read-write permission for system settings.

Syntax

config user ldap

edit <name>

set cnid <string>

set dn <string>

set port <integer>

set server <string>

set vdom <datasource>

next

end

cnid

Common name (cn) attribute for the LDAP record. For example: cn

dn

Distinguished name (dn) attribute for the LDAP record. For example: cn=John%20Doe,dc=example,dc=com

port

Port number for the server. The commonly used port for LDAP is 389.

server

IP address for the server.

vdom

Reserved for future use.