<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kevin,<br>
<br>
<br>
Thank you so much for answering. I looked through our RT_Config.pm
file and did not see any reference to either
"RT::User::CanonicalizeUserInfo" or "RT::Authen::ExternalAuth". Where
do I find them and how do I set them?<br>
Our
current applicable LDAP settings (in RT_SiteConfig.pm) are as follows:<br>
<ul>
<li><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($AuthMethods,
['LDAP', 'Internal']);</span></b></small></small></small></li>
<li><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($LdapExternalAuth,
1);</span></b></small></small></small></li>
<li><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($LdapExternalInfo,
1);</span></b></small></small></small></li>
<li><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($LdapAutoCreateNonLdapUsers,
0);</span></b></small></small></small></li>
<li>
<p class="MsoNormal"><b style="">Set($LdapAttrMap,
{'Name' => 'uid',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span>'EmailAddress'
=> 'mail',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span>'Organization'
=> 'o',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span>'RealName'
=> 'cn',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span>'ExternalContactInfoId'
=> 'dn',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span><span
style=""> </span><span style=""> </span>'ExternalAuthId' =>
'lblempnum',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span>'Gecos'
=> 'uid',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span>'WorkPhone'
=>
'telephonenumber',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span>'Address1'
=>
'lblmailstop',<o:p></o:p></b></p>
<p class="MsoNormal"><b style=""><span style=""> </span>'Address2'
=> 'postaladdress'}<o:p></o:p></b></p>
<b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";"><span style="">
</span>);</span></b></li>
<li><small><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($LdapRTAttrMatchList,
['ExternalContactInfoId',
'Name', 'EmailAddress', <span style=""> </span>'RealName',
'ExternalAuthId', 'WorkPhone', 'Address2']);</span></b></small></small></small></small></li>
<li><small><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($LdapEmailAttrMatchList,
['uid']);</span></b></small></small></small></small></li>
<li><small><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($LdapEmailAttrMatchPrefix,
[''] );</span></b></small></small></small></small></li>
<li><small><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($LdapTLS,
1);</span></b></small></small></small></small></li>
<li><small><small><small><small><b style=""><span
style="font-size: 12pt; font-family: "Times New Roman";">Set($LdapSSLVersion,
3)</span></b><span
style="font-size: 12pt; font-family: "Times New Roman";">;</span></small></small></small></small></li>
</ul>
Do I have all the LDAP settings I need? Do I need to add one?
Change one?<br>
<br>
THANK you!<br>
<br>
Kenn<br>
LBNL<br>
<br>
On 5/13/2009 1:12 PM, Kevin Falcone wrote:
<blockquote
cite="mid:49DECA0D-CB86-4BB7-949F-75270CCF576B@bestpractical.com"
type="cite">
<pre wrap="">On May 13, 2009, at 12:48 PM, Ken Crocker wrote:
</pre>
<blockquote type="cite">
<pre wrap="">To any and all,
I've asked this question before, but perhaps I didn't word it so
it made any sense. When we add a 'CC' on any correspondance thru a
ticket, we find that if the user is not an RT User, as long as they
pass the LDAP test, they get added, with their email address as
their Id (NAME field). First question is:
How do we get RT to drop the '@xxx.xxx' from the Id is uses for
"NAME" on the USER Table.
</pre>
</blockquote>
<pre wrap=""><!---->
You can use RT::User::CanonicalizeUserInfo to munge the Name, assuming
you're
not using RT::Authen::ExternalAuth which already overrides this.
</pre>
<blockquote type="cite">
<pre wrap=""> Secondly, how do we get RT to add a 'CC' to the USER table as an
"unprivileged" user if they do NOT pass the LDAP test?
</pre>
</blockquote>
<pre wrap=""><!---->
You don't say how you're doing LDAP auth so answering this is hard.
If you're using RT::Authen::ExternalAuth you want to check your
setting of
AutoCreateNonExternalUsers
-kevin
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a>
</pre>
</blockquote>
</body>
</html>