> 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-n...@realdomain" );

To something like:

$wgLDAPDomainNames = array( "fakedomainname" );
$wgLDAPServerNames = array( "fakedomainname" => "exampleserver1.example.com"
);
$wgLDAPSearchStrings = array ( "fakedomainname" => "user-n...@realdomain" );

Notice that user-n...@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
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to