how do groups work?

Gunnar Wrobel wrobel at pardus.de
Mon Feb 18 14:19:49 CET 2008


Adam Katz <kolab at khopis.com> writes:

> Gunnar Wrobel wrote:
>> Adam Katz <kolab at khopis.com> writes:
>> 
>>> Using kolab-webadmin, I can set permissions for a Shared Folder by
>>> "UID/email/GID."  I'd like to set a folder to a group of users (GID),
>>> but I can't seem to figure out what that means.  It's not a
>>> distribution list ... how do I create a group of users for Kolab?
>> 
>> I think it should be a group (didn't check the code now). But from
>> your request it looks like that is not working. 
>
>> Can you try to use cyradm to check the ACLs on the shared folder?
>
> Here's some ldapsearch and cyradm output
> (I changed my dc to "d" since this email will be archived):
>
>
> $ ldapsearch -x -W -D "cn=manager,cn=internal,dc=d,dc=com" \
>     "member=cn=Adam Katz,dc=d,dc=com" cn
> Enter LDAP Password:
> # extended LDIF
> #
> # LDAPv3
> # base <> with scope subtree
> # filter: member=cn=Adam Katz,dc=d,dc=com
> # requesting: cn
> #
>
> # spam-police, d.com
> dn: cn=spam-police,dc=d,dc=com
> cn: spam-police
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
>
> $ cyradm -u manager localhost
> IMAP Password:localhost>
> localhost> sam shared.spampolice at d.com spam-police at d.com lrswipda \
>   spam-police lrswipda
> localhost>
>
>
> (I wasn't sure which to try, so I tried both.  I also tried just
> spam-police at d.com.)  After this, I checked whether I could subscribe
> in ThunderBird.  No dice.  Back to cyradm:
>
>
> localhost> sam shared.spampolice at d.com adam at d.com lrswipda
> localhost> lam shared.spampolice at d.com
> spam-police at d.com lrswipda
> spam-police lrswipda
> adam at d.com lrswipda
> localhost>
>
>
> Thunderbird confirmed this works.  Groups are failing somewhere.  Any
> time I use kolab-webadmin to modify the folder, permissions get wiped.
>
>>> (I'm using Debian Etch packages for kolab-webadmin 0.4.0-20060810-4
>>> with kolabd 1.9.4-20060707.dfsg-2)
>> 
>> This might also be a specific bug of the Kolab2/Debian setup. 
>
> I hope not, that would make it harder to track down.

Okay, tried this now on Kolab-2.2-RC1. The first steps look fine:

1) Create a distribution list named testgroup at example.com

2) Create a shared folder named test at example.com (results in the IMAP
   folder shared.test at example.com) and enter the group email
   "testgroup at example.com" with full access under the shared fodler
   access rights.

3) Check the folder using cyradm:

   example.com> lam shared.test at example.com
   group:testgroup at example.com lrswipteda

   ^ the prefix "group:" looks good.

The only remaining problem: I don't see the folder when I use a member
of that group. I'll have to check if this functionality is currently
broken. But it looked as if you don't even get the "group:" prefix and
that would be another problem.

Cheers,

Gunnar

>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users

-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   >> Mail at ease - Rent a kolab groupware server at p at rdus <<                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the users mailing list