Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

ANN: ApacheUserInfoPlugin

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


alexandrul.ct at gmail

Feb 21, 2012, 11:14 AM

Post #1 of 1 (63 views)
Permalink
ANN: ApacheUserInfoPlugin

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 trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.