I have some further information.

After properly setting up LDAP in PHP, I now get error messages in the
apache error log. Here's what I show:

[Tue Sep 22 10:21:54 2009] [error] [client 192.168.1.240] PHP Warning:
ldap_start_tls(): Unable to start TLS: Can't contact LDAP server in
/srv/www/htdocs/w/extensions/LDAPAuthentication/LdapAuthentication.php on
line 213, referer: https://192.168.1
.130/w/index.php5?title=Special:UserLogin&returnto=Main_Page

.240 is the workstation I'm on
.130 is the server MediWiki is running on
.5 is the LDAP server

Here are the settings I'm using in the LocalSettings.php file:

#LDAP Authentication
Require_once( 'extensions/LDAPAuthentication/LdapAuthentication.php' );
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( "FOSAWiki" );
$wgLDAPServerNames = array( "FOSAWiki"=>"192.168.1.5"  );
$wgLDAPSearchStrings = array(
"FOSAWiki"=>"cn=USER-NAME,ou=LEVEL2,ou=LEVEL1,o=ORGANIZATION" );
$wgLDAPUseSSL = array( "{Wiki Identity variable}"=>"ssl" );
$wgMinimalPasswordLength = 1;



On Mon, Sep 21, 2009 at 4:23 PM, Lane, Ryan
<[email protected]>wrote:

>
> * What versions of MediaWiki and the LDAP plugin are you using?
> * Is LDAP support for PHP available?
> * Do you have the LDAP plugin enabled at the bottom of LocalSettings.php?
> * Is the client connecting to the eDirectory server at all? Check netstat,
> and check your logs for connections. If it is connecting, and immediately
> disconnecting, you have an SSL/TLS trust issue.
> * Turn on debugging on the plugin [1]
>
> I'm betting LDAP support isn't available in PHP.
>
> V/r,
>
> Ryan Lane
>
> [1]
>
> http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Options#Debuggin
> g_options
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to