12.2.3.2 LDAP
The examples below show the use of the ldap command line:
Configure LDAP Server
Example of command Description
ldap -a <FQDN>,<IP_address> -p
<Port_number>
Sets the LDAP server address with an FQDN, an IP address
and the port of connection
Example:
ldap –a kiwi.dsagile.intern,192.168.7.10 –p 389
Configure LDAP Base DN
Example of command Description
Sets the base DN for the LDAP connection
Example:
ldap –b ou=DSAGILE,dc=VMADSYSLOGRADIUS,DC=DSAGILE
Configure User DN and Password and Timeout
Example of command Description
ldap -r <cn>,<cn>,<dc>,<dc> -P -t
Sets the user DN to connect to the LDAP database, then
configures the
password of the user DN and the connection
timeout.
Example:
ldap –r cn=Administrator,cn=Users,dc=VMADSYSLOGRADIOUS,dc=DSAGILE –P passAdm123 –t 2
Note:
Special characters in LDAP passwords require to be written with '' ” for instance ldap -P abc'!'xyz