Hi,

I'm using Apache with mod_auth_ldap and I want to allow all domain users
to open tickets. However, I couldn't find a way to populate the user details
(name and email address) for new users at their first login.

As such, I have published the ApacheUserInfoPlugin on Trac Hacks:

    http://trac-hacks.org/wiki/ApacheUserInfoPlugin

It works by requesting more attributes from LDAP server,
and map them to user details. By configuration you can choose
to fill empty fields, or override them at every login.

Sample AuthLDAPURL:

    ldap://host:port/basedn?sAMAccountName,displayName,mail?scope?filter

Sample plugin configuration:

    [apacheuserinfo]
    email_override = false
    email_var = AUTHENTICATE_MAIL
    name_override = false
    name_var = AUTHENTICATE_DISPLAYNAME

So far I have only tested it with Trac 0.12.3 on a Debian 6 machine.
I need your feedback on your environments and/or older versions of Trac.

Have a nice day,
  Eduard

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