[rt-users] Put LDAP info into Custom Fields of Users

Max McGrath mmcgrath at carthage.edu
Sun May 2 13:24:13 EDT 2010


Hi everybody -

Running RT 3.8.7 and using LDAP to authenticate users.

There is this code available to set specific user information from LDAP:

# The mapping of RT attributes on to LDAP attributes
                                                        'attr_map'
       =>  {   'Name' => 'uid',

               'EmailAddress' => 'mail',

               'RealName' => 'givenName',

               'ExternalAuthId' => 'uid',

               'Gecos' => 'uid',

I was wondering if there is a way to take LDAP info and put it into a custom
field.

We have a custom field (Carthage ID#) for each user.  I'd like to be able to
populate that directly from LDAP.  Is that possible?

I guess I could always just populate a field we don't use (something like
the nickname field) with the ID# -- but I'd like to see if this is possible
first.

Thanks!

Max
--
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/20100502/ddb0cecd/attachment.htm>


More information about the rt-users mailing list