Extension:MS SQL Database Authentication

This MediaWiki extension authenticates users and gets users data using external Microsoft SQL Server database. The extension is indispensable, if you need, for example, to grant access to your wiki only to some employees of your company, or to some students of your university listed in some SQL Server database table.

Installation & Configuration
This extension requires Microsoft Drivers for SQL Server for PHP to be pre-installed.

Download the extension. Unzip and save the files into  subdirectory of your wiki's   directory.

All configuration settings must be specified in global variables in MediaWiki's LocalSettings.php file. Here are the settings and their description:

Use MS SQL database for authentication only, ignore users in MediaWiki database (true/false) MS SQL Server Host Name MS SQL Server Username MS SQL Server Password MS SQL Server Database Name MS SQL Server Database Table Containing Users Data Username Field in Table Password Field Password Field Hashing Algorithm ('MD5'/'SHA1'/'SHA256'/'SHA512'/'RIPEMD160'/'None') User's Email Field User's Real Name Field PHP Driver to connect to MS SQL Server ('sqlsrv'/'pdo_sqlsrv') Path to extension's MsSqlAuth.php file, relative to MediaWiki installation The following last line must be unmodified, just copy it

That's it!

Contacts
If you would like to report a bug or request a feature send me a letter to [mailto:codedriller@gmail.com codedriller@gmail.com]. By the way, if you need advanced bot functionality for your wiki, take a look at free DotNetWikiBot Framework, that I maintain.