Re: [rt-users] Installing GD components
Hi Kobus, I am sorry for the long silence I have reinstalled the server with CentOs 6.7 and found below infor doing a locate /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so /usr/lib64/libjpeg.so /usr/lib64/libjpeg.so.62 /usr/lib64/libjpeg.so.62.0.0 but the compilation stops at the same point SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD::Text ...MISSING GD ...MISSING CORE missing dependencies: XML::RSS >= 1.05 ...MISSING HTML::FormatText::WithLinks >= 0.14 ...MISSING HTML::FormatText::WithLinks::AndTables ...MISSING GRAPHVIZ missing dependencies: GraphViz ...MISSING Perl library path for /usr/local/bin/perl: /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.22.0 /usr/local/lib/perl5/5.22.0/x86_64-linux /usr/local/lib/perl5/5.22.0 . make: *** [testdeps] Error 1 It looks there is something wrong with the combination or what I am doing :( Thanks and Regards Asanka On Tue, 22/9/15, Kobus Benschwrote: Subject: Re: [rt-users] Installing GD components To: "Asanka Gunasekera" , rt-users@lists.bestpractical.com Date: Tuesday, 22 September, 2015, 17:02 Running this command does not mean it is installed. It just tells you which packages provides the libjpeg.so Does the lib actually exist in /usr/lib/libjpeg.so or /usr/lib64/libjpeg.so On 22/09/2015 11:50, Asanka Gunasekera wrote: yum whatprovides "*/libjpeg.so" -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI: 0207 871 3958 Tel: 0207 871 3890 Email: kobus.ben...@trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message.
[rt-users] Custom Field Template
Hi I have written a script that looks like this: Desc: On Change of CF Cond: User Defined Action: Notify AdminCCs Template: CR Change Admin Correspond Custom Condition: return 0 unless $self->TransactionObj->Type eq 'CustomField'; return 1; The Template Looks like this: Name: CR Change Admin Correspondence Desc: Plain text admin correspondence template when CF is changed Type: Perl Content: RT-Attach-Message: yes Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} > The CR_Owner was changed to: {$Ticket->FirstCustomFieldValue('CR_Owner')} {$Transaction->Content()} How can I change this to say: If field 1 has changed {$Ticket->FirstCustomFieldValue('CR_Owner')} If Field 2 has changed {$Ticket->FirstCustomFieldValue('CR_Date')} Etc... Basically want to onlist the fields in an email if they have changed. Thanks in advance Kobus -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message.
[rt-users] Custom Field Template
Hi I have written a script that looks like this: Desc: On Change of CF Cond: User Defined Action: Notify AdminCCs Template: CR Change Admin Correspond Custom Condition: return 0 unless $self->TransactionObj->Type eq 'CustomField'; return 1; -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message.
Re: [rt-users] Custom Field Template
On Thu, Oct 15, 2015 at 11:19 AM, Kobus Benschwrote: > Hi > > I have written a script that looks like this: > > Desc: On Change of CF > Cond: User Defined > Action: Notify AdminCCs > Template: CR Change Admin Correspond > > Custom Condition: return 0 unless $self->TransactionObj->Type eq > 'CustomField'; > return 1; > > > The Template Looks like this: > Name: CR Change Admin Correspondence > Desc: Plain text admin correspondence template when CF is changed > Type: Perl > Content: RT-Attach-Message: yes > > Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} > > > The CR_Owner was changed to: {$Ticket->FirstCustomFieldValue('CR_Owner')} > > {$Transaction->Content()} > > > How can I change this to say: > > If field 1 has changed {$Ticket->FirstCustomFieldValue('CR_Owner')} > If Field 2 has changed {$Ticket->FirstCustomFieldValue('CR_Date')} The $Transaction data should have what you need to make a logic choice in your template. -m
Re: [rt-users] Regarding External Authentication using LDAP
Hi Bob, I'm using RT version greater than 4.2 but I don't think that line is causing the issue. I found following in the log file : [1755] [Thu Oct 15 16:04:59 2015] [debug]: Attempting to use external auth service: My_LDAP (/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64) [1755] [Thu Oct 15 16:04:59 2015] [debug]: SSO Failed and no user to test with. Nexting (/rt/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92) [1755] [Thu Oct 15 16:04:59 2015] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/rt/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26) The user is not getting passed to LDAP I guess. Thanks, Bharath. On Wed, Oct 14, 2015 at 8:53 AM, Bob Shakerwrote: > What Version of RT are you running? If you are using 4.2 or greater (you > should be if you’re setting up a new instance) you need to > > Replace this line > > Set(@Plugins, qw(RT::Authen::ExternalAuth) ); > > With this line > > Plugin('RT::Authen::ExternalAuth'); > > > > *From:* rt-users [mailto:rt-users-boun...@lists.bestpractical.com] *On > Behalf Of *bharath reddy > *Sent:* Tuesday, October 13, 2015 10:38 PM > *To:* Anton Panetta > *Cc:* RT-List > *Subject:* 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