[rt-users] Concatenate two LDAP fields into one RT field

Max McGrath mmcgrath at carthage.edu
Mon Sep 13 16:35:55 EDT 2010


Hi All -

In a bit of a bind here.  External authentication is working fine -- we are
a Novell shop.  Right now we have the givenName field which holds a users
first name, and the sn field which holds the users last name.  RT has the
RealName field which I would like to populate with both givenName and sn so
I can have the users full name.

Right now we basically have the LDAP uid (first initial last name) field
populating a lot of the RT fields...so, we don't really know the first name
of users -- which kind of sucks.

Here is the code from my RT_SiteConfig.pm:

'attr_match_list'           => [    'Name',
                                            'EmailAddress',
                                            'RealName',
                                       ],
# The mapping of RT attributes on to LDAP attributes
'attr_map'                  =>  {   'Name' => 'uid',
                                          'RealName' => 'uid',
                                          'ExternalAuthId' => 'uid',
                                          'Gecos' => 'uid',
                                          'NickName' => 'carthageNameID',
                                        }

Is there anything within the RT_SiteConfig file I could do to get a First
Name Last Name population in the RealName field?

Thanks!
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgrath at carthage.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100913/9454d226/attachment.htm>


More information about the rt-users mailing list