|Version 1 (modified by alexandrul, 5 years ago) (diff)|
Apache User Info plugin
If you're using Apache with mod_auth_ldap then you can use multiple attributes in AuthLDAPURL, all of them being exposed as variables with the default prefix AUTHENTICATE_.
With this plugin you can fill the missing values or override the name and the email address of the user during the login.
The repository can be found on Bitbucket.
If you have any issues, create a new ticket.
Download the zipped source from [download:apacheuserinfoplugin here].
Enable it in trac.ini:
[components] apacheuserinfo.* = enabled
[apacheuserinfo] email_override = true email_var = AUTHENTICATE_MAIL name_override = true name_var = AUTHENTICATE_DISPLAYNAME
The attributes used for mapping must be present in AuthLDAPURL, e.g.: