I added the PHP code to the LocalSettings.php file.
Authentication
appears to work. However, the logon never redirects to the main page.
With $wgLDAPDebug = 2, I get the following output:
Entering validDomain
User is using a valid domain
Setting domain as:
abctech.com
Entering getCanonicalName
Username isn't empty.
Munged username: Jwgoerlich
Entering userExists
Entering authenticate
Entering Connect
Hmm... Doesn't really look right. If the plugin is stopping at the
connect function, then most likely PHP doesn't have LDAP support. You
are getting a blank screen I'm assuming?
This looks about right, but no go. Any suggestions?
J Wolfgang Goerlich
The PHP code that I added to the LocalSettings is:
require_once( 'LdapAuthentication.php' );
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array("abctech.com");
$wgLDAPServerNames = array("abctech.com"=>"dc7.abctech.com");
$wgLDAPUseLocal = false;
$wgLDAPUseSSL = array ("abctech.com"=>false);
$wgLDAPUseTLS = array ("abctech.com"=>true);
You may want to try SSL instead of TLS just in case.
$wgLDAPSearchStrings =
array("abctech.com"=>"Abctech\\USER-NAME");
$wgLDAPDebug = 2;
And try setting debug to 4. Otherwise your settings look fine.
V/r,
Ryan Lane