FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
cmaheu
Staff
Staff
Article Id 254925

 

Description

This article describes updating the LDAP Password for a directory from the CLI. 

The password is the one used by FortiNAC to log in to the directory.

Scope FortiNAC v9.x.
Solution

1) Log in to the CLI as root and type:


directorytest -dump | grep LDAPConfig -A2

 

2) Look for 'LDAPConfig [id='

3) Record the "id=" number, this is the dbid.

4) Update the password using the following command:

 

 device -dbid -setAttr -name ldapPassWord -value "<new password>"

 

Example:

 

device -dbid 447 -setAttr -name ldapPassWord -value "thisismynewpassword"

Contributors