Thread:Extension talk:LDAP Authentication/Blank screen on MediaWiki load

Hello,

I have a couple of questions about how to get started with this plugin. I am coming from a Windows environment and this is my first time working with PHP. I have sucessfully installed PHP and MediaWiki on a Windows 2003 Server and it is running great. This application is going to be used for internal purposes on a corporate intranet and therefore I need to get the AD (LDAP) authentication setup on it.

I dowloaded the extension and put in in the extensions directory. By default the file comes as "[Content]" so I am assuming that I need to rename it to LdapAuthentication.php. I have tried it both ways and get the same issue.

I setup a simple example in my code so that I could start working with it; but every time I add the code to connect to the extension, MediaWiki won't load. It just shows a blank screen (all white) with no errors or other indication of what the problem is. If I comment out the connection lines then it comes right back up.

Here's the code from my LocalSettings.php file:


 * 1) DNs in $wgLDAPRequiredGroups must be lowercase, as search result attribute values are...

require_once( "$IP/extensions/LdapAuthentication.php" );

$wgAuth = new LdapAuthenticationPlugin;

$wgLDAPRequiredGroups = array( "DOMAINNAME"=>array("ou=Security Groups,dc=DOMAIN,dc=local") );

$wgLDAPGroupUseFullDN = array( "DOMAINNAME"=>true );

$wgLDAPGroupObjectclass = array( "DOMAINNAME"=>"group" );

$wgLDAPGroupAttribute = array( "DOMAINNAME"=>"member" );

$wgLDAPGroupSearchNestedGroups = array( "DOMAINNAME"=>true );

$wgLDAPGroupNameAttribute = array( "Domain Users"=>"cn" );

$wgLDAPBaseDNs = array( "DOMAINNAME"=>"dc=DOMAIN,dc=local" );

$wgLDAPSearchAttributes = array( "DOMAINNAME"=>"sAMAccountName" );

Do you have any idea why the plugin will not load? If I could at least get it to load then I coudl start troubleshooting this.

Thanks!!