[rt-users] Concatenate two LDAP fields into one RT field
Kevin Falcone
falcone at bestpractical.com
Wed Sep 15 18:05:43 EDT 2010
On Mon, Sep 13, 2010 at 03:35:55PM -0500, Max McGrath wrote:
> 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.
Unfortunately, this is not a feature. I support it in
RT-Extension-LDAPImport, but it is kind of evil and I'm not sure I
would want to port it.
-kevin
> 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
> [1]mmcgrath at carthage.edu
>
> References
>
> Visible links
> 1. mailto:mmcgrath at carthage.edu
>
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100915/b14d30cb/attachment.sig>
More information about the rt-users
mailing list