Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:adm:systems_db_treenodes [2018/08/27 13:16] klementm |
tutorial:adm:systems_db_treenodes [2021/03/22 15:41] (current) apeterova Fixed JDBC URL and hostname |
||
---|---|---|---|
Line 14: | Line 14: | ||
| | ||
| | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | \c jdbcTest; | ||
</ | </ | ||
< | < | ||
Line 48: | Line 52: | ||
{{ : | {{ : | ||
Go to **Configuration** tab and fill in information about your database. Ours are as such: | Go to **Configuration** tab and fill in information about your database. Ours are as such: | ||
- | < | + | |
- | ^ Host ^ jdbc: | + | |
+ | |||
+ | ^ Parameter | ||
+ | | Host | localhost | ||
| Port | 5432 | | | Port | 5432 | | ||
| User | idmadmin | | User | idmadmin | ||
- | | User Password | + | | User Password |
| Database | | Database | ||
| Table | organizations | | Table | organizations | ||
| Key Column | | Key Column | ||
| JDBC Driver | | JDBC Driver | ||
- | | JDBC Connection URL | jdbc: | + | | JDBC Connection URL | ``jdbc: |
- | </ | + | |
{{ : | {{ : | ||
Then go to tab **Scheme** and generate scheme. | Then go to tab **Scheme** and generate scheme. | ||
Line 77: | Line 84: | ||
Fill "code, name, parent" | Fill "code, name, parent" | ||
- | <note warning> | + | <note warning> |
+ | < | ||
+ | return attributeValue.toString(); | ||
+ | } | ||
+ | return attributeValue;</ | ||
{{ : | {{ : | ||
Line 95: | Line 106: | ||
< | < | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | ==== The number of organizations is too low (when using parents) ==== | ||
+ | |||
+ | The synchronization processes only organizations, | ||
+ | |||
+ | Note that the values in the parent attribute must be the identifiers of the accounts. (That may be different from the codes of organizations in IdM.) |