Re: [rt-users] Not able to create external users with external auth

2017-01-12 Thread aniket tripathy
Thanks Claude.

We had the permissions configured to allow *everyone to raise ticket*.
Where we went wrong was in the attr_match_list, for configuring the
external-auth, we were giving the RealName as well. Commenting it out
worked.

Referred:
http://requesttracker.8502.n7.nabble.com/username-same-but-realname-and-email-is-different-for-existing-user-compare-to-ldap-attribute-causedd-td7105.html

-Aniket

On Wed, Jan 11, 2017 at 4:22 PM, Claude EDUMA  wrote:

> Hi Aniket,
>
> You must configure "queue everyone privilege" to permit them to create
> ticket.
>
> Thank you.
>
> 2017-01-11 11:47 GMT+01:00 aniket tripathy :
>
>> hello,
>>
>> We are using RT 4.4 and using the external authentication mechanism from
>> a remote DB to authenticate the user. To enable others to create ticket we
>> have enabled *AutoCreateNonExternalUsers*. But any mails from outside
>> gets the response.
>>
>> *"You do not have permission to communicate with RT".*
>>
>>  Set( $UserAutocreateDefaultsOnLogin, { Privileged => 1 } );
>>  Set($AutoCreateNonExternalUsers, 1);
>>  Set( $ExternalAuthPriority, ["My_SSO_Cookie"] );
>>  Set( $ExternalInfoPriority, ["My_MySQL"] );
>>  Set($AutoCreateNonExternalUsers, 1);
>>
>> At the queue level, I have given everyone the right to  create and reply
>> to tickets.
>>
>> The logs are like:
>>
>> [11230] [Wed Jan 11 16:07:08 2017] [info]: 
>> RT::Authen::ExternalAuth::DBI::CanonicalizeUserInfo
>> INFO CHECK FAILED Key: rtUserName Value:  No User Found in
>> External Database! (/opt/rt4/sbin/../lib/RT/Authe
>> n/ExternalAuth/DBI.pm:400)
>> [11230] [Wed Jan 11 16:07:08 2017] [info]: 
>> RT::Authen::ExternalAuth::DBI::CanonicalizeUserInfo
>> INFO CHECK FAILED Key: emailId Value:  No User Found in External
>> Database! (/opt/rt4/sbin/../lib/RT/Authen/ExternalAuth/DBI.pm:400)
>> [11230] [Wed Jan 11 16:07:08 2017] [info]: 
>> RT::User::CanonicalizeUserInfoFromExternalAuth
>> returning Comments: Autocreated on ticket submission, Disabled: ,
>> EmailAddress: , Name: , Privileged: , RealName:
>>  (/opt/rt4/sbin/../lib/RT/User.pm:812)
>> [11230] [Wed Jan 11 16:07:08 2017] [warning]: Use of uninitialized value
>> $email in concatenation (.) or string at /opt/rt4/sbin/../lib/RT/User.pm
>> line 680. (/opt/rt4/sbin/../lib/RT/User.pm:680)
>> [11230] [Wed Jan 11 16:07:08 2017] [warning]: Use of uninitialized value
>> $args{"Name"} in concatenation (.) or string at
>> /opt/rt4/sbin/../lib/RT/User.pm line 143. (/opt/rt4/sbin/../lib/RT/User.
>> pm:143)
>> [11230] [Wed Jan 11 16:07:08 2017] [warning]: Use of uninitialized value
>> $args{"EmailAddress"} in concatenation (.) or string at
>> /opt/rt4/sbin/../lib/RT/User.pm line 143. (/opt/rt4/sbin/../lib/RT/User.
>> pm:143)
>> [11230] [Wed Jan 11 16:07:13 2017] [critical]: Failed to create user
>> : Must specify 'Name' attribute (/opt/rt4/sbin/../lib/RT/User.
>> pm:546)
>> [11230] [Wed Jan 11 16:07:13 2017] [crit]: Permission Denied: You do not
>> have permission to communicate with RT (/opt/rt4/sbin/../lib/RT/Inter
>> face/Email.pm:697)
>>
>>
>> Am I missing any configuration at my end?
>>
>> Thanks.
>>
>
>


[rt-users] . Re: Queue still being CC'ed with $ParseNewMessageForTicketCcs

2017-01-12 Thread Cena, Stephen (ext. 300)
That has solved it. Thank you!

Stephen Cena
Senior Systems Administrator 
Quality Vision International, Inc.
Phone: (585) 544-0450 x300
To notify helpdesk: http://helpdesk.ogp.qvii.com or email: hd-gene...@qvii.com
To report email issues: postmas...@qvii.com
)" 

If you want to use the /x modifier, provide a regular expression object, not a 
string:

Set($RTAddressRegexp,
qr/
  (local-part1@domain1\.tld)|
  (local-part2@domain2\.tld)|
  (local-part3@domain3\.tld)|
  : 
  :
  (local-partN@domainN\.tld)
/xi );

Tangentially, the inner grouping ()s are not necessary here, but you will want 
to anchor the regular expression to the start and end of what it's matching. 
And you'll need to escape the "@" signs:

Set($RTAddressRegexp,
qr/
   ^
 (
   local-part1\@domain1\.tld
 | local-part2\@domain2\.tld
 | local-part3\@domain3\.tld
 |  : 
 |  :
 | local-partN\@domainN\.tld
 )
   $
/xi );


 - Alex



[rt-users] Custom fields in ticket transactions without any comment/correspondence text

2017-01-12 Thread Per von Zweigbergk
It seems it's possible to perform a transaction that does not contain any 
comment or correspondence text.

For example, you might change the current state of the ticket, update time 
worked, change requestors, etc. I think even changing custom fields on a ticket 
might be possible.

However, it seems functionality on custom fields on the transactions themselves 
is a bit limited. If I try for example making a transaction with an empty 
comment, where I update time worked, and also set a custom field, that does not 
seem to be reflected in the history. If I do it with a comment however, it 
seems to work fine.

Am I doing something wrong, or is this just a bit of functionality that's not 
quite there?



Re: [rt-users] HTML/Rich Text Article Entries?

2017-01-12 Thread Aaron Lush
Don’t rule out that I did something incorrectly, but, no, this did nothing to 
the Article WikiText Custom Field. I followed everything listed under “Convert 
Wiki Text CF into a Rich Text CF.”

 

On a sidenote, the thing that I thought funny is the code “%# --- Wiki Text 
Area ==> Rich Text Area ---.” Doesn’t the hash mark after the percent sign 
indicate a comment and to bypass the code? Granted, I’m no PERL programmer, so 
keep that in mind .

 

Sincerely,

 

Aaron Lush

Network Administrator

South Central Community School Corporation

(219) 767-2266 ext. 

 

From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of 
Brett Chambers
Sent: Tuesday, January 10, 2017 9:53 PM
To: 'rt-users' 
Subject: Re: [rt-users] HTML/Rich Text Article Entries?

 

So this https://rt-wiki.bestpractical.com/wiki/Rich_Text_Custom_Fields doesn’t 
work in RT 4.4?

 

From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of 
Aaron Lush
Sent: Wednesday, 11 January 2017 7:01 AM
To: 'rt-users' mailto:rt-users@lists.bestpractical.com> >
Subject: [rt-users] HTML/Rich Text Article Entries?

 

Is there a way I can modify Articles’ configuration so that they may feature 
HTML/Rich-Text/Images, same as tickets? It seems custom fields is the ticket, 
but all Wiki articles I’ve scoured on the subject wind up breaking RT 
 .

 

I’m running RT 4.4 on an Ubuntu 16.10 box.

 

Sincerely,

 

Aaron Lush

Network Administrator

South Central Community School Corporation

(219) 767-2266 ext.  


Email Confidentiality Notice: This email message, including all attachments, is 
for the sole use of the intended recipient(s) and contains confidential 
information. If you are not the intended recipient, you may not use, disclose, 
print, copy or disseminate this information. Please reply and notify the 
sender, delete the message and any attachments and destroy all copies. 


-- 
Email Confidentiality Notice: This email message, including all 
attachments, is for the sole use of the intended recipient(s) and contains 
confidential information. If you are not the intended recipient, you may 
not use, disclose, print, copy or disseminate this information. Please 
reply and notify the sender, delete the message and any attachments and 
destroy all copies. 


Re: [rt-users] assets: bulk updating a custom field value fails

2017-01-12 Thread Michael Hoertnagl
Hi Martin

On 2017-01-11 16:06, Martin Wheldon wrote:

> Line 183 of /opt/rt4/share/html/Asset/Search/Bulk.html seems to be the
> problem, if you comment it out the bulk update works.

Yes this fixes the issue for us. Thanks for your help.

Cheers,
Michael