Re: [rt-users] Ticket Links missing post upgrade/conversion to Oracle 4.2.11.
Good morning, Maik. My technical team checked our production RT and found the $organization variable. It appeared to be correct, however, they were unsure what you meant when you said (It must fit to the values of field "base" and "target" in table "links"). Can you provide more directions on what you meant? The more specific you can be, the better it would be for my non-Request Tracker DBA's. Some additional information: we have a stage server that is currently running the same version of request tracker (4.2.11 Oracle). It is a copy of our production database from a few months ago. It is showing the ticket links and has the same $Organization variable as the production account. Thanks for the help! Greg From: rt-users [rt-users-boun...@lists.bestpractical.com] on behalf of Maik Nergert [maik.nerg...@uni-hamburg.de] Sent: Friday, October 09, 2015 2:12 AM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Ticket Links missing post upgrade/conversion to Oracle 4.2.11. Hey Greg, please check if your $Organization variable is set in RT_SiteConfig.pm It must fit to the values of field "base" and "target" in table "links" If your code snipped is correct then Set( $Organization, 'example.com' ); best Maik
[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 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.
Re: [rt-users] Regarding External Authentication using LDAP
Whats the block you put in your RT_SiteConfig relating to external auth? From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of bharath reddy Sent: Wednesday, 14 October 2015 3:58 AM To: RT-List 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 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]
Re: [rt-users] Regarding External Authentication using LDAP
Hi Anton, I used following block in my RT_SiteConfig : Set(@Plugins, qw(RT::Authen::ExternalAuth) ); Set($ExternalAuthPriority, ["My_LDAP"]); Set($ExternalInfoPriority, ["My_LDAP"]); Set($AutoCreateNonExternalUsers,1); Set($ExternalSettings, { 'My_LDAP' => { ## GENERIC SECTION 'type'=> 'ldap', 'server' => ' vmns1.cs.sunysb.edu', 'user' => 'CN=Recruit LDAP user,OU=Service Accounts,OU=SBCS,DC=cs,DC=stonybrook,DC=edu', 'pass' => '***', 'base' => 'ou=SBCS,dc=cs,dc=stonybrook,DC=edu', # 'filter' => '((&(objectCategory=Users)))', filter => '(objectClass=*)', 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', #'d_filter' => '(&(objectCategory=User) (ObjectClass=Person))' , 'tls' => 1, 'ssl_version' => 3, 'net_ldap_args' => [ version => 3 ], # 'group'=> 'CN=Domain Users,CN=Users,DC=cs,DC=stonybrook,DC=edu', # 'group_attr' => 'member', 'attr_match_list' => [ 'Name', 'EmailAddress' ], 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail' } } } ); Is anything that I'm missing ? Thanks, Bharath. On Tue, Oct 13, 2015 at 8:04 PM, Anton Panetta < anton.pane...@haircareaust.com> wrote: > Whats the block you put in your RT_SiteConfig relating to external auth? > > > > > > > > *From:* rt-users [mailto:rt-users-boun...@lists.bestpractical.com] *On > Behalf Of *bharath reddy > *Sent:* Wednesday, 14 October 2015 3:58 AM > *To:* RT-List > *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 > 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. >