Created on 06-13-201804:26 PM - edited 08-17-201907:10 AM
In DPS-1.1.0 we can't edit all the LDAP configuration properties after the initial setup. If we have to correct LDAP configs, you need to re-initialize the DPS setup to change it, which can be a painful task.
To avoid re-initializing the DPS setup, we can make the changes directly in the postgres database of dataplane.
Step1:- Find the container id of dp-database on DPS machine
Step2: - connect to the docker machine
docker exec -it cf3f4a31e146 /bin/bash
Step3:- Login to the postgres database (dataplane)
su - postgres
psql -d dataplane
Take backup of the table,
create table dataplane.ldap_configs_bkp as select * from dataplane.ldap_configs;