[rt-users] ExternalAuth logging

Ryan Backman rbackman at georgefox.edu
Mon Jan 23 19:16:44 EST 2012


I can't seem to get any response at login from ExternalAuth 0.09 using RT
3.8.7 .

I have the following logging setup, which will only show me Login Success
or Failure with Web.pm.

Set($LogToSyslog,'warning');
Set($LogToFile,'debug');
Set($LogToFileNamed,'rt.log');
Set($LogDir,'/var/log/request-tracker3.8');

Below is my ExternalAuth Config:

### LDAP Configuration ###
Set ( $ExternalAuthPriority,  [ 'GFU_LDAP' ] );
Set ( $ExternalInfoPriority,  [ 'GFU_LDAP' ] );

Set($ExternalServiceUsesSSLorTLS,    0);

Set($AutoCreateNonExternalUsers, 0);

Set($ExternalSettings, {
        'GFU_LDAP' => {
                'type'                      =>  'ldap',
                'server'                    =>  '
ads-nbg.campus.georgefox.edu',
                'user'                      =>
 'CN=user,OU=group,DC=base,DC=base,DC=edu',
                'pass'                      =>  'pass',
                'base'                      =>  'DC=base,DC=base,DC=edu',
                'filter'                    =>  '(objectClass=user)',
                'd_filter'                  =>  '(objectClass=Doesntexist)',
                'tls'                       =>  0,
                'ssl_version'               =>  3,
                'net_ldap_args'             => [    version =>  3   ],
                'group'                     =>  'CN=All
Users,OU=group,DC=base,DC=base,DC=edu',
                'group_attr'                =>  'member',
                'attr_match_list'           => [        'Name',
                                                        'EmailAddress',
                                                ],
                'attr_map'                  =>  {       'Name' =>
'sAMAccountName',
                                                        'EmailAddress' =>
'mail',
                                                        'ExternalAuthId' =>
'sAMAccountName',
                                                        'Gecos' =>
'sAMAccountName',
                                                }
                }
    }
);

The only logging I see is when I create a ticket, then I get the following:

[Mon Jan 23 22:02:06 2012] [debug]:
RT::Authen::ExternalAuth::CanonicalizeUserInfo called by
RT::Authen::ExternalAuth
/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
553 with: Disabled: 0, EmailAddress: , Name: jdoe, Privileged: 0
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:450)
[Mon Jan 23 22:02:06 2012] [debug]: Attempting to get user info using this
external service: GFU_LDAP
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:458)
[Mon Jan 23 22:02:06 2012] [debug]: Attempting to use this canonicalization
key: Name
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:472)
[Mon Jan 23 22:02:06 2012] [debug]: LDAP Search ===  Base:
DC=base,DC=base,DC=edu == Filter:
(&(objectClass=user)(sAMAccountName=jdoe)) == Attrs:
mail,sAMAccountName,sAMAccountName,sAMAccountName
(/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:195)
[Mon Jan 23 22:02:06 2012] [info]:
RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Disabled: 0,
EmailAddress: jdoe at georgefox.edu, ExternalAuthId: jdoe, Gecos: jdoe, Name:
jdoe, Privileged: 0, RealName:
 (/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536

It seems ExternalAuth isn't even being polled at login.  Any ideas?

=+=+=+=+=+=+=+=+=+
Ryan Backman
Programmer / Analyst
George Fox University
503.554.2576
=+=+=+=+=+=+=+=+=+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120123/2a56f22e/attachment.htm>


More information about the rt-users mailing list