The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Confluence
  • Questions
  • Confluence displays UnknownUser<username> after migrating users from Delegated Directory to Confluence Internal Directory

Confluence displays UnknownUser<username> after migrating users from Delegated Directory to Confluence Internal Directory

Karanam Subbarao
Contributor
January 15, 2015

hello all, I have implemented Custom authenticator for Confluence. As part of this I'm migrating all users from Delegated LDAP Directory to  Confleunce Internal Directory. I see a vague Unknown User<username> in all pages for all users..

I have executed following SQL Statements to migrate from LDAP Directory to Internal Directoru

SELECT id FROM CWD_DIRECTORY;

UPDATE cwd_user SET directory_id = <destinationid> WHERE directory_id = <sourceid>;
 
UPDATE cwd_group SET directory_id = <destinationid> WHERE directory_id = <sourceid>;
 

// UPDATE FOR CONFLUENCE USERS AND ADMINISTRATORS
UPDATE cwd_membership SET parent_id= <destinationid> WHERE parent_id= <sourceid>;
 
UPDATE cwd_group_attribute SET directory_id = <destinationid> WHERE directory_id = <sourceid>;
 
UPDATE cwd_user_attribute SET directory_id = <destinationid> WHERE directory_id = <sourceid>;

 

I have re-indexed the confluence But I still see the same issue

 

Any ideas/thoughts to fix the UnknownUser<username> 

 

 

4 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Leena Bakshi
Contributor
January 14, 2020

did we ever get this resolve? facing the exact same issue

0 votes
Phillip Ponzer _Cprime_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 19, 2016

May want to take a look at this question:

https://answers.atlassian.com/questions/319872

0 votes
Karanam Subbarao
Contributor
January 15, 2015

Sorry it is my mistake. It is not directory_id in cwd_membership but is parent_id .

0 votes
Septa Cahyadiputra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 15, 2015

Hi Karanam,

Could you please explain why you modified the value in cwd_membersip table? Because the mentioned table does not contain directory_id in it? Also, could you please let us know if you are able to confirm that the users has been migrated once you access their profile from:

Confluence Administrators Menu >> Users >> 

Finally, is any users that has tried to login from LDAP still describe as unknowned users?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events