[Mediawiki-l] Problem with LDAP Authentication plugin

Jack Eapen C jackec at suntecgroup.com
Wed Jun 13 04:17:40 UTC 2007


Hi,

I'm using LDAP authentication plugin with MW 193. If a username does not exist in the MW user table, when that user logs in, he/she can't. The error displayed is 

"There was either an external authentication database error or you are not allowed to update your external account"

So I have to add all the users existing in the AD to MW table as well. But this is not practical as new users are added to AD quite often. 

Here's my settings for ldapauthentication plugin:

/*LDAP authentication
*/
require_once( "$IP/extensions/LdapAuthentication.php" );
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPUseLocal = true;
$wgLDAPEncryptionType = array( "suntecsbs.com"=>"ssl" );
$wgLDAPDebug = 0;
$wgLDAPDomainNames = array("suntecsbs.com");
$wgLDAPServerNames = array("suntecsbs.com"=>"sbssvad20.suntecsbs.com");
$wgLDAPSearchStrings = array("suntecsbs.com"=>"SUNTECSBS\\USER-NAME");
$wgLDAPSearchAttributes = array("suntecsbs.com"=>"sAMAccountName");
$wgLDAPBaseDNs = array("suntecsbs.com"=>"OU=SunTec Business Solutions,DC=suntecsbs,DC=com");

Any suggestions, plz?


Regards,
 
Jack Eapen C
SunTec Knowledge Centre
------------------------------------------------------------------------------------
 



This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You



More information about the MediaWiki-l mailing list