Hi Dirk,

  You need something like this in you apache configuration

<Location "/trac">
        # Use this for a single project
        SetEnv TRAC_ENV "/path/to/trac/projectA"

        AuthType Basic
        AuthName "Private Trac for projectA"
        AuthUserFile "/path/to/password/file/with/all/users"
        AuthGroupFile "/path/to/group/file/Group-projectA"
        Require group ProjectA
</Location>


The /path/to/password/file/with/all/users is your password file with
all users and the
/path/to/group/file/Group-projectA is the path to your group file
which contains 1 line

ProjectA: user1 user2 user3

Note the group name is case sensitive and it must match the Require
group line. Also not that you must not have an end of line character
at the end of this line for it to work

restart apache and you are all set.

Cheers,
TChristos

On Sep 28, 10:42 pm, dk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am in the process of setting up a trac server right now. (trac
> 0.10.3 on debian etch). Righth now apache2 does the user
> authentication and everything seems fine.
>
> Since there are more services than trac running I would like to share
> the user information between the different services and decide
> permissions inside trac using groups defined in a htgroups file. Is
> this possible? I was looking around and could only find the the trac
> internally defined groups. With trac-hacks down I had problems to find
> plugins that might do this.
>
> Thanks,
> Dirk


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to