Hi,<br>I'm attempting to deploy RT(3.8.2) on a Centos5.2(apache 2.2.3) with authentication against AD and local database users.<br>I have the machine joined to the AD domain I need to and with WebExternalAuth and BasicAuth works well but locks the root account out so I went for the RT::Authen::ExternalAuth option.<br>

<br>I'm almost there, I've installed the RT::Authen::ExternalAuth (0.0.8)module from CPAN (I had to force it) and add the proper configuration on the RT_SiteConfig.pm.<br>The problem is that is thoughing at me an error I've not been able to find in any of the other resources to try to resolv this error:<br>

On the browser:<br><br>Can't locate object method "host" via package "URI::_generic" at /opt/rt3/bin/../lib/RT/Interface/Web.pm line 190,  line 323.
<br><br>On the rt.log, in debug mode:<br><br>[Wed Mar 25 20:58:26 2009] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)                                                                                     <br>

[Wed Mar 25 20:58:26 2009] [debug]: Calling UserExists with $username (max.leon) and $service (My_LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)<br>[Wed Mar 25 20:58:26 2009] [debug]: UserExists params:<br>

username: max.leon , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)<br>[Wed Mar 25 20:58:26 2009] [debug]: LDAP Search ===  Base: cn=users,dc=cr,dc=digitalarbor,dc=com == Filter: (&(objectClass=Person)(sAMAccountName=max.leon)) == Attrs: l,cn,st,mail,sAMAccountName,co,streetAddress,postalCode,telephoneNumber,sAMAccountName,physicalDeliveryOfficeName,sAMAccountName (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:304)<br>

[Wed Mar 25 20:58:26 2009] [debug]: Password validation required for service - Executing... (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:155)<br>[Wed Mar 25 20:58:26 2009] [debug]: Trying external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:16)<br>

[Wed Mar 25 20:58:26 2009] [debug]: LDAP Search ===  Base: cn=users,dc=cr,dc=digitalarbor,dc=com == Filter: (&(sAMAccountName=max.leon)(objectClass=Person)) == Attrs: dn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:43)<br>

[Wed Mar 25 20:58:26 2009] [debug]: Found LDAP DN: CN=Max Leon,CN=Users,DC=cr,DC=digitalarbor,DC=com (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:75)<br>[Wed Mar 25 20:58:26 2009] [info]: RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ): max.leon (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:139)<br>

[Wed Mar 25 20:58:26 2009] [debug]: LDAP password validation result: 1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:334)<br>[Wed Mar 25 20:58:26 2009] [debug]: Password Validation Check Result:  1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:159)<br>

[Wed Mar 25 20:58:26 2009] [debug]: Authentication successful. Now updating user information and attempting login. (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:179)<br>[Wed Mar 25 20:58:26 2009] [warning]: DBD::mysql::db selectall_hashref failed: Unknown column 'disabled' in 'field list' at /opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm line 279, <DATA> line 514. (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm:279)<br>

[Wed Mar 25 20:58:26 2009] [warning]: Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at /opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm line 279, <DATA> line 514. (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm:279)<br>

<br><br>As you can see the auth succeeds but then gives me this error, now the local root account can access the system without any problems.<br>Any help will be more than appreciated.<br><br><br>Cheers!<br><br>Max Leon<br>