Scenario: Change DN from “cn=李小李,ou=IT中心,ou=XX公司,dc=xx,dc=com” to “cn=李小李,ou=HR Dept,ou=XX公司,dc=xx,dc=com” for user #11. Step 1 – Connect to boundled PostgreSQL database # sudo gitlab-psql -d gitlabhq_production psql (10.9) Type "help" for help. gitlabhq_production=# Refer to: https://docs.gitlab.com/omnibus/settings/database.html#connecting-to-the-bundled-postgresql-database Step 2 – Search user DN by user id in the psql shell gitlabhq_production=# select * from identities where provider = …
Tag: update