Modify

Opened 9 years ago

Closed 4 years ago

#2916 closed enhancement (wontfix)

patch to use multiple attributes in session name

Reported by: anatoly techtonik Owned by: Morris
Priority: normal Component: ActiveDirectoryLookupPatch
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

This fix allows to use multiple comma-separated attributes from active directory to construct user name. For example, add the following to trac.ini to write "Firstname Secondname" to the session field.

get_name_from_ldap_userattribute = givenName,sn

Attachments (3)

multiattribute.diff (1.1 KB) - added by anatoly techtonik 9 years ago.
notification.py (19.8 KB) - added by anatoly techtonik 9 years ago.
latest code
session.py (13.9 KB) - added by anatoly techtonik 9 years ago.
latest web\session

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by anatoly techtonik

Attachment: multiattribute.diff added

Changed 9 years ago by anatoly techtonik

Attachment: notification.py added

latest code

Changed 9 years ago by anatoly techtonik

Attachment: session.py added

latest web\session

comment:1 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Marking this plugin as deprecated. Please let me know if I'm mistaken and there is still use for it, and not better plugins available on trac-hacks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Morris.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.