[rt-users] RT::Authen::ExternalAuth v0.08 Troubles

Shane Painter spainter at rw3.com
Thu Jan 29 11:45:56 EST 2009


Gents,

 

Running RT 3.8.1 and RT::Authen::ExternalAuth v0.08, and having troubles
when enabling the line : Set(@Plugins, qw(RT::Authen::ExternalAuth) );
When uncommented, Mason cache cleared and Apache restarted - any
attempts to reach RT are met with an "Internal Server Error". I am
pretty sure my params are correct for ExternalAuth. I've scoured
google/RT lists and cannot seem to find the problem. Any help would be
greatly appreciated. Thanks in advance.

 

Oddly, the rt.log file shows nothing, zip, nada.

 

Apache error.log shows:

[Thu Jan 29 10:39:16 2009] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" has failed to remain running for 30
seconds given 3 attempts, its restart interval has been backed off to
600 seconds

 

Apache rtdev.inside.rw3.com_access.log shows:

192.168.3.179 - - [29/Jan/2009:10:38:53 -0600] "GET / HTTP/1.1" 500 608

 

Apache rtdev.inside.rw3.com_error.log shows:

[Thu Jan 29 10:40:53 2009] [error] [client 192.168.3.179] FastCGI:
incomplete headers (0 bytes) received from server
"/opt/rt3/bin/mason_handler.fcgi"

 

Apache access log shows:

127.0.0.1 - - [29/Jan/2009:10:03:57 -0600] "OPTIONS * HTTP/1.0" 200 -
"-" "Apache (internal dummy connection)"

 

Here's my RT_SiteConfig.pm:

 

Set( $rtname, 'rtdev.inside.rw3.com');

Set($CorrespondAddress, 'correspond at dev.rw3.com');

Set($CommentAddress, 'comment at dev.rw3.com');

# Set($rtname, 'rw3.com');

Set($Organization , "rw3.com");

Set($Timezone , 'US/Central');

Set($DatabasePassword , '******');

Set($OwnerEmail , 'it at rw3.com');

Set($WebSessionClass, 'Apache::Session::File');

Set($RTAddressRegexp , '^rtdev\@inside.rw3.com$');

Set($WebBaseURL , "http://rtdev.inside.rw3.com");

Set(@Plugins, 'RT::Site::RW3');

Set(@Plugins, qw(RT::Authen::ExternalAuth) );

Set($ExternalAuthPriority,  [   'My_LDAP' ] );

Set($ExternalInfoPriority,  [ 'My_LDAP' ] );

Set($ExternalServiceUsesSSLorTLS,    0);

Set($AutoCreateNonExternalUsers,    0);

Set($ExternalSettings, {'My_LDAP' => {

        'type' => 'ldap',

        'server' => 'dc01-aus-lcg.inside.rw3.com',

        'user' =>
'CN=RT,OU=ServiceAccounts,OU=IT,OU=RW3Users,DC=inside,DC=rw3,DC=com',

        'pass' => '*******',

        'base' => 'OU=RW3Users,DC=inside,DC=rw3,DC=com',

        'filter' => '(objectClass=*)',

        'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)',

        'tls' => 0,

        'net_ldap_args' => [ version => 3 ],

        'group' => 'CN=Domain Users,CN=Users,DC=inside,DC=rw3,DC=com',

        'group_attr' => '',

        'attr_match_list' => [ 'Name','EmailAddress' ],

        'attr_map' => {

                'Name' => 'sAMAccountName',

                'EmailAddress' => 'mail'

                #'Organization' => 'physicalDeliveryOfficeName',

                #'RealName' => 'cn',

                #'ExternalAuthId' => 'sAMAccountName',

                #'Gecos' => 'sAMAccountName',

                #'WorkPhone' => 'telephoneNumber',

                #'Address1' => 'streetAddress',

                #'City' => 'l',

                #'State' => 'st',

                #'Zip' => 'postalCode',

                #'Country' => 'co'

                }

        },

}

);

 

1;

 

 

Shane Painter

Director, Information Technology

Office 512.380.4151 / Mobile 512.294.5890

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090129/8bfba169/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1533 bytes
Desc: image001.gif
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090129/8bfba169/attachment.gif>


More information about the rt-users mailing list