<div class="gmail_quote"><br>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">We have RT 3.8.2. we have successfully installed the ExternalAuth plugin and have configured <font color="#000000">/rthome/local/plugins/RT-Authen-ExternalAuth/etc/</font>RT_Siteconfig.pm file, which is called by /rthome/etc/RT_SiteConfig.pm</span></div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"></span> </div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">On the RT User Interface, I get RT Login window, where I am entering my AD user account and password. It fails with the following error:</span></div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">(</span><font size="3"><font face="Times New Roman">Can't call method "as_string" on an undefined value at /data/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm line 304, line 273.)</font></font></div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman"></font> </div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Times New Roman">My RT_SiteConfig.pm file </font> looks like this:</div>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">I also tried defining group as follows, but same error:</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">'group'<span> </span>=><span> </span>'CN=Domain Users,CN=Users,DC=cs,DC=sb,DC=edu',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">'group_attr'<span> </span>=><span> </span>'member',</span></p>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">I have tried changing the filter to <span style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"><font color="#000000">'(&(objectCategory=User) (ObjectClass=Person))' as well.</font></span></span></div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"><font color="#000000"></font></span></span> </div>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">#Begin /data/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm in its entirety.</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"># Tell RT to read the plugin for External Authentication.</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Set(@Plugins,qw(RT::Authen::ExternalAuth));</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Set($ExternalAuthPriority,<span> </span>['My_LDAP']);</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Set($ExternalInfoPriority,<span> </span>['My_LDAP']);</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"># Tell RT to trust the webserver to handle authentication.</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"># Set($WebExternalAuth, 3);</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"># If this is set to true, then the relevant packages will be loaded to use SSL/TLS connections. At the moment this just means "use Net::SSLeay;"</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Set($ExternalServiceUsesSSLorTLS,<span> </span>1);</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"># If the webserver hands RT a user RT is not familiar with, RT should just go ahead and create an account</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Set($AutoCreateNonExternalUsers,<span> </span>1);</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Set($ExternalSettings, {</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'My_LDAP'<span> </span>=><span> </span>{<span> </span>## GENERIC SECTION</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'type'<span> </span>=><span> </span>'ldap',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span><span> </span>'server'<span> </span>=> ‘ hostname',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span># 'user'<span> </span>=><span> </span>'recldap',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'user'<span> </span>=><span> </span>'CN=LDAP user,OU=Service Accounts,OU=SBC,DC=cs,DC=sb,DC=edu',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'pass'<span> </span>=><span> </span>'xxx',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'base'<span> </span>=><span> </span>'ou=SB,dc=cs,dc=sb,DC=edu',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span><span> </span>'filter'<span> </span>=><span> </span>'((&(objectCategory=Users)))',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'d_filter'<span> </span>=><span> </span>'(userAccountControl:1.2.840.113556.1.4.803:=2)',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'tls'<span> </span>=><span> </span>1,</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span><span> </span>'ssl_version' =><span> </span>3,</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'net_ldap_args' => [<span> </span>version =><span> </span>3<span> </span>],</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'group'<span> </span>=><span> </span>'users',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span><span> </span>'group_attr'<span> </span>=><span> </span>'member',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'attr_match_list'<span> </span>=> [<span> </span>'Name',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'EmailAddress'</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span><span> </span>],</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'attr_map'<span> </span>=><span> </span>{<span> </span>'Name' => 'sAMAccountName',</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>'EmailAddress' => 'mail'</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>}</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>}</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>}</span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><span> </span>);</span></p>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">1;</span></div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"></span> </div>
<div style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">thank you... vm</span></div>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p></div><br>