Hello Pavan,

I'm going to answer you inline.

On Wed, Feb 2, 2011 at 5:36 PM, Pavan Pendyala
<[email protected]> wrote:
>  Hello Viera,
> I am analyzing and learning the things with Trac and subversion. I have one
> customized application which is developed and deployed by some other
> people.
> I am trying to integrate that application with active directory. can you

I'm thinking that what you want is to authenticate users through
Active Directory, isn't it?

> please help me regarding that?
> Thanks,
> Pavan.

The way I used to authenticate users using your Active Directory would
be installing an Apache2 Server with mod_ldap. The configuration will
change depending on your desired behavior.

Imagine that you want to show a login form when the user clicks on
'Login' link at the top of your trac project. The Apache2
configuration may be something like the following:

<Location /your-trac-project-name/login>
[...]
your wsgi or mod_python configuration
[...]
      AuthType Basic
      AuthName "Trac"
      AuthBasicProvider ldap
      AuthLDAPBindDN "CN=admin, OU=ou-name, DC=domain, DC=com"
      AuthLDAPBindPassword "admin-password"
      AuthLDAPURL ldap://ldaphost.mydomain.com/ou=ou-name,dc=mydomain,dc=com?uid
      Require valid-user
</Location>

I don't know if you are using WSGI or mod_python (deprecated), OS, how
is deployed the trac environment, etc. I hope this snippet would be
useful for you.

Can you provide a little bit more information about the deployment?

Regards,
Manuel Viera.

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