We're using LDAP as well.  It's a bit of a hack, but what I've done is
use an Include file that has a set of require user and require group
directives.  I've built a database table, and the list is generated from
that table with a cron job.  Doing it this way -- with the include file
-- lets me use the same file in both the SubVersion section of the conf
files and the Trac section.  I'm actually managing three different
SubVersion repositories and two related Trac instances.

============================================================
Bruce E. Wilson ([EMAIL PROTECTED]) 
Environmental Sciences Division 
Oak Ridge National Laboratory 
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Jim Page
Sent: Wednesday, June 06, 2007 3:41 AM
To: [email protected]
Subject: [Trac] LdapPlugin: user_rdn support for users in several OUs?



Morning All

 

My problem: I am using LdapPlugin to manage my Trac permissions, and
it's great. However our AD structure has users assigned to various
different OUs, Technical, Sales, Management and so on. The Groups I am
using to assign permissions are in the Technical OU (which I set up in
group_rdn), and all works fine, as long as the users themselves are in
the OU I set up in the 'user_rdn=' config entry. But there are several
users in other OUs I would like to allow in, including (rather urgently)
the Technical Manager (who is in OU=Management). Is this currently
supported in any way?  Grasping at straws, I tried 'OU=*' in user_rdn
:-) but it didn't work of course.

 

All help gratefully received.

 

In the event that this is not currently supported, I am considering the
idea of patching LdapPlugin to allow an array of RDNs in user_rdn -
anyone care to comment on that idea, is it a desirable feature for
anyone except me? Is there a better way to do this?

 

All the best

Jim

 

Jim Page

Chief Technical Architect

Email Systems Ltd

Telephone: +44 (0) 870 141 7070

Facsimile: +44 (0) 870 141 8080

www.emailsystems.com <http://www.emailsystems.com>  - robust messaging
technology

 





--~--~---------~--~----~------------~-------~--~----~
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