Tags:
create new tag
view all tags

Question

I'm using LdapContrib with fallback groups enabled, because I want to managed the groups through the wiki.

When I manually create a group and add users, they do not appear in Main/WikiGroups, however if I visit the actual group name, the members are present.

For exaample: https://wiki.cs.dal.ca/bin/view/Main/TWikiGroups

https://wiki.cs.dal.ca/bin/view/Main/CSHelpGroup

This is probably something obvious, however, I'm not sure what it would be, as I (think I) have tried all permutations in the groups settings for LdapContrib

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: LdapContrib DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: xsesrve 10.4
Web server: Apache 1.3
Perl version: 5.8.6
Client OS: Kubuntu
Web Browser: firefox 3b5
Categories: Authentication, Authorisation, Plugins

-- ScottWalsh - 17 May 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I saw this same thing just yesterday, so I looked at an existing group to see if there were any differences. I found that the existing group defined members by their LDAP username, not their WikiName. I replaced the WikiNames with the usernames in my new group and they appeared normally in TWikiGroups.

Looking at your example I wonder, too, if they maybe won't show up until they have logged in or have a UserTopic.

-- DavidWolfe - 17 May 2008

Oh man. I've been racking my brain wondering why I couldn't get wiki groups to work with ldapcontrib. Thanks David! Using usernames for access control has really done the trick. I was almost ready to give up. We are upgrading to 4.2.

Is this documented anywhere obvious that I've missed?

-- TimBerger - 09 Jun 2008

The more I think about it, the more this sounds like a bug. If the access control mechanism ever needs to be replaced, then every page referencing usernames (non-wikinames) will be wrong.

-- TimBerger - 10 Jun 2008

I didn't find it documented anywhere. I just tried it when WikiNames failed and it worked, so I edited all my existing groups to use usernames instead of WikiNames. I agree that it seems like a bug. I'm not sure that LdapContrib is actually quite ready for TWiki 4.2. Email address mapping also does not work, requiring subscribers to WebNotify to subscribe by explicit email address instead of WikiName. I will say that everything else seems to work though. Even though you define groups by username, those users' activities are referenced by WikiName, as expected.

-- DavidWolfe - 10 Jun 2008

Closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 02 Aug 2008

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-08-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.