Skip Menu |

This queue is for tickets about the RT-Authen-ExternalAuth CPAN distribution.

Report information
The Basics
Id: 107812
Status: new
Priority: 0/
Queue: RT-Authen-ExternalAuth

People
Owner: Nobody in particular
Requestors: vangoor.bharath [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Regarding RT External Authentication
Date: Thu, 15 Oct 2015 14:27:48 -0400
To: bug-RT-Authen-ExternalAuth [...] rt.cpan.org
From: bharath reddy <vangoor.bharath [...] gmail.com>
Hi All, I followed the link : https://metacpan.org/pod/RT::Authen::ExternalAuth and made required changes to the RT_SiteConfig.pm for enabling the RT External AUthentication. Following are the changes made : Plugin( "RT::Authen::ExternalAuth"); Set( $ExternalAuthPriority, ["My_LDAP"] ); Set( $ExternalInfoPriority, ["My_LDAP"] ); Set( $UserAutocreateDefaultsOnLogin, { Privileged => 1 } ); Set($AutoCreateNonExternalUsers, 1); Set($ExternalSettings, { 'My_LDAP' => { 'type' => 'ldap', 'server' => 'vmns1.cs.stonybrook.edu', 'user' => 'DC=cs,DC=stonybrook,DC=edu', 'pass' => '********', 'base' => 'ou=SBCS,dc=cs,dc=stonybrook,DC=edu', 'filter' => '(objectClass=*)', 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', 'net_ldap_args' => [ version => 3 ], 'tls' => 0, 'ssl_version' => 3, # Users are allowed to log in via email address or account # name 'attr_match_list' => [ 'Name', 'EmailAddress', ], # Import the following properties of the user from LDAP upon # login 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'RealName' => 'cn', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co', }, }, } ); But when I'm trying to login through RT web UI using the user present in my LDAP, it fails. Following is the error message in apache logs : [Thu Oct 15 17:50:39 2015] [error]: FAILED LOGIN for bvangooraaa from 130.245.10.107 (/rt/lib//RT/Interface/Web.pm:810) Any help is highly appreciated. Thanks, Bharath.