Thread:Extension talk:LDAP Authentication/Can't get group authentication to work/reply (4)

Sure, here it is:

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

$wgLDAPDomainNames = array( "OURDOMAIN" ); $wgLDAPServerNames = array( "OURDOMAIN"=>"ldap.server.intern" ); $wgLDAPBaseDNs = array( "OURDOMAIN"=>"dc=ourdomain,dc=our" ); $wgLDAPSearchStrings = array( "OURDOMAIN"=>"OURDOMAIN\\USER-NAME" ); $wgLDAPSearchAttributes = array( "OURDOMAIN"=>"sAMAccountName" ); $wgLDAPLowerCaseUsername = array( "OURDOMAIN"=>true ); $wgLDAPRequiredGroups = array( "OURDOMAIN"=>array("CN=D-AIM-X-IM,OU=Organisation,OU=Groups,OU=Users,DC=ourdomain,DC=our")); $wgLDAPGroupUseFullDN = array( "OURDOMAIN"=>true ); $wgLDAPGroupsUseMemberOf = array( "OURDOMAIN"=>true ); $wgLDAPGroupObjectClass = array( "OURDOMAIN"=>"group" ); $wgLDAPGroupAttribute = array( "OURDOMAIN"=>"member" ); $wgLDAPGroupSearchNestedGroups = array ("OURDOMAIN"=>true ); $wgLDAPGroupNameAttribute = array( "OURDOMAIN"=>"cn" ); $wgLDAPPreferences = array( "OURDOMAIN"=>true ); $wgLDAPDisableAutoCreate = array( "OURDOMAIN"=>false ); $wgMinimalPasswordLength = 1; $wgLDAPEncryptionType = array( "OURDOMAIN"=>"ssl" );

The changed / new entries are in bold