We have been using mediawiki 1.12 in our organization for over a year now. Users create their account and starting using wiki. Now we are planning to switch to the LDAP/AD authentication method. Let's say once the users start using LDAP method, what happens to their old (local mediawiki) accounts? I am assuming that they just stay in the database.
My question:
How do we merge/map the stats of the correponding old user to their LDAP login stats.
For example, John Winslow's old (local mediawiki) username was 'johnwin' but his corresponding LDAP/AD username is 'johnw'.
I would like that stats of username 'johnwin' is merged/added with the new username 'johnw'.
Thanks
To my knowledge, there is no way to "map" the accounts (I could be wrong). Though I did this same move (To LDAP) a few years back and I'll tell you what I did:
Setup the LDAP, get that working for your admin user. Then add Extension:RenameUser [1] . Then rename all your users from their old account names, to what it will be in LDAP (before they get to login). If you've got a lot of users, this will suck, but you only have to do it once.
-Jon
[1] http://www.mediawiki.org/wiki/Extension:Renameuser
On Fri, Sep 3, 2010 at 13:31, Tech Geek techgeek12345@gmail.com wrote:
We have been using mediawiki 1.12 in our organization for over a year now. Users create their account and starting using wiki. Now we are planning to switch to the LDAP/AD authentication method. Let's say once the users start using LDAP method, what happens to their old (local mediawiki) accounts? I am assuming that they just stay in the database.
My question:
How do we merge/map the stats of the correponding old user to their LDAP login stats.
For example, John Winslow's old (local mediawiki) username was 'johnwin' but his corresponding LDAP/AD username is 'johnw'.
I would like that stats of username 'johnwin' is merged/added with the new username 'johnw'.
Thanks _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Jon Davis wrote:
To my knowledge, there is no way to "map" the accounts (I could be wrong). Though I did this same move (To LDAP) a few years back and I'll tell you what I did:
Setup the LDAP, get that working for your admin user. Then add Extension:RenameUser [1] . Then rename all your users from their old account names, to what it will be in LDAP (before they get to login). If you've got a lot of users, this will suck, but you only have to do it once.
-Jon
I suppose you could add another LDAP property containing the wiki name and use that as username.
I suppose you could add another LDAP property containing the wiki name and use that as username.
Not quite sure what you meant. Do you mean modifying the Active Directory configuration? I do have info that will enable me to configure LDAP authentication but I don't have any other rights like modifying/editing AD.
On Fri, Sep 3, 2010 at 2:14 PM, Tech Geek techgeek12345@gmail.com wrote:
I suppose you could add another LDAP property containing the wiki name and use that as username.
Not quite sure what you meant. Do you mean modifying the Active Directory configuration? I do have info that will enable me to configure LDAP authentication but I don't have any other rights like modifying/editing AD.
If that is the case, you'll need to rename user accounts to their LDAP equivalents. It is recommended to do this before you enable the extension. If you have accounts you missed afterwards, you can use the user merge and delete extension:
http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete
V/r,
Ryan Lane
If that is the case, you'll need to rename user accounts to their LDAP equivalents. It is recommended to do this before you enable the extension. If you have accounts you missed afterwards, you can use the user merge and delete extension:
Thank you all! That did the trick for me.
mediawiki-l@lists.wikimedia.org