If you have to change to a new LDAP repository, you will need to execute 1 or several times the folowin query
UPDATE table_user
SET ldap_dn = REPLACE(ldap_dn, 'ou=IT,ou=Groups,dc=example', 'ou=IS,dc=example2')
WHERE ldap=1;
You need to adapt to your environment
Note: this has been tested with MySQL
0 Comments