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

testwreq wreq testwreq at gmail.com
Fri Aug 6 15:30:17 EDT 2010


I was able to install it manually.


I have setup RT_SitConfig.pm file.  ExternalAuth does land on the login page
to RT, but when I put my Active Directory username/password in there, it
does not authenticate. It gave me the below error



[Fri Aug  6 18:49:57 2010] [critical]:
RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind:
LDAP_INVALID_CREDENTIALS 49
(/data/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)

[Fri Aug  6 18:49:57 2010] [error]: FAILED LOGIN for vibha from
130.245.14.200 (/data/rt3/share/html/autohandler:268)



It is pointing to LDAP.pm. Do you think I have to change anything there?

regards,
vm


My SiteConfig is changed as follows:

# Tell RT to read the plugin for External Authentication.

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



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

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



# Tell RT to trust the webserver to handle authentication.

# Set($WebExternalAuth, 3);



# If this is set to true, then the relevant packages will be loaded to use
SSL/TLS connections. At the moment this just means "use Net::SSLeay;"

Set($ExternalServiceUsesSSLorTLS,    1);



# If the webserver hands RT a user RT is not familiar with, RT should just
go ahead and create an account

Set($AutoCreateNonExternalUsers,    1);



Set($ExternalSettings, {

                         'My_LDAP'       =>  {   ## GENERIC SECTION

                                                  'type'    =>  'ldap',

                                                  'server'  =>
'ad.hostname',

                                                  # 'user'   =>  'ldapuser',

                                                   'user'  =>  'CN=Recruit
LDAP user,OU=Users,OU=SysStaff,OU=sb,DC=cs,DC=sb,DC=edu',

                                                   'pass'   =>  'xxx',

                                                   'base'   =>
'ou=sb,dc=cs,dc=sb,DC=edu',

                                                   'filter'   =>
'((&(objectCategory=Users)))',

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

                                                   'tls'      =>  1,

                                                   'ssl_version' =>  3,

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

                                                   #'group'        =>
'GROUP_NAME',

                                                   #'group_attr'   =>
'GROUP_ATTR',

                                                   'attr_match_list'  =>
[    'Name',


'EmailAddress'

                                                                         ],

                                                   'attr_map'         =>
{   'Name' => 'sAMAccountName',


'EmailAddress' => 'mail'

                                                                          }

                                              }

                   }

   );

1;

# END
On Fri, Aug 6, 2010 at 3:15 PM, Kevin Falcone <falcone at bestpractical.com>wrote:

> On Tue, Aug 03, 2010 at 10:30:50AM -0400, testwreq wreq wrote:
> >    make command in the manual installation results in
> >    make: *** No targets specified and no makefile found. Stop.
> >    What does this mean?
>
> Look through the README file for manual installation instructions.
>
> -kevin
>
> >    On Tue, Aug 3, 2010 at 5:25 AM, Mike Peachey <[1]
> mike.peachey at jennic.com> wrote:
> >
> >      testwreq wreq wrote:
> >
> >      >
> >      > To install ExternalAuth, I ran the following command ( cpan -i
> >      > RT::Authen::ExternalAuth ); During installation, it asked for path
> to
> >      > your RT.pm, which I entered as /data/rt3/lib
> >      >
> >      > Any ideas?
> >      >
>  >      > On Mon, Aug 2, 2010 at 5:18 AM, Mike Peachey <[2]
> mike.peachey at jennic.com
> >      > <mailto:[3]mike.peachey at jennic.com>> wrote:
> >      >
> >      >
> >      > > I ran the following command ( cpan -i RT::Authen::ExternalAuth
> );
> >      >
> >      > Follow the manual install instructions.
> >      >
> >
> >      Follow the manual install instructions. NOT cpan.
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100806/2bbe6fc8/attachment.htm>


More information about the rt-users mailing list