[rt-users] problems with RT::Authen::ExternalAuth

Martin Wheldon martin.wheldon at greenhills-it.co.uk
Wed Jan 23 07:09:01 EST 2013


Hi,

Sorry but my last post was incorrect regarding the attr_match_list here 
is an extract from my working config.

'attr_match_list'           => [    'Name',
                                     'EmailAddress'
                                ],
'attr_map'                  =>  {   'Name' => 'mail',
                                     'EmailAddress' => 'mail',
                                     'RealName' => 'cn',
                                     'ExternalAuthId' => 'uid'
                                  }
},

Without knowing how your users are structured in LDAP the attr_map will 
differ at a guess you will need to change 'ExternalAuthId' at the
very least.

Hope this helps

Martin

On 2013-01-23 12:06, ymarinov wrote:
> this didn't help at all :/
> to be sure i'll give you the exact current RT_SiteConfig.pm 
> specifications
> that i've got at the moment:
>
> 'type'                      =>  'ldap',
> 'server'                    =>  'ldap.xxxx.net',
> 'user'                      =>  '',
> 'pass'                    =>  '',
> 'base'                      =>  '(dc=neterra,dc=net)',
> 'filter'                    =>  '(objectClass=*)',
> 'd_filter'                  =>  '(objectClass=NonExistant)',
> 'tls'                       =>  0,
> 'ssl_version'               =>  3,
> 'net_ldap_args'             => [    version =>  3   ],
> 'attr_match_list'           => [    'cn', 'mail' ],
> 'attr_map'                  =>  {   'Name' => 'uid', 'EmailAddress' 
> =>
> 'mail' }
>  },
>
> Have in mind that I tried the attr match list to use 'uid' instead of 
> 'cn' -
> however LDAP return again
>
> [Wed Jan 23 12:00:33 2013] [debug]: Autohandler called ExternalAuth.
> Response: (0, No User)
> 
> (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:11)
> [Wed Jan 23 12:00:33 2013] [error]: FAILED LOGIN for ymarinov from
> xxxx.xxx.xxx.xxx (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)
>
>
>
>
> --
> View this message in context:
> 
> http://requesttracker.8502.n7.nabble.com/problems-with-RT-Authen-ExternalAuth-tp52440p52461.html
> Sent from the Request Tracker - User mailing list archive at 
> Nabble.com.
>
> !DSPAM:9,50ffc9a733236974910902!




More information about the rt-users mailing list