Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
KennethLavrsen authored and KennethLavrsen committed Nov 9, 2008
1 parent e0fddef commit 1d87e9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/TWiki/Contrib/LdapContrib.pm
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/TWiki/Contrib/LdapContrib/Config.spec
Expand Up @@ -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';
2 changes: 1 addition & 1 deletion lib/ldap.cfg
Expand Up @@ -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.
Expand Down

0 comments on commit 1d87e9d

Please sign in to comment.