https://bugzilla.wikimedia.org/show_bug.cgi?id=28097

           Summary: Cannot login when database is on a different server
                    than the webserver
           Product: MediaWiki
           Version: 1.16.2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: User login
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: etiennefal...@gmail.com


Hi all,

I've ran into a weird trouble and I need a hand.

We have two webservers that provided redundancy. 
The web sites are simply copy/pasted from the primary to the backup server.
The load balancing is all done on the network side.
Hence, we have to have the same web sites on both servers, otherwise the page
won't show half the time the user browse to it.
Same with the wiki page.
So, I created the wiki page on the backup server, and linked it to the database
on the primary. (i know... not totally redundant, but if we lose the master,
the wikipage is the last of our trouble)
Once I granted database acces to the backup server, it worked like a charm. 
I can browse the entire wiki site without a glitch.

Then I tried to login a local user. I get this error:
"Loggin error
You have not specified a valid user name."

It does work when you browse the primary, but not on the backup.
the users are stored in the database, and since all the rest of the site is
also pulled from the database I can't see why it's not working.

Here's our configuration:
Windows server 2008 R2
IIS7
PHP 5.3.5
MediaWiki 1.16.2
MySQL 5.1.53

It might have something to do with the the IIS authentication... but honestly I
have no clue.
I have no windows events or php_errors relative to that issue.

Any help would be greatly appreciated.

Thank you

Etienne

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to