Thread:Extension talk:LDAP Authentication/Blank Page on wiki on trying LDAPAuthentication Plugin

Hey Guys

New to mediawiki

Using version : mediawiki-1.16.5 (Due to old PHP on server, cannot modify that)

Purpose: Trying to use the plugin so that only people who can authenticate using LDAP can SEE and EDIT the wiki. I can do that right? Or perhaps base the wiki on a group which can edit / see / access??

What I did : 0) Installed php-ldap on RHEL 1) Downloaded LdapAuthentication-master-de08928.tar.gz 2) copied content to extensions/LdapAuthentication/

extensions/LdapAuthentication/README extensions/LdapAuthentication/LdapAuthentication.i18n.php extensions/LdapAuthentication/LdapAutoAuthentication.php extensions/LdapAuthentication/.gitreview extensions/LdapAuthentication/LdapAuthentication.php

3) Edited LocalSettings.php 4) Put the following at the END of the file

require_once '$IP/extensions/LdapAuthentication/LdapAuthentication.php'; $wgAuth = new LdapAuthenticationPlugin; $wgLDAPDomainNames = array( 'exampleNonADDomain' ); $wgLDAPServerNames = array( 'exampleNonADDomain' => 'directory.XXXXXXXX.com' ); $wgLDAPSearchAttributes = array( 'exampleNonADDomain' => 'uid' ); $wgLDAPBaseDNs = array( 'exampleNonADDomain' => 'ou=abcd, o=efgh, c=com' ); $wgLDAPEncryptionType = array( 'exampleNonADDomain' => 'clear' );

I also Tried

$wgLDAPProxyAgent = array(  'exampleNonADDomain' => 'cn=Manager' ); $wgLDAPProxyAgentPassword = array( 'exampleNonADDomain' => 'eX@mP1eP$$wRd' );

But didn't help Now when I open the wiki page, it comes up BLANK. Without the above code it works fine

I want to do the following

1) Wiki users can ONLY login via authenticating against LDAP server. No one else can register or use wiki. ALL users are in many subtrees under "ou=abcd, o=efgh, c=com"

2) Probably control access to a group on LDAP (if it can be done).. so only those users IN THAT GROUP, can edit / view wiki

Please help.. new to all of this..

Cheers