Hi everybody -<div><br></div><div>Running RT 3.8.7 and using LDAP to authenticate users.</div><div><br></div><div>There is this code available to set specific user information from LDAP:</div><div><br></div><div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"># The mapping of RT attributes on to LDAP attributes</span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"> 'attr_map' => { 'Name' => 'uid',</span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"> 'EmailAddress' => 'mail',</span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"> 'RealName' => 'givenName',</span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"> 'ExternalAuthId' => 'uid',</span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"> 'Gecos' => 'uid',</span></div>
<div><br></div><div>I was wondering if there is a way to take LDAP info and put it into a custom field.</div><div><br></div><div>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?</div>
<div><br></div><div>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.</div><div><br></div><div>Thanks!<br>
<br></div><div>Max</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>