McHale, Nina wrote: > Hi, all, > > I am going crazy trying to reset the password for my only administrative > user! :( I took the LDAP authentication method that we had in place > off-thanks to Ryan and Christine for their advice on this-and then tried to > use the "email password" option on the wiki login screen (as the user name > "Wikiadmin" doesn't exist in LDAP), and there is no email address associated > with the user! (Fail!!!) > > I've tried these methods: > > http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_reset_a_password.3F > > ...and the php method gives the error that it can't open the file,
If you are on the wiki root, run php maintenance/changePassword.php --user=someuser --password=somepass > and the MySQL methods result in syntax errors. Works fine for me. Which mysql version are you using? > There is no setting for $wgPasswordSalt in my LocalSettings.php file; could > this be why the MySQL method is failing? No. > Any other ideas? > > Would the Password Reset extension help? > http://www.mediawiki.org/wiki/Extension:Password_Reset It may make it more straightforward. > Or, can I associate my email address with the Wikiadmin user directly in the > user table in MySQL? Yes. Assign the user_email field in the db. _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
