> When we first launched our wiki, I had users create their own accounts. I set 
> an account, Wikiadmin, as a Bureaucrat and Sysop. Then, I implemented the 
> LDAP login. Problem is, I can't remember that Wikiadmin account password now, 
> and none of the password reset methods (using the changePassword.php script 
> or directly editing it in MySQL) will work. The user Wikiadmin does not exist 
> in our LDAP/AD environment-although we could create it-and stupidly, it was 
> the only account to which I gave elevated permissions before setting up LDAP.
>
> The only thing I can think of to try is to take off LDAP authentication 
> temporarily, reset the Wikiadmin password, and then put LDAP back. I'm 
> nervous about causing harm by doing this; thoughts?
>

There is an FAQ entry for this:

http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/FAQ#I_installed_the_extension.2C_but_now_I_don.27t_have_a_Sysop_user.3B_how_do_I_give_myself_Sysop_rights.3F

>From the FAQ:

"There are a few ways of doing this; however, the easiest method is:

   1. Log in with your regular account (to ensure your account is created)
   2. Disable the extension
   3. Log in as WikiSysop
   4. Go to Special:Userrights and add the sysop group to your regular account
   5. Re-enable the extension"

You can't use the WikiSysop user if it isn't in LDAP, and you don't
need to have one if you give rights to a user in AD.

V/r,

Ryan Lane

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to