MediaWiki 1.17.0 MySql 5.5.15 Web Server : IIS 7.5 -> PHP 5.3.8 OS : Windows Server 2008 R2 (Domain Controller)
Since it's the domain controller, and that LDP.exe works with SSL, I believe my configuration is correct. More so, taking into account that I've already configured a few services to connect via SSL to AD like Collabnet Subversion Edge, My own Windows Service, IIS, FTP.
I've been able to make it work in clear mode, on port 389... However, as soon as I switch back to 636, and mode to 'ssl', I get a "bad password" error.
Also, I've been unable to get the logging to work... No file appear where I've set the directory! Here is my current configuration that I'm trying to get to work:
require_once ('extensions/LdapAuthentication/LdapAuthentication.php'); $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array( 'Jeremfg Active Directory' ); $wgLDAPSearchStrings = array( 'Jeremfg Active Directory' => 'USER-NAME@moon.jeremfg.com' ); $wgLDAPServerNames = array( 'Jeremfg Active Directory' => 'moon.jeremfg.com' ); $wgLDAPEncryptionType = array( 'Jeremfg Active Directory' => 'ssl' ); $wgLDAPPort = array( 'Jeremfg Active Directory'=>636 ); $wgLDAPBaseDNs = array( 'Jeremfg Active Directory' => 'dc=moon,dc=jeremfg,dc=com' ); $wgLDAPSearchAttributes = array( 'Jeremfg Active Directory' => 'sAMAccountName' ); $wgLDAPDisableAutoCreate = array( 'Jeremfg Active Directory' => false ); $wgLDAPDebug = 1; $wgDebugLogGroups["ldap"] = "C:\inetpub\wwwroot\quadwiki\logs" ; $wgLDAPUseLocal = false; $wgMinimalPasswordLength = 1;
I don't have any other php application so far that uses LDAP, but I've enabled it, as with SSL (SSL is confirmed to work with PEAR mail smtp send)... In any case, you can see the current configuration: https://jeremfg.com/phpinfo.php
Any idea how to enable logging, or why I can't connect via ssl? Thanks!
Edit : I use my own self-signed certificate, generated with the Certification Service of Windows Server