Skip to content

A Mediawiki extension to allow for authentication via webserver's REMOTE_AUTH (i.e. with kerberos).

License

Notifications You must be signed in to change notification settings

oetterer/AuthRemoteUser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AuthRemoteUser

Packagist download count

This MediaWiki extension aims to provide authentication via the webserver's REMOTE_AUTH (i.e. with kerberos) functionality.

It relies on the extension PluggableAuth.

After you installed the extension, you have to configure your webserver for remote authentication to match on the special page AuthRemoteUser.

Apache configuration example for Kerberos

<LocationMatch ".*/index\.php">
    <If "%{QUERY_STRING} =~ /title=[^:]+:AuthRemoteUser/">
        SSLRequireSSL
        AuthType Kerberos
        AuthName "Kerberos Login"
        KrbMethodNegotiate On
        KrbMethodK5Passwd Off
        KrbAuthoritative on
        KrbAuthRealms <your krb realms>
        KrbVerifyKDC on
        Krb5KeyTab /etc/keytabs/krb5.keytab.HTTP
        require valid-user
    </If>
</LocationMatch>

Note: even, if you are using Short URL schema, you have to match against index.php?title=, because the authentication special page is accessed internally with the original linking schema.

Contact

For bug reports and feature requests please see, if it is already reported on the list of open bugs. If not, report it.

For general questions, comments, or suggestions you might use the talk page on MediaWiki.org. For direct contact with the author please use the Email functionality on MediaWiki.org.

About

A Mediawiki extension to allow for authentication via webserver's REMOTE_AUTH (i.e. with kerberos).

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages