LDAP and old intern Users

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Hey, 

i installed a clean JasperServer V8.0, import all things from my old instance (Version 5.6 with ldap integration too)

After that i configure the LDAP authentication. Everything looks good. i can login with new LDAP Users!

But when i try to login with an old account which is stored too in LDAP i get the following Error:

2022-05-17T16:09:00,032 ERROR ExternalUserSetupProcessor,http-nio-8080-exec-108:169 - Error processing external user xxx: Internally defined user xxx already exists. Please contact an admin user to resolve the issue. 
2022-05-17T16:09:00,032 ERROR ExternalDataSynchronizerImpl,http-nio-8080-exec-108:141 - Error during synchronization com.jaspersoft.jasperserver.api.JSException: Internally defined user xxx already exists. Please contact an admin user to resolve the issue. Arguments: 

Any Idea or Solution ?

Thanks for help

PhilX17's picture
Joined: May 10 2022 - 2:59am
Last seen: 1 month 2 hours ago

3 Answers:

I found a workaround. If you have a local user which is in your LDAP too with the same "Username" then you can modify the DB. 

If you use the build in Postgres DB you must jump in the "public.jiuser" Table and set the "externallydefined"flag to "true" for all the user you want.

DB Adresse:127.0.0.1 User: postgres Pass: postgres Database: Jasperserver (This is the Default config)

Hope it helps you too.

PhilX17's picture
Joined: May 10 2022 - 2:59am
Last seen: 1 month 2 hours ago

There is already an internally defined user. If you want to log in as this user as an external LDAP user, then the internal user must not exist because it will sychronize the external user and mark it as 'externally defined'. The admin user or superuser can manage users. 

vchiem's picture
31430
Joined: May 1 2017 - 5:33pm
Last seen: 1 day 9 hours ago

Thanks for your replay.

But is there any workaround ?

Can i set the externally marker directly in the database ?
Or can i change the UserID at one place maybe from User to UserOLD, that there is no conflict and it is easy for me to transfer the old roles to the new external user.

 

PhilX17's picture
Joined: May 10 2022 - 2:59am
Last seen: 1 month 2 hours ago
Feedback