Hello,

I forgot to add the error_log example, when I comment out all the LDAP and 
ExternalAuth Settings in RT_SiteConfig.pm.  I've tried using root and password 
to logon to the web interface with no avail.  What could be happening?  There's 
got to be somewhere this program retrieves root name and password password.

APACHE ERROR_LOG:

[Tue May 19 17:12:33 2009] [notice] caught SIGTERM, shutting down
[Tue May 19 17:12:36 2009] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Tue May 19 17:12:38 2009] [notice] Digest: generating secret for digest 
authentication ...
[Tue May 19 17:12:38 2009] [notice] Digest: done
[Tue May 19 17:12:39 2009] [notice] Apache/2.2.3 (CentOS) configured -- 
resuming normal operations
[Tue May 19 21:12:48 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:12:53 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:13:36 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:13:37 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:13:38 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:13:39 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:20:59 2009] [error]: FAILED LOGIN for  from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:21:00 2009] [error]: FAILED LOGIN for  from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:21:01 2009] [error]: FAILED LOGIN for  from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:21:18 2009] [error]: FAILED LOGIN for  from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 17:24:54 2009] [notice] caught SIGTERM, shutting down
[Tue May 19 17:24:57 2009] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Tue May 19 17:24:59 2009] [notice] Digest: generating secret for digest 
authentication ...
[Tue May 19 17:24:59 2009] [notice] Digest: done
[Tue May 19 17:25:00 2009] [notice] Apache/2.2.3 (CentOS) configured -- 
resuming normal operations
[Tue May 19 21:25:09 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:25:14 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:30:47 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)
[Tue May 19 21:30:52 2009] [error]: FAILED LOGIN for root from 172.16.3.38 
(/opt/rt3/share/html/autohandler:268)

RT_SITECONFIG SETTINGS:

# Set( $rtname, 'example.com');
# Set(@Plugins,(qw(Extension::QuickDelete)));
# Set($WebPath, "/rt3");
Set($rtname, "broadvox.local");
Set($Orginization, 'broadvox.local');
Set($CorrespondAddress, 'echat...@broadvox.net');
Set($CommentAddress, 'echat...@infotelecom.us');
Set($Timezone, 'US/Eastern');
# Set($WebBaseURL, 'http://rt.broadvox.local/');
# Set(@Plugins, qw(RT::Authen::ExternalAuth));

# Database
# Set($DatabaseType, 'mysql');
# Set($DatabaseUser, 'rt_user');
# Set($DatabasePassword, 'rt_pass');
# Set($DatabaseRTHost, 'localhost');

# External Authentication
# Set($ExternalAuthPriority, ['My_LDAP']);
# Set($ExternalInfoPriority, ['My_LDAP']);
# Set($AutoCreateNonExternalUsers, 1);
# Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', 
'SecondaryLDAP', 'Other-DB']);

# LDAP
# Set($AuthMethods, ['My_LDAP', 'Internal']);
# Set($LdapExternalAuth, 0);
# Set($LdapExternalInfo, 0);
# Set($LdapAutoCreateNonLdapUsers, 1);
# Set($LdapAttrMap, {'Name' => 'sAMAccountName',
#                   'EmailAddress' => 'mail',
#                   'Orginization' => 'o',
#                   'RealName' => 'cn',
#                   'ExternalContactInfoId' => 'dn',
#                   'ExternalAuthId' => 'sAMAccountName',
#                   'Gecos', => 'sAMAccountName',
#                   'WorkPhone', => 'telephoneNumber',
#                   'Address1' => 'streetAddress',
#                   'City' => 'l',
#                   'State' => 'st',
#                   'Zip' => 'postalCode',
#                   'Country' => 'co'});
# Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name',
#                           'EmailAddress', 'RealName',
#                           'WorkPhone', 'Address2']);
# Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress',
#                              'mailAlternateAddress']);
# Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']);
# Set($LdapServer, 'clehbdc01.broadvox.local');
# Set($LdapBase, 'OU=USA,DC=broadvox,DC=local');
# Set($LdapFilter, '(objectClass=*)');
1;

From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Eric Chatham
Sent: Tuesday, May 19, 2009 13:10
To: RT-Users@lists.bestpractical.com
Subject: [rt-users] Regular Authentication and ExternalAuth RT 3.8.1

Hello,

It appears that after I got Apache/MySql working previously, I am unable to 
login with the default username/password (root/password) to the web interface.  
I started a new topic for this.  I also tried adding settings in for 
ExternalAuth to the RT_SiteConfig.pm.  I am getting an @INC error in Apache 
when I try restarting the service.  Even before I added the "External 
Authentication" variables, "LDAP" variables and the "ExternalAuth" Plugin 
setting, I still could not login using root and password.

/opt/rt3/etc/RT_SiteConfig.pm settings:

# Set( $rtname, 'example.com');
# Set(@Plugins,(qw(Extension::QuickDelete)));
# Set($WebPath, "/rt3");
Set($rtname, "broadvox.local");
Set($Orginization, 'broadvox.local');
Set($CorrespondAddress, 'echat...@broadvox.net');
Set($CommentAddress, 'echat...@infotelecom.us');
Set($Timezone, 'US/Eastern');
# Set($WebBaseURL, 'http://rt.broadvox.local/');
Set(@Plugins, qw(RT::Authen::ExternalAuth));

# Database
Set($DatabaseType, 'mysql');
Set($DatabaseUser, 'rt_user');
Set($DatabasePassword, 'rt_pass');
Set($DatabaseRTHost, 'localhost');

# External Authentication
Set($ExternalAuthPriority, ['My_LDAP']);
Set($ExternalInfoPriority, ['My_LDAP']);
Set($AutoCreateNonExternalUsers, 1);
Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', 
'SecondaryLDAP', 'Other-DB']);

# LDAP
Set($AuthMethods, ['LDAP', 'Internal']);
Set($LdapExternalAuth, 0);
Set($LdapExternalInfo, 0);
Set($LdapAutoCreateNonLdapUsers, 1);
Set($LdapAttrMap, {'Name' => 'sAMAccountName',
                   'EmailAddress' => 'mail',
                  'Orginization' => 'o',
                   'RealName' => 'cn',
                   'ExternalContactInfoId' => 'dn',
                   'ExternalAuthId' => 'sAMAccountName',
                   'Gecos', => 'sAMAccountName',
                   'WorkPhone', => 'telephoneNumber',
                   'Address1' => 'streetAddress',
                   'City' => 'l',
                   'State' => 'st',
                   'Zip' => 'postalCode',
                   'Country' => 'co'});
Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name',
                           'EmailAddress', 'RealName',
                           'WorkPhone', 'Address2']);
Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress',
                              'mailAlternateAddress']);
Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']);
Set($LdapServer, 'clehbdc01.broadvox.local');
Set($LdapBase, 'OU=USA,DC=broadvox,DC=local');
Set($LdapFilter, '(objectClass=*)');
1;

APACHE ERROR_LOG:

[Tue May 19 12:54:25 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl 
for server clehbrtsrv01.broadvox.local:0, exiting...
[Tue May 19 12:55:17 2009] [error] Can't locate RT/Authen/ExternalAuth.pm in 
@INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 
/usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/../lib/RT.pm line 
625.\nCompilation failed in require at (eval 2) line 1.\n
[Tue May 19 12:55:17 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl 
for server clehbrtsrv01.broadvox.local:0, exiting...

Eric Chatham
MIS Department
Phone: (216) 373-4683
Fax: (216) 373-4669
echat...@broadvox.net
[cid:image001.gif@01C9D8A9.37AF5580]


________________________________
CONFIDENTIAL. This e-mail and any attached files are confidential and should be 
destroyed and/or returned if you are not the intended and proper recipient.

________________________________
CONFIDENTIAL. This e-mail and any attached files are confidential and should be 
destroyed and/or returned if you are not the intended and proper recipient.

<<inline: image001.gif>>

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to