Chapter 10 Install and System Administration for FortiOS 5.0 : Basic Administration : Administrators : LDAP Admin Access and Authorization : Configure the LDAP server
  
Configure the LDAP server
First set up the LDAP server as you normally would, and include a group to bind to.
To configure the LDAP server - web-based manager
1. Go to User & Device > Remote > LDAP and select Create New.
2. Enter a Name for the server.
3. Enter the Server IP address or name.
4. Enter the Common Name Identifier and Distinguished Name.
5. Set the Bind Type to Regular and enter the User DN and Password.
6. Select OK.
To configure the LDAP server - CLI
config user ldap
edit <ldap_server_name>
set server <server_ip>
set cnid cn
set dn DC=XYZ,DC=COM
set type regular
set username CN=Administrator,CN=Users,DC=XYZ,DC=COM
set password <password>
set member-attr <group_binding>
end
See Also
LDAP Admin Access and Authorization
Add the LDAP server to a user group
Configure the administrator account