Thread:Extension talk:LDAP Authentication/Ldap Configuration Help/reply (12)

I have now commented out the proxy agent but still the same error? I have tried to modify the code again.

require_once("/opt/app/apache2.2.8/htdocs/aspirewiki/extensions/LdapAuthentication/LdapAuthentication.php"); $wgAuth = new LdapAuthenticationPlugin; $wgLDAPDebug = 5; $wgDebugLogGroups["ldap"] = "/opt/app/apache2.2.8/htdocs/aspirewiki/debug11.log"; $wgLDAPDomainNames=array( "domain" ); $wgLDAPServerNames = array("domain" => "domain.net:389" ); $wgUseLocal = false; $wgLDAPEncryptionType = array("domain" => "clear"); $wgLDAPBaseDNs = array('domain' => 'ou=End User,dc=domain,dc=net'); $wgLDAPSearchStrings = array( "domain" => "USER-NAME@domain.net" );
 * 1) $wgLDAPProxyAgent = array("domain"=>"cn=[domain.net],ou=[domain.net],DC=[domain.net]");
 * 1) $wgLDAPSearchAttributes = array( "domain" => 'sAMAccountName');
 * 1) $wgLdapSearchStrings = array( "domain.net" => "domain\\USER-NAME" );

2011-07-12 09:38:09 wikidb: 1.2e Entering validDomain 2011-07-12 09:38:09 wikidb: 1.2e User is using a valid domain (domain). 2011-07-12 09:38:09 wikidb: 1.2e Setting domain as: domain 2011-07-12 09:38:09 wikidb: 1.2e Entering getCanonicalName 2011-07-12 09:38:09 wikidb: 1.2e Username isn't empty. 2011-07-12 09:38:09 wikidb: 1.2e Munged username: Cg10223 2011-07-12 09:38:09 wikidb: 1.2e Entering userExists 2011-07-12 09:38:09 wikidb: 1.2e 2011-07-12 09:38:09 wikidb: 1.2e Entering authenticate 2011-07-12 09:38:09 wikidb: 1.2e 2011-07-12 09:38:09 wikidb: 1.2e Entering Connect 2011-07-12 09:38:09 wikidb: 1.2e Using TLS or not using encryption. 2011-07-12 09:38:09 wikidb: 1.2e Using servers:  ldap://domain.net:389 2011-07-12 09:38:09 wikidb: 1.2e Connected successfully 2011-07-12 09:38:09 wikidb: 1.2e Entering getSearchString 2011-07-12 09:38:09 wikidb: 1.2e Doing a straight bind 2011-07-12 09:38:09 wikidb: 1.2e userdn is: Cg10223@domain.net 2011-07-12 09:38:09 wikidb: 1.2e 2011-07-12 09:38:09 wikidb: 1.2e Binding as the user 2011-07-12 09:38:09 wikidb: 1.2e Failed to bind as Cg10223@domain.net 2011-07-12 09:38:09 wikidb: 1.2e with password: Pakistan00 2011-07-12 09:38:09 wikidb: 1.2e Entering allowPasswordChange 2011-07-12 09:38:09 wikidb: 1.2e Entering modifyUITemplate