Hi all -<div><br></div><div>I have been able to successfully use LDAP with RT 3.8.7 against our Novell eDirectory.</div><div><br></div><div>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:</div>
<div><div><br></div><div># The mapping of RT attributes on to LDAP attributes</div><div>'attr_map' => { 'Name' => 'uid',</div><div>'EmailAddress' => 'uid',</div><div>
'RealName' => 'givenName',</div>
<div><br></div><div>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.</div>
<div><br></div><div>Does anybody know if it's possible to append text to one of the LDAP attributes? Basically, I'm looking to append @<a href="http://carthage.edu">carthage.edu</a> after the uid to give RT an actual e-mail address.</div>
<div><br></div><div>I think the RT_SiteConfig.pm is written in perl -- of which I am no expert.</div><div><br></div><div>I have tried things like:</div><div><br></div><div>'EmailAddress' => '<a href="mailto:uid%27%2B%27@carthage.edu">uid'+'@carthage.edu</a>',</div>
<div>'EmailAddress' => '<a href="mailto:uid%27%26%26%27@carthage.edu">uid'&&'@carthage.edu</a>,</div><div>'EmailAddress' => '<a href="mailto:uid%27.%27@carthage.edu">uid'.'@carthage.edu</a>',</div>
<div><br></div><div>and none of them have worked. They either crash RT or just continue to draw in uid and that is it.</div><div><br></div><div>Any suggestions are appreciated!</div><div><br></div><div>Thanks!</div><div>
<br></div><div>Max</div><div><br></div>--<br>Max McGrath<br>Asst. Network Admin/Systems Specialist<br>Carthage College<br>262-552-5512<br><a href="mailto:mmcgrath@carthage.edu">mmcgrath@carthage.edu</a><br>
</div>