Edgewall Software

Opened 15 years ago

Last modified 8 years ago

#7371 new enhancement

Use authentication variables populated by Apache

Reported by: john.barstow@… Owned by:
Priority: normal Milestone: next-major-releases
Component: web frontend Version:
Severity: normal Keywords: ldap
Cc: Ryan J Ollos Branch:
Release Notes:
API Changes:
Internal Changes:


Documentation here:


If the display name and email are part of the LDAP query, the AUTHENTICATE_DISPLAYNAME and AUTHENTICATE_MAIL environment variables will be set.

Presumably other Apache auth modules may also set these variables. The attached patch will check for the existence of the variables and set the corresponding profile data.

Attachments (1)

get_ldap_variables.patch (1.6 KB ) - added by john.barstow@… 15 years ago.
Uses authentication variables if present

Download all attachments as: .zip

Change History (8)

by john.barstow@…, 15 years ago

Attachment: get_ldap_variables.patch added

Uses authentication variables if present

comment:1 by Noah Kantrowitz, 15 years ago

Wait for the modular session data system, then put this in with the other LDAP plugin stuff. If you can show this is some kind of standard with Apache modules I would think higher of putting it in core, but it seems pretty Apache+mod_authnz_ldap specific.

comment:2 by Remy Blank, 15 years ago

Milestone: 0.13

This is related to #791. Scheduling to the same milestone.

comment:3 by Remy Blank, 13 years ago

Milestone: next-major-0.1Xunscheduled

comment:4 by Ryan J Ollos, 8 years ago

Keywords: ldap added

comment:5 by Ryan J Ollos, 8 years ago

Cc: Ryan J Ollos added

The need for this feature is discussed in gmessage:trac-users:Koimg5owkYM/jbmfEOU42cAJ.

comment:7 by Ryan J Ollos, 8 years ago

Milestone: unschedulednext-major-releases

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.