[rt-users] Regarding External Authentication using LDAP

Anton Panetta anton.panetta at haircareaust.com
Tue Oct 13 20:04:40 EDT 2015


Whats the block you put in your RT_SiteConfig relating to external auth?



From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of bharath reddy
Sent: Wednesday, 14 October 2015 3:58 AM
To: RT-List <rt-users at lists.bestpractical.com>
Subject: [rt-users] Regarding External Authentication using LDAP

Dear All,

I followed the link https://metacpan.org/pod/RT::Authen::ExternalAuth and made required changes and then restarted my apache server. But when I'm logging into the RT from web it fails with :
"Your username or password is incorrect"

But user exists in the LDAP.

Log file contains :
[22441] [Tue Oct 13 16:58:25 2015] [error]: FAILED LOGIN for <my_user_name> from 130.245.10.107 (/rt/lib//RT/Interface/Web.pm:810)

From the code(/rt/lib//RT/Interface/Web.pm) it fails at this point :

    unless ( $user_obj->id && $user_obj->IsPassword( $ARGS->{pass} ) ) {
        $RT::Logger->error("FAILED LOGIN for @{[$ARGS->{user}]} from $ENV{'REMOTE_ADDR'}");

Can any one help me how to change the flow to authenticate from LDAP i.e it should check the username and password against the LDAP and not from DB.

Any help or pointers to this issue will be appreciated.

Thanks,
Bharath.
The information contained in this email message and any attachments may be confidential information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you have received this email in error, please advise us immediately and delete the email and all copies. The content and opinions in non-business email are not necessarily those of Haircare Australia. [http://thinkbeforeprinting.org/struct/signature-1.gif]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20151014/61c3041a/attachment.htm>


More information about the rt-users mailing list