Thread:Project:Support desk/Active Directoy Group based Login Restrictions not working

Hi

I have been using Mediawiki for the past 4 months with Active directory integrated LDAP logins. Now every user in AD has access to all pages once they login. My requirement is to make Group based logins and restric all other users not to access mediawiki. For this, i have added the following in localsettings.php file which is not working. After adding the last line related to Required groups, it says incorrect user name and password. Please help.

$wgAuth = new LdapAuthenticationPlugin;

$wgLDAPDomainNames = array( 'ourdomainname' );

$wgLDAPServerNames = array( 'ourdomainname' => 'dc.ourdomainname dc.ourdomainname' );

$wgLDAPSearchStrings = array( 'ourdomainname' => 'domain\\USER-NAME' );

$wgLDAPEncryptionType = array( 'ourdomainname' => 'clear' );

$wgLDAPUseLocal = false;

$wgMinimalPasswordLength = 1;

$wgLDAPBaseDNs = array( 'ourdomainname' => 'dc=domain,dc=com' );

$wgLDAPSearchAttributes = array( 'ourdomainname' => 'sAMAccountName' );

$wgLDAPRequiredGroups = array( 'ourdomainname'=>array('CN=Wiki_Users,OU=Security Groups,OU=Others,DC=domain,DC=com') );