I've altered $wgLDAPDomainNames in LocalSettings.php to a made up domain, but I can't login and I get the following error;
Warning: ldap_start_tls() [function.ldap-start-tls]: Unable to start TLS: Can't contact LDAP server in /wiki/extensions/LdapAuthentication.php on line 217 Log in / create account From Wiki Jump to: navigation, search Login error: Incorrect password entered. Please try again. Log in
Again, Im probably missing something very fundamental here.
If it was working before, and it isn't working now, you are changing the wrong thing.
What I was saying was to change your configuration from something like:
$wgLDAPDomainNames = array( "realdomainname" ); $wgLDAPServerNames = array( "realdomainname" => "exampleserver1.example.com" ); $wgLDAPSearchStrings = array ( "realdomainname" => "USER-NAME@REALDOMAIN" );
To something like:
$wgLDAPDomainNames = array( "fakedomainname" ); $wgLDAPServerNames = array( "fakedomainname" => "exampleserver1.example.com" ); $wgLDAPSearchStrings = array ( "fakedomainname" => "USER-NAME@REALDOMAIN" );
Notice that USER-NAME@REALDOMAIN doesn't change, since that is something that is actually used for authentication, and not something just used for the configuration.
V/r,
Ryan Lane