Thoms, Is restarting httpd the only thing needed after modifying RT_SiteConfig.pm? Jun
-----Original Message----- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Thomas Sibley Sent: Friday, March 02, 2012 12:21 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Transitory error on login (LDAP against AD) On 03/02/2012 01:16 PM, Zhang,Jun wrote: > Thomas, > 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. Remove My_MySQL from ExternalAuthPriority and remove the entire My_MySQL block from ExternalSettings. > Set($ExternalAuthPriority, [ 'My_MySQL', > 'My_LDAP' > ] > ); > Set($ExternalServiceUsesSSLorTLS, 0); > Set($AutoCreateNonExternalUsers, 0); > Set($ExternalSettings, { > 'My_MySQL' => { > 'type' > => 'db', > 'server' > => 'dqsrt.mdanderson.edu', > 'database' > => 'rt4', > 'table' > => 'Users', > 'user' > => 'rt_user', > 'pass' > => 'password', > 'port' > => '3306', > 'dbi_driver' > => 'mysql', > 'u_field' > => 'Name', > 'p_field' > => 'Password', > 'p_enc_pkg' > => 'Crypt::MySQL', > 'p_enc_sub' > => 'password', > 'd_field' > => 'disabled', > 'd_values' > => ['0'], > 'attr_map' > => { 'Name' => 'Name', > } > }, [snipped] -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 & 6, 2012 -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 & 6, 2012