Help with ExternalAuth attributes

Hi all -

I have been able to successfully use LDAP with RT 3.8.7 against our Novell
eDirectory.

I have a couple of lingering problems however, hopefully someone will be
able to help. In our eDirectory, the EmailAddress field is not filled in
for any users at all; but obviously I would like to populate the Email
Address within RT. So here’s my problem. The following is code from my
RT_SiteConfig.pm:

The mapping of RT attributes on to LDAP attributes

‘attr_map’ => { ‘Name’ => ‘uid’,
‘EmailAddress’ => ‘uid’,
‘RealName’ => ‘givenName’,

This code tells RT which values to take from LDAP and populate into RT. So
for the Name value, I’m populating it with the uid value from LDAP (for
example, my uid is mmcgrath). That’s fine for Name, but not for
EmailAddress.

Does anybody know if it’s possible to append text to one of the LDAP
attributes? Basically, I’m looking to append @carthage.edu after the uid to
give RT an actual e-mail address.

I think the RT_SiteConfig.pm is written in perl – of which I am no expert.

I have tried things like:

‘EmailAddress’ => ‘uid’+’@carthage.edu uid’%2B’@carthage.edu’,
‘EmailAddress’ => ‘uid’&&’@carthage.edu uid’%26%26’@carthage.edu,
‘EmailAddress’ => ‘uid’.’@carthage.edu uid’.’@carthage.edu’,

and none of them have worked. They either crash RT or just continue to draw
in uid and that is it.

Any suggestions are appreciated!

Thanks!

Max

Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgrath@carthage.edu