CONFIG LDAP CHECK

Level

base

History

Add possibility to check any LDAP server in 9 0 0
Add possibility to check a server being created "in the clone" (before an ACTIVATE command)

Description

Try to connect to the LDAP server, but perform no operation If there are no argument, this command checks the ldap configuration on firewall, else checks ldap server specified by arguments

Implementation notes

Just try to bind by libfwldap, and return the error code

Usage

[domainname=<domain>] [host=<Host IP> basedn=<Base DN> [port=<Port>] [user=<LDAP User> [password=<LDAP password>] [auth=Simple|SSL] [version=2|3]]] [useclone=on|off]

Returns

Error code

Example

CONFIG LDAP CHECK
CONFIG LDAP CHECK host="ldap intranet int" basedn="o=stormshield,dc=eu" user="cn=StormshieldAdmin" password="LDAPadmin"