PDA

View Full Version : After successfull LDAP-Integration - Migration of user Details



hubertat
10-15-2009, 11:38 AM
Dear all!

We worked for about 1-2 years with "local" users in DekiWiki.
Now I have successfully integrated the LDAP-Authentication. The users would be able to sign on with their Windows login-data.

We would have:
USER A local (has created 100 pages)
USER A Microsoft Active Directory (has created 0 pages)

USER B local (has created 100 pages)
USER B Microsoft Active Directory (has created 0 pages)

It would be important, that we would have the history: "Page last modified [date] by [username]"

Would it be possible to transfer the user data from "USER x local" to "USER x Microsoft Active Directory"?
I think we will have to change something in the database. Could you please give us a short overview about the necessary steps?

Thank you!


btw:
Additional Info:
The installation was made with the VM-Image downloaded at mindtouch. The first Version we had was 1.9.? . Using "updatewiki.sh" we updated our wiki. (8.05, 8.08,...) At the moment our wiki is 9.02.4
IE6 + IE7 is beeing used on our computers.

MaxM
10-15-2009, 11:09 PM
This is very possible with 9.02 and you should be be able to preserve complete attribution.

Do the local usernames match the ldap names? If not, you'll need to rename each user in the control panel to their corresponding ldap username. Keep in mind that the mindtouch ldap connector can be configured to use a variety of ldap attributes as the username which might make your life easier. When their local username matches up to their ldap name then change in the user details control panel screen their auth provider to the ldap connector service you configured. If it finds a corresponding username then the operation will succeed.

MindTouch support will be glad to help if you run into issues here if you're a customer.
Good luck!

hubertat
10-16-2009, 09:03 AM
Dear Max!

Thank you for your help. It works as you descripe!
In only have a problem with 2 users. - Those who already tried to log in with LDAP!

Description:
SMITH local (has created 100 pages)
SMITH Microsoft Active Directory (has created 0 pages)

I'm not able to rename the username "SMITH local" to its ActiveDirectory Name. It does (for sure) already exist. (Conflict 409)

How to proceed?
Deleting "SMITH Microsoft Active Directory (has created 0 pages)" from the database?

Thank you!

MaxM
10-16-2009, 05:41 PM
You can change the conflicting user to local and rename to free up the username. This should allow you to use that username by the user account you want.

tcplomp
11-04-2009, 06:26 AM
Here are the steps I made:
-Rename allready existing LDAP user
-Try to rename local user to the LDAP user name

I get an error back: 409:
[message] => Kan niet hernoemen, omdat een homepage voor die naam reeds bestaat.
I have looked it up in the localizations and the source message is :'user_rename_homepage_conflict'.

Ton