[Mediawiki-l] pwauth login questions (MW 1.14.0)

RK hiding at freemail.hu
Sat Apr 4 08:38:58 UTC 2009


Hello!

I'm new to the list, and a few weeks old at Mediawiki. I'm trying to set up an authenticated wiki to a research project to provide a closed discussion and documentation platform for many professionals.
I decided to authenticate against the host user/password. The reason is that there will be other applications on the same host as well and it would be nice to maintain one login name/password per user.

Mediawiki 1.14.0 installation was smooth and easy (PostgreSQL DB backend which is essentaial for its GIS features for other applications as well).
PwAuth is installed like written here and many other places: http://www.mediawiki.org/wiki/Extension:PwAuthPlugin
pwauth version is 2.3.7, compile, install and config is OK. All tests passed.
OS: UBUNTU 8.04 (Linux gishost 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux)
Apache2 version: 2.2.8-1ubuntu0.5

I could login to mediawiki both with admin user (configured during mediawiki install) and with OS users. (pwauth is set not to be "strict"

.....Or, at least it seems so.

Problem:
-----------
If I provide the correct admin user or an OS user, login is all right, but user "won't be logged in" for real. IP address is displayed in the upper left corner as for anonymous connections.
If I provide a bad username or password I get the error message as desired, like these:

Login error
There is no user by the name "Admin2". Check your spelling.

OR

Login error
Incorrect password entered. Please try again.


SO - it seems that both mediawiki auth and pwauth are working well. At least, authentication is just fine, but the process won't result in a "logged in" state.

What could be wrong?

Here it is:

http://kuszinger.homelinux.org/kkwiki/index.php/Main_Page    (testing environment, it is ok to play around)

test login: test1
pw: kakukk


I'm trying to change the extensions/PwAuthPlugin.php settings, and everything. Also experimenting for more than a week by now but I have no more ideas what to do...

Any help would be great.

thanks
Robert





More information about the MediaWiki-l mailing list