How to Determine The Order of the Directories for Crowd in the Database?
目的
To determine the order of the User Directories (external user management) when Crowd admin user cannot login with the correct credentials. This is extremely useful for recovering administrator rights from the Crowd Internal Directory - Restoring Passwords To Recover Admin User Rights via Database with directories reordering.
ソリューション
Execute the following SQL query against the Crowd database via database client.
SELECT m.id, m.application_id, a.application_name, m.directory_id, m.allow_all, m.list_index, d.directory_name, d.directory_type
FROM cwd_app_dir_mapping m
JOIN cwd_directory d ON m.directory_id = d.id
JOIN cwd_application a ON m.application_id = a.id
WHERE a.application_type = 'CROWD';
Recover Administrator Rights: Make sure that the list_index
for Crowd Internal Directory is 0
and the remaining directories are in ascending order (1
, 2
, 3
, ...).
Priority | list_index |
---|---|
1 | 0 |
2 | 1 |
3 | 2 |
最終更新日 2016 年 7 月 19 日
Powered by Confluence and Scroll Viewport.