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

Hi I have now managed to get past the previous problem but I am now encountering errors with the bind, any ideas what I could do? Thanks

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” => “adserver.domain.net” ); $wgUseLocal = false; $wgLDAPEncryptionType = array(“domain” => “clear”); $wgLDAPBaseDNs = array(“OU=[domain.net],OU=[domain.net],dc=[domain.net],dc=[domain.net],dc=[domain.net]“); $wgLDAPSearchAttributes = array( “domain.net” => ‘sAMAccountName’); $wgLdapSearchStrings = array( “domain.net” => “domain\\USER-NAME” );
 * 1) $wgLDAPProxyAgent = array(“domain”=>”cn=[domain.net],ou=[domain.net],ou=[domain.net],DC=[domain.net],DC=[domain.net],DC=[domain.net]“);
 * 1) $wgLDAPSearchStrings = array( “domain” => “USER-NAME@domain.net” );

Debug Log 2011-06-30 13:26:30 wikidb: 1.2e Entering validDomain 2011-06-30 13:26:30 wikidb: 1.2e User is using a valid domain (domain). 2011-06-30 13:26:30 wikidb: 1.2e Setting domain as: domain 2011-06-30 13:26:30 wikidb: 1.2e Entering getCanonicalName 2011-06-30 13:26:30 wikidb: 1.2e Username isn’t empty. 2011-06-30 13:26:30 wikidb: 1.2e Munged username: Cg10223 2011-06-30 13:26:30 wikidb: 1.2e Entering userExists 2011-06-30 13:26:30 wikidb: 1.2e 2011-06-30 13:26:30 wikidb: 1.2e Entering authenticate 2011-06-30 13:26:30 wikidb: 1.2e 2011-06-30 13:26:30 wikidb: 1.2e Entering Connect 2011-06-30 13:26:30 wikidb: 1.2e Using TLS or not using encryption. 2011-06-30 13:26:30 wikidb: 1.2e Using servers: ldap://adserver.domain.net 2011-06-30 13:26:30 wikidb: 1.2e Connected successfully 2011-06-30 13:26:30 wikidb: 1.2e Entering getSearchString 2011-06-30 13:26:30 wikidb: 1.2e Doing an anonymous bind 2011-06-30 13:26:30 wikidb: 1.2e Failed to bind as 2011-06-30 13:26:30 wikidb: 1.2e with password: 2011-06-30 13:26:30 wikidb: 1.2e Failed to bind 2011-06-30 13:26:30 wikidb: 1.2e User DN is blank 2011-06-30 13:26:30 wikidb: 1.2e Entering allowPasswordChange 2011-06-30 13:26:30 wikidb: 1.2e Entering modifyUITemplate 2011-06-30 13:26:35 wikidb: 1.2e Entering validDomain 2011-06-30 13:26:35 wikidb: 1.2e User is using a valid domain (domain). 2011-06-30 13:26:35 wikidb: 1.2e Setting domain as: domain 2011-06-30 13:26:35 wikidb: 1.2e Entering getCanonicalName 2011-06-30 13:26:35 wikidb: 1.2e Username isn’t empty. 2011-06-30 13:26:35 wikidb: 1.2e Munged username: Cg10223 2011-06-30 13:26:35 wikidb: 1.2e Entering userExists 2011-06-30 13:26:35 wikidb: 1.2e 2011-06-30 13:26:35 wikidb: 1.2e Entering authenticate 2011-06-30 13:26:35 wikidb: 1.2e 2011-06-30 13:26:35 wikidb: 1.2e Entering Connect 2011-06-30 13:26:35 wikidb: 1.2e Using TLS or not using encryption. 2011-06-30 13:26:35 wikidb: 1.2e Using servers: ldap://adserver.domain.net 2011-06-30 13:26:35 wikidb: 1.2e Connected successfully 2011-06-30 13:26:35 wikidb: 1.2e Entering getSearchString 2011-06-30 13:26:35 wikidb: 1.2e Doing an anonymous bind 2011-06-30 13:26:35 wikidb: 1.2e Failed to bind as 2011-06-30 13:26:35 wikidb: 1.2e with password: 2011-06-30 13:26:35 wikidb: 1.2e Failed to bind 2011-06-30 13:26:35 wikidb: 1.2e User DN is blank 2011-06-30 13:26:35 wikidb: 1.2e Entering allowPasswordChange 2011-06-30 13:26:35 wikidb: 1.2e Entering modifyUITemplate