[rt-users] Change the shown 'logged in as...' name

Garry Booth G.Booth at lboro.ac.uk
Fri Oct 28 09:38:40 EDT 2011


Hi

We modified httpd in /etc/init.d/rc.d so any restart of apache does it by defaulf:
start() {
        echo -n $"Starting $prog: "
        echo -n $"Zapping MASON cache: "
        rm -fr /opt/rt3/var/mason_data/obj
        check13 || exit 1
  	LANG=$HTTPD_LANG daemon $httpd $OPTIONS
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] && touch ${lockfile}
        return $RETVAL
}

regards

Garry





On 28 Oct 2011, at 07:49, declaya wrote:

> 
> Hi Izz,
> 
> That's it!! :D
> I just forgot to clear the mason cache.
> Thanks a LOT for this hint! 
> Everything works as expected now.
> 
> I didn't even know that there is a wiki page about the mason cache:
> http://requesttracker.wikia.com/wiki/CleanMasonCache
> http://requesttracker.wikia.com/wiki/CleanMasonCache 
> 
> You made my day. Have a nice weekend!
> 
> 
> 
> Izz Abdullah wrote:
>> 
>> Did you clear the mason cache after making this change?
>> 
>> -----Original Message-----
>> From: rt-users-bounces at lists.bestpractical.com
>> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of declaya
>> Sent: Thursday, October 27, 2011 1:12 AM
>> To: rt-users at lists.bestpractical.com
>> Subject: [rt-users] Change the shown 'logged in as...' name
>> 
>> 
>> Good morning,
>> 
>> I'm using mod_auth_kerb with Apache to authenticate our users. The
>> authentication works fine, each user is recognized by their
>> userPrincipalName from our AD which is mapped to RT as their username. 
>> This causes to show also the userPrincipalNames in the main navigation
>> bar,
>> which confuses the users.
>> So now my question is:
>> How can I change the shown name in the navigation bar? It would be great
>> if
>> I could change it to the RealName of the user.
>> I tried to change the /path/to/rt/share/html/Elements/Tabs file from
>> $session{'CurrentUser'}->Name to $session{'CurrentUser'}->RealName in
>> lines
>> 385 and 731 but it didn't work.
>> 
>> I would really appreciate some help. 
>> Thanks in advance!
>> 
>> Have a nice day!
>> -- 
>> View this message in context:
>> http://old.nabble.com/Change-the-shown-%27logged-in-as...%27-name-tp32729334p32729334.html
>> Sent from the Request Tracker - User mailing list archive at Nabble.com.
>> 
>> --------
>> RT Training Sessions (http://bestpractical.com/services/training.html)
>> *  Washington DC, USA  October 31 & November 1, 2011
>> *  Barcelona, Spain  November 28 & 29, 2011
>> --------
>> RT Training Sessions (http://bestpractical.com/services/training.html)
>> *  Washington DC, USA  October 31 & November 1, 2011
>> *  Barcelona, Spain  November 28 & 29, 2011
>> 
>> 
> 
> -- 
> View this message in context: http://old.nabble.com/Change-the-shown-%27logged-in-as...%27-name-tp32729334p32736272.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
> 
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Washington DC, USA  October 31 & November 1, 2011
> *  Barcelona, Spain  November 28 & 29, 2011




More information about the rt-users mailing list