[Trac-tickets] [The Trac Project] #1804: Strip off realm from usernames

The Trac Project noreply at edgewall.com
Tue Jul 19 08:48:02 CDT 2005


#1804: Strip off realm from usernames
---------------------+------------------------------------------------------
       Id:  1804     |      Status:  new                     
Component:  general  |    Modified:  Tue Jul 19 08:48:02 2005
 Severity:  normal   |   Milestone:                          
 Priority:  normal   |     Version:  0.8.4                   
    Owner:  jonas    |    Reporter:  nutello at sweetness.com   
---------------------+------------------------------------------------------
 When using Kerberos authentication, Trac will use USER at REALM as the
 username. For example, the default template will show at the top "logged
 as ME at REALM.EXAMPLE.COM". It would be great to tell Trac about a default
 realm (in the example, REALM.EXAMPLE.COM) which, when present, would be
 stripped off.

 The simplest way to do this would be to offer a new attribute,
 shortauthname, so that templates can be tweaked to use that rather than
 trac.authname. The next step would be to change the codebase and the
 templates to use the short name when applicable. I am not familiar with
 the Trac internals, so I have no idea how hard or invasive that would be.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1804>
The Trac Project <>


More information about the Trac-Tickets mailing list