Thread:Extension talk:LDAP Authentication/Ldap Configuration Help

Hi I am struggling to get Ldap working on my verision of mediawiki 1.15 and Ldap plugin version 1.2d. My code is below...

require_once("/opt/app/apache2.2.8/htdocs/aspirewiki/extensions/LdapAuthentication/LdapAuthentication.php"); $wgAuth = new LdapAuthenticationPlugin; $wgLDAPDebug = 3; $wgDebugLogGroups["ldap"] = "/opt/app/apache2.2.8/htdocs/aspirewiki/debug1.log"; $wgLDAPDomainNames=array( "work" ); $wgLDAPServerNames = array("work" => "work.net" ); $wgUseLocal = false; $wgLDAPEncryptionType = array("work.net" => "clear"); $wgLDAPProxyAgent = array("work"=>"cn[work.net],ou=[work.net],ou=[work.net],DC=[work.net],DC=[work.net],DC=[work.net]"); $wgLDAPProxyAgentPassword = array("work"=>"[work.net]"); $wgLDAPBaseDNs = array("OU=[work.net],OU=[work.net],dc=[work.net],dc=[work.net],dc=[work.net]"); $wgLDAPSearchAttributes = array( "work.net" => "uid" ); $wgLDAPSearchStrings = array( "work.net" => "USER-NAME@work.net" );
 * 1) Ldap Authentication

The debug errors are below: 2011-06-08 09:13:10 wikidb: Entering validDomain 2011-06-08 09:13:10 wikidb: User is using a valid domain. 2011-06-08 09:13:10 wikidb: Setting domain as: hmrcmis 2011-06-08 09:13:10 wikidb: Entering getCanonicalName 2011-06-08 09:13:10 wikidb: Username isn't empty. 2011-06-08 09:13:10 wikidb: Munged username: Cg10223 2011-06-08 09:13:10 wikidb: Entering userExists 2011-06-08 09:13:10 wikidb: 2011-06-08 09:13:10 wikidb: Entering authenticate 2011-06-08 09:13:10 wikidb: 2011-06-08 09:13:10 wikidb: Entering Connect 2011-06-08 09:13:10 wikidb: It looks like you are issing LDAP support; please ensure you have either compiled LDAP support in, or have enabled the module. If the authentication is working for you, the plugin isn't properly detecting the LDAP module, and you can safely ignore this message. 2011-06-08 09:13:10 wikidb: Failed to connect 2011-06-08 09:13:10 wikidb: Entering allowPasswordChange 2011-06-08 09:13:10 wikidb: Entering modifyUITemplate LIVE hzzq29@8915MN0W-VM009:/opt/app/apache2.2.8/htdocs/aspirewiki>

Can anyone help with this? I think I have not properly enabled Ldap but the Ldap plugin is installed and called so Im not sure what else I can do? Any help would be great.

Thanks! :)