<div>Take a look in</div>
<div> </div>
<div>$RTHOME/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm That is what I used to figure out how to set everything up... and a few "ExternalAuth" googles.</div>
<div> </div>
<div>Both attributes 'user' and 'group' need to be the full DN.  DN is a field in AD. Browse to the CN you want to use, and look at the field distinguishedName.  That is what needs to go in your LDAP config.</div>

<div> </div>
<div>Another question would be, did you attempt the telnet from the RT box?  Maybe the RT box isn't able to connect to the LDAP, but your system is?</div>
<div> </div>
<div>I'm running out of ideas... if everything is able to connect to each other, it has to be the way you defined your config.</div>
<div> </div>
<div>Good luck, keep us posted :D</div>
<div> </div>
<div>Mike.<br><br></div>
<div class="gmail_quote">On Mon, Aug 9, 2010 at 8:38 PM, Eugene M. Evans <span dir="ltr"><<a href="mailto:EMEvans@heapy.com">EMEvans@heapy.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Mike,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff"><span><font face="Arial"><font size="2">I can telnet to the AD server and I am able to connect to the AD server through an LDAP browser.  The browser I happen to be using is jxplorer.  I found that Jxplorer requires the user DN to be the full first and last name of the user rather than only the logon name and the 'ou' component must be included in the field named 'base'.  Since that nomenclature works in the LDAP browser, I modified RT_SiteConfig.pm to match, as follows,</font></font></span></font></div>

<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Was</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Courier New"><span><span>'user'  => 'cn=UserLogonName, ou=XXXXXX, dc=XXXXXX, dc=XXXXXX',</span></span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Courier New"><span>'base'  => 'dc=XXXXXX, dc=XXXXXX',</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Courier New"><span>'group' => 'cn=XXXXXX, ou=XXXXXX, dc=XXXXXX, dc=XXXXXX',</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Courier New"><span></span></font> </div></span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Is now</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Courier New"><span><span>'user'  => 'cn=FullNameOfUserSameAsUsedInJxplorer, dc=XXXXXX, dc=XXXXXX',</span></span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Courier New"><span>'base'  => 'ou=XXXXXX, dc=XXXXXX, dc=XXXXXX',</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Courier New"><span><span>'group' => 'cn=XXXXXX, ou=XXXXXX, dc=XXXXXX, dc=XXXXXX',</span></span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Courier New"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2"><span><font face="Arial">I also uncommented the 'ssl_version' line as you suggested.  However, in spite of all these changes I'm still not able to bind -- <font color="#000000"><strong>"</strong><strong>Can't bind: LDAP_INVALID_CREDENTIALS</strong> 49" </font><font color="#0000ff">-- when I attempt to login to RT with either a simple network username and password or the full form username and password.  I've tried logging in with the same account specified as my LDAP bind account and as various other domain accounts, each with the same result.  I think my next step is to contact the author of the ExternalAuth extension to see if the directives and attributes that ExternalAuth adds to RT_SiteConfig.pm are documented.  Already checked the README but did not find a list.</font></font></span></font></div>

<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Sincerely,</span></font></div>
<div class="im">
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Gene Evans</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>IT Administrator</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Heapy Engineering</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>937-224-0861 x1404</span></font></div><br></div>
<div dir="ltr" lang="en-us" align="left">
<hr>
<font size="2" face="Tahoma"><b>From:</b> Mike Johnson [mailto:<a href="mailto:mike.johnson@nosm.ca" target="_blank">mike.johnson@nosm.ca</a>] <br><b>Sent:</b> Monday, August 09, 2010 9:02 AM<br><b>To:</b> Eugene M. Evans<br>
<b>Cc:</b> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a> 
<div class="im"><br><b>Subject:</b> Re: [rt-users] RT 3.8 Active Directory integration and single sign-on<br></div></font><br></div>
<div>
<div></div>
<div class="h5">
<div></div>
<div>Here is your problem,</div>
<div> </div>
<div>ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:26:51 2010] [debug]: UserExists params:<br>username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>
[Sat Aug  7 02:26:51 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj <strong>Can't bind: LDAP_INVALID_CREDENTIALS</strong> 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
</div>
<div>Something is wrong with your config, ExternalAuth cannot bind with your LDAP, so any ldap calls after that will fail.</div>
<div> </div>
<div> </div>
<div>Looking at your config, you don't have to comment out the ssl_version, that may be throwing the argument list off and messing up your bind.</div>
<div> </div>
<div>Check to make sure you can connect to your LDAP on port 389, so you know it isn't a firewall issue(you can telnet XXX.XXX.XXX.XXX 389).</div>
<div> </div>
<div>Download an LDAP browser, and make sure the user you are connecting with works...</div>
<div> </div>
<div>Once you fix the problem of your LDAP bind not working, your error logs should change, ... hopefully everything works for you after that, but if not... post the new logs and we'll try to help you out!</div>
<div> </div>
<div>Good luck!</div>
<div>Mike.<br></div>
<div class="gmail_quote">On Fri, Aug 6, 2010 at 11:00 PM, Eugene M. Evans <<a href="mailto:EMEvans@heapy.com" target="_blank">EMEvans@heapy.com</a>> wrote:<br>
<blockquote class="gmail_quote">
<div>
<div><font size="2" face="Arial">I've tried many things today and still don't have Auth::ExternalAuth working.  Could it be because RT's time is not synched with the Active Directory server?  The time RT reports in its log is hours ahead of the system time on the host.  The system is running NTP and matches the time on the AD server.  I don't know why RT wouldn't be using the system time.  The timezone is set correctly in RT_SiteConfig.pm >>> </font><font size="2" face="Arial">Set($Timezone , 'US/Eastern');</font></div>

<div><font size="2" face="Arial"></font></div>
<div><font size="2" face="Arial">The</font><font size="2" face="Arial"> log lines below were all created before 10pm on Friday, August the 6th.  If anyone has any ideas about the time difference or the inability to log into RT using a valid AD account, I'm all ears.</font></div>

<div><font size="2" face="Arial"></font></div>
<div><font size="2" face="Arial"><font size="2" face="Arial">**************************************************************************************</font></font></div>
<div><font size="2" face="Arial">***                                  /opt/rt3/var/log/rt.log                                     ***</font></div>
<div><font size="2" face="Arial"><font size="2" face="Arial">**************************************************************************************</font></font></div>
<div><font size="2" face="Arial"></font></div>
<div><font size="2" face="Arial">[Sat Aug  7 01:42:51 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>
[Sat Aug  7 01:42:51 2010] [debug]: Attempting to use external auth service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>[Sat Aug  7 01:42:51 2010] [debug]: Calling UserExists with $username (ldap) and $service (Heapy_AD_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>
[Sat Aug  7 01:42:51 2010] [debug]: UserExists params:<br>username: ldap , service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 01:42:51 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 01:42:51 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 01:42:51 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 01:43:00 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 01:43:00 2010] [debug]: Attempting to use external auth service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 01:43:00 2010] [debug]: Calling UserExists with $username (hhadmin) and $service (Heapy_AD_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 01:43:00 2010] [debug]: UserExists params:<br>
username: hhadmin , service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 01:43:00 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 01:43:00 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 01:43:00 2010] [error]: FAILED LOGIN for hhadmin from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 01:43:08 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 01:43:08 2010] [debug]: Attempting to use external auth service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 01:43:08 2010] [debug]: Calling UserExists with $username (hhadmin) and $service (Heapy_AD_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 01:43:08 2010] [debug]: UserExists params:<br>
username: hhadmin , service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 01:43:08 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 01:43:08 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 01:43:08 2010] [error]: FAILED LOGIN for hhadmin from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 01:53:14 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 01:53:14 2010] [debug]: Attempting to use external auth service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 01:53:14 2010] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)<br>[Sat Aug  7 01:53:14 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>
[Sat Aug  7 01:53:20 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 01:53:20 2010] [debug]: Attempting to use external auth service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 01:53:20 2010] [debug]: Calling UserExists with $username (ldap) and $service (Heapy_AD_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 01:53:20 2010] [debug]: UserExists params:<br>
username: ldap , service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 01:53:20 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to dayxchng0.heapy.local (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)<br>
[Sat Aug  7 01:53:20 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 01:53:20 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:00:46 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:00:46 2010] [debug]: Attempting to use external auth service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:00:46 2010] [debug]: Calling UserExists with $username (ldap) and $service (Heapy_AD_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:00:46 2010] [debug]: UserExists params:<br>
username: ldap , service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:00:46 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to dayxchng0.heapy.local (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)<br>
[Sat Aug  7 02:00:46 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:00:46 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:00:51 2010] [debug]: Attempting to use external auth service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>[Sat Aug  7 02:00:51 2010] [debug]: Calling UserExists with $username (ldap) and $service (Heapy_AD_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>
[Sat Aug  7 02:00:51 2010] [debug]: UserExists params:<br>username: ldap , service: Heapy_AD_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:00:51 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to dayxchng0.heapy.local (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)<br>
[Sat Aug  7 02:00:51 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:00:51 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:01:08 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:01:08 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:01:08 2010] [debug]: Calling UserExists with $username (ldap) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:01:08 2010] [debug]: UserExists params:<br>
username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:01:08 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:01:08 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:01:08 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:01:59 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:01:59 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:01:59 2010] [debug]: Calling UserExists with $username (ldap) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:01:59 2010] [debug]: UserExists params:<br>
username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:01:59 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:01:59 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:01:59 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:02:02 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:02:02 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:02:02 2010] [debug]: Calling UserExists with $username (ldap) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:02:02 2010] [debug]: UserExists params:<br>
username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:02:03 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:02:03 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:02:03 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:02:35 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:02:35 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:02:35 2010] [debug]: Calling UserExists with $username (ldap) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:02:35 2010] [debug]: UserExists params:<br>
username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:02:35 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:02:35 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:02:35 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:02:38 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:02:38 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:02:38 2010] [debug]: Calling UserExists with $username (ldap) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:02:38 2010] [debug]: UserExists params:<br>
username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:02:38 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:02:38 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:02:38 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:02:55 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:02:55 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:02:55 2010] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)<br>[Sat Aug  7 02:02:55 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>
[Sat Aug  7 02:03:01 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:03:01 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:03:01 2010] [debug]: Calling UserExists with $username (ldap) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:03:01 2010] [debug]: UserExists params:<br>
username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:03:01 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:03:01 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:03:01 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:04:08 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:04:08 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:04:08 2010] [debug]: Calling UserExists with $username (hhadmin) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:04:08 2010] [debug]: UserExists params:<br>
username: hhadmin , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:04:08 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:04:08 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:04:08 2010] [error]: FAILED LOGIN for hhadmin from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:04:16 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:04:16 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:04:16 2010] [debug]: Calling UserExists with $username (hhadmin) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:04:16 2010] [debug]: UserExists params:<br>
username: hhadmin , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:04:16 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:04:16 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:04:16 2010] [error]: FAILED LOGIN for hhadmin from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:04:28 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:04:28 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:04:28 2010] [debug]: Calling UserExists with $username (emevans) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:04:28 2010] [debug]: UserExists params:<br>
username: emevans , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:04:28 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:04:28 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:04:28 2010] [error]: FAILED LOGIN for emevans from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:08:17 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:08:17 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:08:17 2010] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)<br>[Sat Aug  7 02:08:17 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>
[Sat Aug  7 02:08:22 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:08:22 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:08:22 2010] [debug]: Calling UserExists with $username (ldap) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:08:22 2010] [debug]: UserExists params:<br>
username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:08:22 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:08:22 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:08:22 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)<br>
[Sat Aug  7 02:26:43 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:26:43 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:26:43 2010] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)<br>[Sat Aug  7 02:26:43 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>
[Sat Aug  7 02:26:51 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>[Sat Aug  7 02:26:51 2010] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>
[Sat Aug  7 02:26:51 2010] [debug]: Calling UserExists with $username (ldap) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Sat Aug  7 02:26:51 2010] [debug]: UserExists params:<br>
username: ldap , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Sat Aug  7 02:26:51 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)<br>
[Sat Aug  7 02:26:51 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)<br>[Sat Aug  7 02:26:51 2010] [error]: FAILED LOGIN for ldap from 172.16.17.174 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)</font></div>

<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial"><font size="2" face="Arial">**************************************************************************************</font></font></div>
<div><font size="2" face="Arial">***                         /opt/rt3/etc/RT_SiteConfig.pm                                ***</font></div>
<div><font size="2" face="Arial">**************************************************************************************</font></div>
<div><font size="2" face="Arial"></font></div>
<div><font size="2" face="Arial">######################<br># Custom Site Config #<br>######################</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($rtname , "XXX.XXX.XXX");<br>Set($Organization , "XXX.XXX");<br>Set($MinimumPasswordLength , "0");<br>Set($Timezone , 'US/Eastern');</font></div>

<div>
<div> </div>
<div><font size="2" face="Arial">Set(@Plugins, qw(<br>                        RT::Authen::ExternalAuth<br>                 ));</font></div>
<div> </div></div>
<div><font size="2" face="Arial">Set($HomepageComponents, [qw(<br>                             QuickCreate<br>                             Quicksearch<br>                             MyAdminQueues<br>                             MySupportQueues<br>
                             MyReminders<br>                             RefreshHomepage<br>                             Dashboards<br>                            )]);</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($DatabaseType , 'mysql');<br>Set($DatabaseHost   , 'localhost');<br>Set($DatabaseRTHost , 'localhost');<br>Set($DatabasePort , '');<br>Set($DatabaseUser , 'local');<br>
Set($DatabasePassword , 'XXXXXXX');<br>Set($DatabaseName , 'XXXXXX');</font></div>
<div> </div>
<div><font size="2" face="Arial"># OwnerEmail is the account that will manage RT.<br># In this case hhadmin.  Hhadmin's email is forwarded to<br># the email address specified in the Postfix aliases<br># file.<br>Set($OwnerEmail , 'hhadmin');<br>
Set($LoopsToRTOwner , 1);</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($SendmailPath , "/usr/lib/sendmail.postfix");<br>Set($SendmailArguments , "-oi -t -f support\@hpyhdesk.heapy.local");</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($MaxAttachmentSize , 5000000);</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($RTAddressRegexp , '^rt\@hpyhdesk.heapy.local$');<br>Set($CorrespondAddress , <a href="mailto:'no-reply@hpyhdesk.heapy.local'" target="_blank">'no-reply@hpyhdesk.heapy.local'</a>);<br>
Set($CommentAddress , <a href="mailto:'no-reply@hpyhdesk.heapy.local'" target="_blank">'no-reply@hpyhdesk.heapy.local'</a>);</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($UseFriendlyFromLine , 1);<br>Set($FriendlyFromLineFormat , "\"%s\" <%s>");<br>Set($UseFriendlyToLine , 1);<br>Set($FriendlyToLineFormat, "\"%s Ticket #%s\":;");</font></div>

<div> </div>
<div><font size="2" face="Arial">Set($NotifyActor, 0);<br>Set($RecordOutgoingEmail, 1);</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($WebPath , "/ticket");<br>Set($WebPort , 80);<br>Set($WebBaseURL , "<a href="http://hpyhdesk.heapy.local/" target="_blank">http://hpyhdesk.heapy.local</a>");<br>Set($WebURL , $WebBaseURL . $WebPath . "/");</font></div>

<div> </div>
<div><font size="2" face="Arial"># The following two lines support single sign-on. 
<div><br># Tell RT to trust the webserver to handle<br># authentication.<br></div># They are commented out since they are said to conflict with the ExternalAuth extension.<br># See <a href="http://wiki.bestpractical.com/view/ExternalAuth" target="_blank">http://wiki.bestpractical.com/view/ExternalAuth</a>. 
<div><br># Set($WebExternalAuth, 3);<br># If the webserver hands RT a user RT is not<br># familiar with, RT should just go ahead and<br># create an account.<br>#Set($WebExternalAuto, 1);</div></font></div>
<div> </div>
<div><font size="2" face="Arial">Set($MessageBoxWidth , 72);<br>Set($MessageBoxWrap, "HARD");</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($MaxInlineBody, 13456);<br>Set($DefaultSummaryRows, 10);</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($OldestTransactionsFirst, '1');<br>Set($ShowTransactionImages, 1);</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($DateDayBeforeMonth , 0);<br>Set($AmbiguousDayInPast , 1);</font></div>
<div> </div>
<div><font size="2" face="Arial">Set($LogToSyslog, '' ) ;             # disable syslog<br>Set($LogToFile, 'debug' ) ;          # set file logging to include everything<br>Set($LogDir, '/opt/rt3/var/log' ) ;  # path to log<br>
Set($LogToFileNamed , 'rt.log') ;   # logfile name</font></div>
<div> </div>
<div><font size="2" face="Arial">
<div># Include the configuration for the ExternalAuth extension.<br></div># ExternalAuth only adds to the available authentication mechanisms.  It does<br># not replace RT's own.  Ao, authentication happens in this order:<br>
#   1. ExternalAuth<br>#   2. RT-Internal<br># And you can have as many ExternalAuth sources as you wish.<br># ExternalAuth cannot add a user to any internal RT groups.  This must be<br># done by the RT administrator. 
<div><br>Set(@Plugins, qw(RT::Authen::ExternalAuth));<br></div>
<div>require "/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm";</div></font></div>
<div> </div>
<div><font size="2" face="Arial"># If you want LDAP users to be automatically<br># assigned "Let this user be granted rights" then you may do so by<br># setting AutoCreate,{Privileged => 1}.  Otherwise it will need<br>
# setting manually along with group membership.<br>Set($AutoCreate,{Privileged => 1});</font></div>
<div> </div>
<div><font size="2" face="Arial">1;</font></div>
<div><font size="2" face="Arial"></font></div>
<div><font size="2" face="Arial">**************************************************************************************</font></div>
<div><font size="2" face="Arial">*** /opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm ***</font></div>
<div><font size="2" face="Arial">**************************************************************************************</font></div>
<div><font size="2" face="Arial">Set($ExternalAuthPriority,           [ 'My_LDAP' ] );<br>Set($ExternalInfoPriority,           [ 'My_LDAP' ] );<br>Set($ExternalServiceUsesSSLorTLS,    0);<br>Set($AutoCreateNonExternalUsers,     1);</font></div>

<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Set($ExternalSettings,      {<br>                     'My_LDAP'               =>  {</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">                     'type'                  =>  'ldap',<br>                     'server'                =>  'XXX.XXX.XXXl',<br>                     'user'                  =>  'cn=ldap,ou=XXX,dc=XXX,dc=XXX',<br>
                     'pass'                  =>  'XXX',<br>                     'base'                  =>  'dc=XXX,dc=XXX',</font></div>
<div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">                     'filter'                =>  '(&(ObjectCategory=User)(ObjectClass=Person))',<br>                     'd_filter'              =>  '(userAccountControl:1.2.840.113556.1.4.803:=2)',</font></div>

<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">                     'tls'                   =>  0,<br>#                    'ssl_version'           =>  3,</font></div>
<div><font size="2" face="Arial"></font> </div></div>
<div><font size="2" face="Arial">
<div>                     'net_ldap_args'         => [    version =>  3           ],<br></div>                     'group'                 =>  'cn=XXX,ou=XXX,dc=XXX,dc=XXX',<br>                     'group_attr'            =>  'member',</font></div>

<div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">                     'attr_match_list'       => [   'Name', 'EmailAddress'   ],<br>                     'attr_map'              => {   'Name' => 'sAMAccountName',<br>
                                                    'EmailAddress' => 'mail',<br>                                                    'Organization' => 'physicalDeliveryOfficeName',<br>
                                                    'RealName' => 'cn',<br>                                                    'ExternalAuthId' => 'sAMAccountName',<br>                                                    'Gecos' => 'sAMAccountName',<br>
                                                    'WorkPhone' => 'telephoneNumber',<br>                                                    'Address1' => 'streetAddress',<br>                                                    'City' => 'l',<br>
                                                    'State' => 'st',<br>                                                    'Zip' => 'postalCode',<br>                                                    'Country' => 'co'<br>
                                                }<br>                                      }<br>                            }<br>);</font></div>
<div><font size="2" face="Arial"></font> </div></div>
<div><font size="2" face="Arial">1;<br></font></div>
<div>
<div><font face="Arial"><br></font></div>
<div><font size="2" face="Arial"></font></div>
<div><font size="2" face="Arial">Gene Evans</font></div>
<div><font size="2" face="Arial">IT Administrator</font></div>
<div><font size="2" face="Arial">Heapy Engineering</font></div>
<div><font size="2" face="Arial">937-224-0861 x1404</font></div></div></div><br><br>Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>Buy a copy at <a href="http://rtbook.bestpractical.com/" target="_blank">http://rtbook.bestpractical.com</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Mike Johnson<br>Datatel Programmer/Analyst<br>Northern Ontario School of Medicine<br>955 Oliver Road<br>Thunder Bay, ON   P7B 5E1<br>Phone: (807) 766-7331<br>Email: <a href="mailto:mike.johnson@nosm.ca" target="_blank">mike.johnson@nosm.ca</a><br>
</div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Mike Johnson<br>Datatel Programmer/Analyst<br>Northern Ontario School of Medicine<br>955 Oliver Road<br>Thunder Bay, ON   P7B 5E1<br>Phone: (807) 766-7331<br>
Email: <a href="mailto:mike.johnson@nosm.ca">mike.johnson@nosm.ca</a><br>