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

I did that so the code now looks like the following. Have I set up the Proxy agent and BaseDNs incorrectly? A user has logged in as xx12345@domain.net? 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( "hmrcmis" ); $wgLDAPServerNames = array("hmrcmis" => "adserver.hmrcmis.net" ); $wgUseLocal = false; $wgLDAPEncryptionType = array("hmrcmis" => "clear"); $wgLDAPProxyAgent = array("hmrcmis"=>"cn=[hmrcmis.net],ou=[hmrcmis.net],DC=[hmrcmis.net]"); $wgLDAPBaseDNs = array('hmrcmis' => 'ou=Users,dc=hmrcmis,dc=net'); $wgLDAPSearchStrings = array( "hmrcmis" => "USER-NAME@hmrcmis.net" );
 * 1) Change Authoruthentication

and the dubug says: 2011-07-08 09:29:13 wikidb: 1.2e Entering validDomain 2011-07-08 09:29:13 wikidb: 1.2e User is using a valid domain (hmrcmis). 2011-07-08 09:29:13 wikidb: 1.2e Setting domain as: hmrcmis 2011-07-08 09:29:13 wikidb: 1.2e Entering getCanonicalName 2011-07-08 09:29:13 wikidb: 1.2e Username isn't empty. 2011-07-08 09:29:13 wikidb: 1.2e Munged username: Cg10223 2011-07-08 09:29:13 wikidb: 1.2e Entering userExists 2011-07-08 09:29:13 wikidb: 1.2e 2011-07-08 09:29:13 wikidb: 1.2e Entering authenticate 2011-07-08 09:29:13 wikidb: 1.2e 2011-07-08 09:29:13 wikidb: 1.2e Entering Connect 2011-07-08 09:29:13 wikidb: 1.2e Using TLS or not using encryption. 2011-07-08 09:29:13 wikidb: 1.2e Using servers:  ldap://adserver.hmrcmis.net 2011-07-08 09:29:13 wikidb: 1.2e Connected successfully 2011-07-08 09:29:13 wikidb: 1.2e Entering getSearchString 2011-07-08 09:29:13 wikidb: 1.2e Doing a proxy bind 2011-07-08 09:29:13 wikidb: 1.2e Failed to bind as cn=[hmrcmis.net],ou=[hmrcmis.net],DC=[hmrcmis.net] 2011-07-08 09:29:13 wikidb: 1.2e with password: 2011-07-08 09:29:13 wikidb: 1.2e Failed to bind 2011-07-08 09:29:13 wikidb: 1.2e User DN is blank 2011-07-08 09:29:13 wikidb: 1.2e Entering allowPasswordChange 2011-07-08 09:29:13 wikidb: 1.2e Entering modifyUITemplate