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...@carthage.edu>',
'EmailAddress' => 'uid'&&'@carthage.edu <uid%27%26%26...@carthage.edu>,
'EmailAddress' => 'uid'.'@carthage.edu <uid%27....@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
mmcgr...@carthage.edu
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to