From 1d87e9d95c9e17bf0a63ca304e085a7bba1e98fa Mon Sep 17 00:00:00 2001 From: KennethLavrsen Date: Sun, 9 Nov 2008 17:42:08 +0000 Subject: [PATCH] Item109: 2nd wave of renaming TWikiContributor to ProjectContributor Michael may want to look at ldap contrib I added ProjectContributor but did not remove TWikiContributor to the list of excluded names in case some TWiki use wants to use the extension. Please check I did it right git-svn-id: http://svn.foswiki.org/trunk/LdapContrib@492 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- lib/TWiki/Contrib/LdapContrib.pm | 2 +- lib/TWiki/Contrib/LdapContrib/Config.spec | 2 +- lib/ldap.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/TWiki/Contrib/LdapContrib.pm b/lib/TWiki/Contrib/LdapContrib.pm index f380807..f348717 100644 --- a/lib/TWiki/Contrib/LdapContrib.pm +++ b/lib/TWiki/Contrib/LdapContrib.pm @@ -175,7 +175,7 @@ sub new { mailAttribute=>$TWiki::cfg{Ldap}{MailAttribute} || 'mail', exclude=>$TWiki::cfg{Ldap}{Exclude} || - 'TWikiGuest, TWikiContributor, TWikiRegistrationAgent, TWikiAdminGroup, NobodyGroup', + 'TWikiGuest, TWikiContributor, ProjectContributor, TWikiRegistrationAgent, TWikiAdminGroup, NobodyGroup', pageSize=>$TWiki::cfg{Ldap}{PageSize} || 200, isConnected=>0, diff --git a/lib/TWiki/Contrib/LdapContrib/Config.spec b/lib/TWiki/Contrib/LdapContrib/Config.spec index 4244e45..951c55b 100644 --- a/lib/TWiki/Contrib/LdapContrib/Config.spec +++ b/lib/TWiki/Contrib/LdapContrib/Config.spec @@ -172,4 +172,4 @@ $TWiki::cfg{Ldap}{PageSize} = 500; # **STRING 50** # Prevent certain names from being looked up in LDAP -$TWiki::cfg{Ldap}{Exclude} = 'TWikiGuest, TWikiContributor, TWikiRegistrationAgent, TWikiAdminGroup, NobodyGroup'; +$TWiki::cfg{Ldap}{Exclude} = 'TWikiGuest, TWikiContributor, ProjectContributor, TWikiRegistrationAgent, TWikiAdminGroup, NobodyGroup'; diff --git a/lib/ldap.cfg b/lib/ldap.cfg index cf5e66e..c2a29c1 100644 --- a/lib/ldap.cfg +++ b/lib/ldap.cfg @@ -69,7 +69,7 @@ $TWiki::cfg{Ldap}{Base} = 'dc=my,dc=domain,dc=com'; #$TWiki::cfg{Ldap}{MapGroups} = 0; # prevent certain names from being looked up in ldap -#$TWiki::cfg{Ldap}{Exclude} = 'TWikiGuest, TWikiContributor, TWikiRegistrationAgent, TWikiAdminGroup, NobodyGroup'; +#$TWiki::cfg{Ldap}{Exclude} = 'TWikiGuest, TWikiContributor, ProjectContributor, TWikiRegistrationAgent, TWikiAdminGroup, NobodyGroup'; # number of user objects to fetch in one paged result when building the username mappings; # this is a speed optimization option, use this value with caution.