[Mediawiki-l] LDAP tree search issue

Tim McGeary tmm8 at Lehigh.EDU
Mon Feb 18 15:12:14 UTC 2008


Hi All,

I've poked through the archives, but I wasn't able to find an answer on 
this, but it is possible I missed it.  I've been running an installation 
of MediaWiki with the LDAP extension for awhile for a specific 
department on campus, but now I have another MediaWiki installation that 
needs LDAP for multiple departments.

In the first installation, I could only get LDAP to work if I defined 
the full tree in the wgLDAPSearchStrings array.  For example,

$wgLDAPSearchStrings = array( 
"LehighLDAP"=>"cn=USER-NAME,ou=specificdept,ou=f-s,dc=my,dc=university,dc=edu" 
  );

What I can do in other applications is get rid of the ou elements and 
just leave the dc elements and it will search down.  But when I do this 
here, it doesn't work, but returns a bad password error.

Is there a way to generalize this search string or do I need to include 
all of the specific search string trees?  And if the latter, what is the 
syntax to include multiple search strings?

Thanks,
Tim

-- 
Tim McGeary
Senior Systems Specialist
Lehigh University
610-758-4998
tim.mcgeary at lehigh.edu
Google Talk: timmcgeary



More information about the MediaWiki-l mailing list