User talk:Wikinewbie~mediawikiwiki

Cannot get LDAP Auto Authentication to work, any help would be appreciated!
Here's my issue:

I have inherited a wiki from our last systems administrator. (Who left before I arrived) Before he left he had installed mediawiki for our employees to post articles about processes or instructions that have worked for them in the context of their job. The wiki is up and reachable on our intranet, and LDAP Authentication was working. I am trying to get auto authentication to work, so when you log in to our domain, those credentials automatically log you in to the mediawiki site when you go there.

The problem:

In attempting to set up the auto authentication I inadvertently broke the ldap authentication and didn't make a backup of the original localsettings.php file. (I know, I know) I've been on mediawiki's website on and off for several weeks now reading up on wiki's, and I just don't have enough base knowledge to understand what I'm doing wrong. I have posted the LDAP portion of the LocalSettings.php file below:

/ LDAP Authentication require_once( "$IP/extensions/LdapAuthentication/LdapAutoAuthentication.php" ); require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); /$wgAuth = new LdapAuthenticationPlugin; $wgLDAPDomainNames              = array("ourdomain"); $wgLDAPGroupBaseDNs             = array("ourdomain"=>"ou=groups,dc=domain,dc=org"); $wgLDAPAutoAuthDomain           = "ourdomain"; $wgLDAPGroupUseFullDN           = array("ourdomain"=>true ); $wgLDAPServerNames              = array(""ourdomain"=>"DC."ourdomain.local"); $wgLDAPSearchStrings            = array("ourdomain" => "ourdomain\USER-NAME" ); $wgLDAPSearchAttributes         = array("ourdomain"=>"sAMAccountName"); $wgLDAPBaseDNs                  = array("ourdomain"=>"dc=ourdomain,dc=org"); $wgLDAPEncryptionType           = array("ourdomain" => "ssl" ); $wgMinimalPasswordLength        = 1; /Configure LDAP Group settings $wgLDAPUseLDAPGroups            = array( "ourdomain"=>true ); $wgLDAPGroupObjectclass         = array( "ourdomain"=>"group" ); $wgLDAPGroupAttribute           = array( "ourdomain"=>"member" ); $wgLDAPGroupNameAttribute       = array( "ourdomain"=>"cn" ); /Restrict anonymous users $wgGroupPermissions['*' ]['createaccount']     = false; $wgGroupPermissions['*' ]['read']              = false; $wgGroupPermissions['*' ]['edit']              = false; /Remove the domain portion of the displayed username. Example: "DOMAIN\username" to "username" /list($dom,$userid) = split('[\]',$_SERVER['REMOTE_USER']); /$wgLDAPAutoAuthUsername = $userid; /AutoAuthSetup;

$wgLDAPGroupBaseDNs = array("ourdomain"=>"ou=groups,dc=domain,dc=org");

$wgLDAPDomainNames = array( "ourdomain" ); $wgLDAPServerNames = array( "ourdomain" => "dc.ourdomain.local dc2.ourdomain.local" ); $wgLDAPSearchStrings = array( "ourdomain" => "USER-NAME@ourdomain" ); $wgLDAPEncryptionType = array( "ourdomain" => "clear" );

Any help or advice would be appreciated. Thank you!