Using LDAP with Open Directory on OS X

Jump to: navigation, search

I have a great install of mediawiki up and running, nice custom theme and several plugins. The last piece of the puzzle to be able to launch the wiki is to configure the LDAP plugin to work with Open Directory. Our servers run Snow Leoaprd 10.6. I have tried some basic configuration with little success, the latest error message simply says, "Login error Incorrect password entered. Please try again." Any help is greatly appreciated.

I am running MediaWiki version: 1.16 The version of the LDAP plugin is: 1.2b (alpha)

Our LocalSettings file looks like this:

require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); $wgAuth = new LdapAuthenticationPlugin();

$wgLDAPDomainNames = array(

 "SpliceHere"
 );

$wgLDAPServerNames = array(

 "SpliceHere"=>"odserver.splice.lan"
 );

$wgLDAPWriteLocation = array(

 "SpliceHere"=>"cn=users,dc=odserver,dc=splice,dc=lan"
 );

$wgLDAPUseLocal = false;

$wgLDAPOptions = array(

 "SpliceHere"=>array( LDAP_OPT_DEREF, 1 ),
 );

$wgLDAPPort = array(

 "SpliceHere"=>389
 );
 
 $wgLDAPSearchStrings = array(
 "SpliceHere"=>"uid=mediawiki,cn=users,dc=odserver,dc=splice,dc=lan"
 );
 
 $wgLDAPPreferences = array(
 "SpliceHere"=>array( "email"=>"mail","realname"=>"displayname","nickname"=>"cn","language"=>"preferredlanguage")
 );
 
 $wgLDAPMailPassword = array(
 "SpliceHere"=>true
 );
 
 $wgDebugLogGroups["ldap"] = "/tmp/debug.log" ;
173.8.111.9720:36, 22 July 2011
$wgLDAPSearchStrings = array(
"SpliceHere"=>"uid=mediawiki,cn=users,dc=odserver,dc=splice,dc=lan"
);

That definitely isn't correct. Should it be "uid=USER-NAME,cn=users,dc=odserver,dc=splice,dc=lan"?

Ryan lane02:36, 2 December 2011
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox