<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I didn’t use the real password. Authentication works against AD, does that mean a short user name could be used? Thank you very much for raising the question. At this stage, I’m sure about nothing.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jun<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Ryan Backman [mailto:rbackman@georgefox.edu] <br><b>Sent:</b> Friday, March 02, 2012 12:56 PM<br><b>To:</b> Zhang,Jun<br><b>Cc:</b> rt-users@lists.bestpractical.com<br><b>Subject:</b> Re: [rt-users] Transitory error on login (LDAP against AD)<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Your My_LDAP 'user' needs to be the fully qualified 'CN=<span class=apple-style-span>s_dqs_svn,ou=people,dc=mdanderson,dc=edu'.  And I hope that is a bogus password!  Otherwise, I would change it.</span><o:p></o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Arial","sans-serif";color:#222222'><br clear=all></span>=+=+=+=+=+=+=+=+=+<br>Ryan Backman<br>Programmer / Analyst<br>George Fox University<br>=+=+=+=+=+=+=+=+=+<br><br><o:p></o:p></p><div><p class=MsoNormal>On Fri, Mar 2, 2012 at 10:16 AM, Zhang,Jun <<a href="mailto:JHZhang@mdanderson.org">JHZhang@mdanderson.org</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Thomas,<br>    Since I'm new to RT, could you please tell where I did wrong in configuration? May be I need to change the order of the ExternalAuthPriority. Below is my RT_SiteConfig.pm file content.<br>    Thanks.<br><br>Jun<br><br>Set( $DatabaseUser, 'rt_user' );<br>Set( $CorrespondAddress, '<a href="mailto:x2@mdanderson.org">x2@mdanderson.org</a>' );<br>Set( $rtname, '<a href="http://xrt.mdanderson.edu" target="_blank">xrt.mdanderson.edu</a>' );<br>Set( $DatabaseRequireSSL, '' );<br>Set( $WebPort, '80' );<br>Set( $Organization, '<a href="http://mdanderson.edu" target="_blank">mdanderson.edu</a>' );<br>Set( $DatabaseType, 'mysql' );<br>Set( $DatabasePort, '' );<br>Set( $DatabasePassword, 'password' );<br>Set( $DatabaseAdmin, 'root' );<br>Set( $SendmailPath, '/usr/sbin/sendmail' );<br>Set( $WebDomain, '<a href="http://xrt.mdanderson.edu" target="_blank">xrt.mdanderson.edu</a>' );<br>Set( $DatabaseAdminPassword, '' );<br>Set( $CommentAddress, '<a href="mailto:x@mdanderson.org">x@mdanderson.org</a>' );<br>Set( $DatabaseHost, 'localhost' );<br>Set( $DatabaseName, 'rt4' );<br>Set( $OwnerEmail, '<a href="mailto:x2@mdanderson.org">x2@mdanderson.org</a>' );<br>Set( @Plugins, qw(RT::Authen::ExternalAuth) );<br><br>Set($ExternalAuthPriority,  [ 'My_MySQL',<br>                             'My_LDAP'<br>                           ]<br>);<br>Set($ExternalServiceUsesSSLorTLS,    0);<br>Set($AutoCreateNonExternalUsers,    0);<br>Set($ExternalSettings,      {<br>                               'My_MySQL'   =>  {<br>                                                       'type'                      =>  'db',<br>                                                       'server'                    =>  '<a href="http://dqsrt.mdanderson.edu" target="_blank">dqsrt.mdanderson.edu</a>',<br>                                                       'database'                  =>  'rt4',<br>                                                       'table'                     =>  'Users',<br>                                                       'user'                      =>  'rt_user',<br>                                                       'pass'                      =>  'password',<br>                                                       'port'                      =>  '3306',<br>                                                       'dbi_driver'                =>  'mysql',<br>                                                       'u_field'                   =>  'Name',<br>                                                       'p_field'                   =>  'Password',<br>                                                       'p_enc_pkg'                 =>  'Crypt::MySQL',<br>                                                       'p_enc_sub'                 =>  'password',<br>                                                       'd_field'                   =>  'disabled',<br>                                                       'd_values'                  =>  ['0'],<br>                                                       'attr_map'                  =>  {   'Name' => 'Name',                                                                                        }<br>                                                 },<br>                               'My_LDAP'       =>  {<br>                                                       'type'                      =>  'ldap',<br>                                                       'server'                    =>  '<a href="http://dcpwpdc1.mdanderson.edu" target="_blank">dcpwpdc1.mdanderson.edu</a>',<br>                                                       'user'                      =>  's_dqs_svn',<br>                                                       'pass'                    =>  'Juoo9k88',<br>                                                       'base'                      =>  'ou=people,dc=mdanderson,dc=edu',<br>                                                       'd_filter'  =>  '(userAccountControl:1.2.840.113556.1.4.803:=2)',<br>                                                       'tls'                       =>  0,<br>                                                       'ssl_version'              => 3,<br>                                                       'net_ldap_args'             => [    version =>  3   ],<br>                                                       'attr_map'                  =>  {   'Name' => 'samaccountname',<br>                                                                                           'EmailAddress' => 'mail',<br>                                                                                           'Organization' => 'physicaldeliveryofficename',<br>                                                                                           'RealName' => 'gecos',<br>                                                                                           'ExternalAuthId' => 'sAMAccountName',<br>                                                                                           'Gecos' => 'gecos',<br>                                                                                           'WorkPhone' => 'telephoneNumber',<br>                                                                                           'Address1' => 'streetAddress',<br>                                                                                           'City' => 'l',<br>                                                                                           'State' => 'st',<br>                                                                                           'Zip' => 'postalCode',<br>                                                                                           'Country' => 'co'<br>                                                                                       }<br>                                                   }<br>                               }<br>);<br>1;<br><br>-----Original Message-----<br>From: <a href="mailto:rt-users-bounces@lists.bestpractical.com">rt-users-bounces@lists.bestpractical.com</a> [mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com">rt-users-bounces@lists.bestpractical.com</a>] On Behalf Of Thomas Sibley<br>Sent: Friday, March 02, 2012 11:57 AM<br>To: <a href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a><br>Subject: Re: [rt-users] Transitory error on login (LDAP against AD)<br><br>On 03/02/2012 12:48 PM, Zhang,Jun wrote:<br>> I got the same error and I understand this must be minors, since my AD<br>> user is authenticated. The Users table in my rt4 database doesn't have<br>> a column called 'disable'. Removing the d_field line in<br>> RT_SiteConfig.pm and the error no longer show up. Looks like a bug.<br><br>It is a severe misconfiguration to add the internal RT Users table as a DBI auth source in RT::Authen::ExternalAuth.  Don't do that.<br>--------<br>RT Training Sessions (<a href="http://bestpractical.com/services/training.html" target="_blank">http://bestpractical.com/services/training.html</a>)<br>* Boston  March 5 & 6, 2012<br>--------<br>RT Training Sessions (<a href="http://bestpractical.com/services/training.html" target="_blank">http://bestpractical.com/services/training.html</a>)<br>* Boston  March 5 & 6, 2012<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>