[rt-users] Help with ExternalAuth attributes
Max McGrath
mmcgrath at carthage.edu
Fri Mar 5 09:30:30 EST 2010
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%27%2B%27 at carthage.edu>',
'EmailAddress' => 'uid'&&'@carthage.edu <uid%27%26%26%27 at carthage.edu>,
'EmailAddress' => 'uid'.'@carthage.edu <uid%27.%27 at 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 at carthage.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100305/ddcaaa9d/attachment.htm>
More information about the rt-users
mailing list