Re: [rt-users] a configuration manager/plugin for RT
Hi Al, I tried to record/replay operations with Selenium IDE. Adding stuff like creating queues, groups, and custom fields worked well, assigning privileges was much trickier. HTH, Gabriele - >Message: 5 >Date: Tue, 15 Jul 2014 09:04:57 -0400 >From: Al Joslin >To: rt-users@lists.bestpractical.com >Subject: [rt-users] a configuration manager/plugin for RT >Message-ID: <27070f64-0144-4979-8eee-d3059ff5d...@gmail.com> >Content-Type: text/plain; charset=us-ascii > >Am I correct in thinking that there is no easy way to transfer configuration >changes from one RT installation (test/dev) to another (prod) ? > >Unless someone has already written a plugin that will programmatically >apply sets of configuration changes, (or, silicon gods willing, >it could diff installations?) >I find myself doing an awful lot of configuration as I learn RT and >set it up for different groups with different needs within our company -- >and I realized with dismay that I'm going to have to build up a clean install >and re-do only the required configs for a production version... Not having >kept a log of what I tried and marking those attempts that worked, >it's going to be a bit of a slog. >So, are there any suggestions or best practice references that anyone can give ? >thanks >al; -- RT Training - Boston, September 9-10 http://bestpractical.com/training
Re: [rt-users] rt-users Digest, Vol 124, Issue 14
Hi Al, I tried to record/replay operations with Selenium IDE. Adding stuff like creating queues, groups, and custom fields worked well, assigning privileges was much trickier. HTH, Gabriele - >Message: 5 >Date: Tue, 15 Jul 2014 09:04:57 -0400 >From: Al Joslin >To: rt-users@lists.bestpractical.com >Subject: [rt-users] a configuration manager/plugin for RT >Message-ID: <27070f64-0144-4979-8eee-d3059ff5d...@gmail.com> >Content-Type: text/plain; charset=us-ascii > >Am I correct in thinking that there is no easy way to transfer configuration >changes from one RT installation (test/dev) to another (prod) ? > >Unless someone has already written a plugin that will programmatically >apply sets of configuration changes, (or, silicon gods willing, >it could diff installations?) >I find myself doing an awful lot of configuration as I learn RT and >set it up for different groups with different needs within our company -- >and I realized with dismay that I'm going to have to build up a clean install >and re-do only the required configs for a production version... Not having >kept a log of what I tried and marking those attempts that worked, >it's going to be a bit of a slog. >So, are there any suggestions or best practice references that anyone can give ? >thanks >al; -- RT Training - Boston, September 9-10 http://bestpractical.com/training
[rt-users] Recall: rt-users Digest, Vol 124, Issue 14
Franzini, Gabriele [Nervianoms] would like to recall the message, "rt-users Digest, Vol 124, Issue 14". -- RT Training - Boston, September 9-10 http://bestpractical.com/training
Re: [rt-users] Error with scrip2 'On Owner change'
[...] > >2.-In another account, I open the same ticket and steal. >3.-I see this in terminal: >[Thu Jan 5 11:40:44 2012] [info]: <***@cesca.cat> #247/2135 - Scrip 2 >On Owner Change Notify Owner >[Thu Jan 5 11:40:44 2012] [info]: <***@cesca.cat> No recipients found. >Not sending. > >It is normal? I want that RT sent email to Person 1 >(examp...@example.com) when another person steal her ticket. I think it is normal behaviour. By the time the scrip is fired, Person 1 is not anymore the Owner, and you (the new Owner) are the author of the change, so no recipients. Maybe there is a way to retrieve the old owner from the Transaction object, and send the e-mail, with a User-Defined action. HTH, Gabriele RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 & 6, 2012
Re: [rt-users] Password format and expiration
Hello Thierry, To achieve this result, we switched to External Authentication (Active Directory, in our case), so we can leverage AD password policies. HTH, Gabriele - >From: Thierry Thelliez >To: rt-users@lists.bestpractical.com >Subject: [rt-users] Password format and expiration > >Just curious if anyone has implemented a password format validation and >password expiration system for RT? > >We would like to have our users follow some password requirements >(not the same as the username, no less that x characters, at least a >special character, at least a number, ... ) and these passwords >should expire after x number of months... > > >Thierry This message has been scanned for malware by Websense. www.websense.com RT Training Sessions (http://bestpractical.com/services/training.html) * Chicago, IL, USA September 26 & 27, 2011 * San Francisco, CA, USA October 18 & 19, 2011 * Washington DC, USA October 31 & November 1, 2011 * Melbourne VIC, Australia November 28 & 29, 2011 * Barcelona, Spain November 28 & 29, 2011
Re: [rt-users] RT-Users Digest, Vol 72, Issue 42
Hello Jeff, The ModifyCustomField right may be also assigned at the User and Group level, both globally and at queue level. We also had problems with unwanted modifications; and ended up in adding a local version of the element Ticket/Elements/EditCustomFields. HTH, Gabriele Franzini Nerviano Medical Sciences - Italy >Message: 1 >Date: Tue, 16 Mar 2010 16:45:16 -0400 >From: Jeff Blaine >Subject: [rt-users] Read-only custom field? Also a rights problem? >To: rt-users@lists.bestpractical.com >Message-ID: <4b9feddc.5090...@kickflop.net> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed >RT 3.8.7 >I'm looking to establish a read-only custom field, writable only by $RT::SystemUser (in a scrip). >In trying to do so, I have made the rights to this custom field 'SeeCustomField' by some people, but nobody has ModifyCustomField permissions. >That is: > there are no defined user rights for the field. > there is only SeeCustomField rights for group > Privileged >I am still able to modify+save the field though, so clearly I am doing something wrong here. Any help would be appreciated. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com 2010 RT Training Sessions! San Francisco, CA, USA - Feb 22 & 23 Dublin, Ireland - Mar 15 & 16 Boston, MA, USA - April 5 & 6 Washington DC, USA - Oct 25 & 26 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Auto-creating a 'dependant' ticket On Transaction
Hi Jonathan, After the code for creation of dependent ticket, > my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = > $new_tkt->Create( > Queue => "Data Analysis", > Subject => $tkt->Subject, > Status => 'new', > Requestor => $requestors, > DependedOnBy => $tkt->Id); Try to add something like this one: my $CFName = "Your CF NAME goes here"; my $ValueToAssign = "Your VALUE goes here"; my $RecTransaction = 1; my $QueueObj = $new_tkt->QueueObj; my $CFObj = RT::CustomField->new( $QueueObj->CurrentUser ); $CFObj->LoadByName( Name => $CFName); my( $id, $msg ) = $new_tkt->AddCustomFieldValue( Field => $CFObj->id, Value => $ValueToAssign, RecordTransaction => $RecTransaction ); Hope it helps, Sorry but I have no time to test it... Gabriele -- Message: 3 Date: Tue, 8 Dec 2009 14:46:49 -0800 (PST) From: Jonathan Rummel Subject: Re: [rt-users] Auto-creating a 'dependant' ticket On Transaction To: rt-users@lists.bestpractical.com Message-ID: <26702202.p...@talk.nabble.com> Content-Type: text/plain; charset=us-ascii Gabriele, It works perfectly! Thanks! That's just what I needed! Do you have any idea how to refer to a Custom Field within the newly created ticket? Ex: $new_tkt->Create( Queue => "Data Analysis", Subject => $tkt->Subject, Status => 'new', CUSTOM FIELD => "VALUE", <== (what's the proper syntax here for setting the new ticket's cf value?) Requestor => $requestors, DependedOnBy => $tkt->Id); Thanks again! Jonathan ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Auto-creating a 'dependant' ticket On Transaction
Hi Jonathan, maybe the problem is this one below: [...] Requestor => $requestors, DependedOnBy => $tkt->Id) ; <== SEMICOLON MISSING (my fault in the first message!) return 1; Regards, Gabriele From: Jonathan Rummel Subject: Re: [rt-users] Auto-creating a 'dependant' ticket On Transaction To: rt-users@lists.bestpractical.com Message-ID: <26618452.p...@talk.nabble.com> Content-Type: text/plain; charset=UTF-8 Thank you all so much! This is definitely getting me closer to what I want. Is there any way you could help dumb-it-down a little more for my benefit please? And to clarify a little, I don't want this to happen On Create, only when my CF "Progress" is changed to "Send" in a ticket that already exists. Is the following correct (or close)? If not, could you please make corrections?: CONDITION: User Defined ACTION: User Defined TEMPLATE: Global Template: Blank STAGE: TransactionCreate CUSTOM CONDITION: if ($self->TicketObj->FirstCustomFieldValue('Progress') eq 'Send') { return 1; } return 0; CUSTOM ACTION PREPARATION CODE: return 1; CUSTOM ACTION CLEANUP CODE: (this is where I think I'm messing up) my $trans = $self->TransactionObj; my $tkt = $self->TicketObj; my $requestors = [ $tkt->Requestors->MemberEmailAddresses]; my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = $new_tkt->Create( Queue => "Data Analysis", Subject => $tkt->Subject, Status => 'new', Requestor => $requestors, DependedOnBy => $tkt->Id) return 1; I know that the Custom Condition works, but the Action doesn't seem to be working. Any help would greatly be appreciated. Thanks again! ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Auto-creating a 'dependant' ticket On Transaction
Hello jrummel, >From novice to novice, try a Scrip with something like: 1) Condition: as in OnCustomFieldValueChange (see wiki); 2) Action: User-defined, based upon DivideTicketIntoSubtasks (see wiki): my $trans = $self->TransactionObj; my $tkt = $self->TicketObj; my $requestors = [ $tkt->Requestors->MemberEmailAddresses]; my $new_tkt = RT::Ticket->new($RT::SystemUser); my ($id, $msg) = $new_tkt->Create( Queue => "your-queue-name-goes-here", Subject => $tkt->Subject, Status => 'new', Requestor => $requestors, DependedOnBy => $tkt->Id) return 1; HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL PO Box 11 - Viale Pasteur 10 20014 Nerviano Italy tel +39 0331581477 fax +39 0331581456 > >Date: Tue, 24 Nov 2009 15:19:41 -0800 (PST) >From: jrummel >Subject: [rt-users] Auto-creating a 'dependant' ticket On Transaction >To: rt-users@lists.bestpractical.com >Message-ID: <26505061.p...@talk.nabble.com> >Content-Type: text/plain; charset=us-ascii > >Hi All, > >I'm definitely an RT novice, and could use some assistance. I have a ticket >Custom Field ("Progress"). It is a Select One Value field. When someone >selects the value "Sent", I want a new ticket created that is 'depended on >by' the original ticket. Can anyone help me with this please? I'm desperate! > >Thanks! > >P.S. If the new ticket could automatically have an owner assigned upon creation > as well, that would be ideal. But the above request is definitely priority. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] question about searching for assets (using asset tracker)
Hello Charlie, You need to first select a Type, in order to get the Custom Field on the query builder page . HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL PO Box 11 - Viale Pasteur 10 20014 Nerviano Italy tel +39 0331581477 fax +39 0331581456 From: Kevin Falcone Subject: Re: [rt-users] question about searching for assets (using asset tracker plugin) To: rt-users@lists.bestpractical.com Message-ID: <20091001153718.gj53...@jibsheet.com> Content-Type: text/plain; charset="us-ascii" On Thu, Oct 01, 2009 at 10:08:59AM -0400, charlie derr wrote: > I feel I'm close to the solution, but hoping someone can help. > > We have the Asset Tracker plugin installed (and so far love both RT > and Asset Tracker) but I'm trying to create a report (so far just staying within the web interface). > > When I go to create a query (to look up assets) I can select the > population (12 newly entered machines) and get output that includes > Name, Description, Status and Type. We have also created a custom > field called "serial number" (without the quotes, but with the space). I've tried clicking the "Advanced Query" link and guessed at __serial number__, __SerialNumber__ and a couple other sensible choices, but all I can get is an empty column in my search results so far. Is there a way to allow fields other > than Name, Description, Status and Type to appear? And if so, is it just a matter of guessing correctly at the syntax? If this > can be done from the web interface, that'd make me most happy, but I'm willing to listen to any suggestion for any solution. I don't use AssetTracker, but in vanilla RT when building a search, applicable Custom Fields will show up in the Display Columns box down at the bottom of the page as CustomField.{foo} and you can just select it and add it. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Help with permissions?
Hello George, Try granting at the Global Group level, "SeeQueue" right to Company Employees, or maybe straight to Privileged group - it may save work for next queues... HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL PO Box 11 - Viale Pasteur 10 20014 Nerviano Italy -- Message: 6 Date: Mon, 23 Feb 2009 12:36:41 +0200 From: George Beitis Subject: [rt-users] Help with permissions? To: rt-users Message-ID: <9be19c1c0902230236s461d290ag33ec0d09fbef7...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hey everyone, my problem has to do with setting permissions. I have created a queue called IT support, and a group called Company Employees. The Employee group has the following rights on the group: create ticket and show ticket. These don't seem to be enough for a user in the group employees to create a ticket as the queue name doesn't come up in the create queue section of the screen or the quick create widget. Am I doing something wrong there? George -- next part -- ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Prevent status change?
Hello, We are trying the approach of making a local SelectStatus element, so that it filters which statuses to display in the dropdown box on the basis of the current one: [...] %foreach my $status (@status) { %next if ($SkipDeleted && $status eq 'deleted'); ==> example conditions: %next if (($Default =~ /new/) && ($status ne 'new')); %next if (($DefaultLabel =~ /new/) && ($status ne 'open' && $status ne 'stalled' && $status ne 'new')); %next if (($DefaultLabel =~ /open/) && ($status ne 'stalled' && $status ne 'resolved' && $status ne 'open')); %next if (($DefaultLabel =~ /resolved/) && ($status ne 'open' && $status ne 'archived' && $status ne 'resolved')); [...] ><%loc($status)%> % } [...] The current status would not be the only factor to determine possible next ones, but at least we can prevent obvious errors, like going back from 'open' to 'new'. So far it seems to be working, HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL PO Box 11 - Viale Pasteur 10 20014 Nerviano Italy tel +39 0331581477 fax +39 0331581456 -- > Message: 1 > Date: Thu, 29 Jan 2009 18:29:43 +0100 > From: Yves-Alexis Perez > Subject: [rt-users] Prevent status change? > To: RT-Users@lists.bestpractical.com > Message-ID: <1233250184.13586.20.ca...@miria> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > I would like to ask if it sounds possible to implement some kind of basic > workflows in RT (3.8), especially preventing some status changes. > > We are currently designing a hotline/helpdesk, and we need some people not > to be able to change the status of some tickets. Because the workflow we > want to implement say it's not possible to go from open to resolved > directly, or stuff like that. > > Basically, I'd like to be able to configure RT and tell it which transitions > are authorized and which ones aren't, but it doesn't seem possible atm. [...] ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] How to prevent entering a DueDate in the past
Hello, has somebody put in place a mechanism to block entering a value in the past for the "DueDate" field? Thanks a lot in advance, Gabriele Franzini Nerviano Medical Sciences - Italy ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Search for logged-in user as requestor
Hello,Justin, I use in similar saved searches for V3.8.1 the clause: Owner.Id = '__CurrentUser__' so maybe Requestor.Id would do? HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL 20014 Nerviano Italy - >Message: 1 >Date: Wed, 7 Jan 2009 09:43:12 + >From: Justin Hayes >Subject: [rt-users] Search for logged-in user as requestor > >Hi, > >I would like to be able to create saved searches that will find tickets where the logged in user is the Requestor. > >This is easy for Owner as you can use Owner = '__CurrentUser__'. > >Is there a way to do this for Requestor though? I tried Requestor = >'__CurrentUser__' but that doesn't work. > >I found this on the wiki, but that only seems to apply to RT2: > >http://wiki.bestpractical.com/view/CurrentUserEmail > >Any help much appreciated!! > >Justin ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] CALLING EXTERNALAUTH TESTERS - v0.07_01 nowavailable
Hello, V0.07_01 is working for us for authentication with MSFT AD, after installing it on top of 0.06. New users can log in and get "autocreated" properly. Thanks a lot to all developers for the quick solution. This is what we added to RT_SiteConfig.pm, in case it may help someone else: - # Config per LDAP Authentication Set( @Plugins, qw(RT::Authen::ExternalAuth) ); ### LDAP Settings # Set($WebExternalAuth , 1); Set($WebFallbackToInternalAuth , 1); Set($ExternalAuthPriority, [ 'AD_LDAP' ] ); Set($ExternalInfoPriority, [ 'AD_LDAP' ] ); Set($ExternalServiceUsesSSLorTLS,0); Set($AutoCreateNonExternalUsers,1); Set($ExternalSettings, { # AN EXAMPLE LDAP SERVICE 'AD_LDAP' => { ## GENERIC SECTION # The type of service (db/ldap/cookie) 'type' => 'ldap', # Should the service be used for authentication? 'auth' => 1, # Should the service be used for information? 'info' => 0, # The server hosting the service 'server'=> '', ## SERVICE-SPECIFIC SECTION # If you can bind to your LDAP server anonymously you should # remove the user and pass config lines, otherwise specify them here: # # The username RT should use to connect to the LDAP server 'user' => '', # The password RT should use to connect to the LDAP server 'pass'=> '', # # The LDAP search base 'base' => 'ou=,dc=nervianoms,dc=com', # The filter to use to match RT-Users 'filter'=> '(&(objectCategory=person)(objectClass=user))', # The filter that will only match disabled users 'd_filter' => '(&(objectCategory=person)(objectClass=user) (userAccountControl:1.2.840.113556.1.4.803:=2))', # Should we try to use TLS to encrypt connections? 'tls' => 0, # What other args should I pass to Net::LDAP->new($host,@args)? 'net_ldap_args' => [version => 3 ], # Does authentication depend on group membership? What group name? #GV#'group' => 'GROUP_NAME', # What is the attribute for the group object that determines membership? #GV#'group_attr'=> 'GROUP_ATTR', ## RT ATTRIBUTE MATCHING SECTION # The list of RT attributes that uniquely identify a user 'attr_match_list' => ['Name', 'EmailAddress', 'RealName' ], # The mapping of RT attributes on to LDAP attributes 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'ExternalAuthId' => 'sAMAccountName', } } } ); ### Fine config per LDAP authentication... -- Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL PO Box 11 - Viale Pasteur 10 20014 Nerviano Italy ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT::Authen::ExternalAuth v0.06 Released - Includes3.8.x
Hello, Testing 0.06 on RT 3.8.1, we are observing the same behaviour as Sean when a new user tries to log in. The error message is: Can't call method "SetDisabled" on an undefined value at /opt/rt3pst/bin/../lib/RT/User_Overlay.pm line 1087. And the corresponding rows in the log are: Nov 4 12:06:15 socrate RT: Transaction->Create couldn't, as you didn't specify an object type and id (/opt/rt3pst/bin/../lib/RT/Record.pm:1439) Nov 4 12:06:15 socrate RT: Couldn't get principal for not loaded object (/opt/rt3pst/bin/../lib/RT/User_Overlay.pm:1113) Nov 4 12:06:15 socrate RT: RT::User::IsExternalPassword External Auth OK ( AD_LDAP ): franzga0 (/opt/rt3pst/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm: 281) Nov 4 12:06:15 socrate RT: Autocreated authenticated user franzga0 ( 52 ) (/opt/rt3pst/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/Externa lAuth/autohandler/Auth:64) Nov 4 12:06:15 socrate RT: No principal for user #52 (/opt/rt3pst/bin/../lib/RT/User_Overlay.pm:1120) Nov 4 12:06:21 socrate RT: No principal for user #52 (/opt/rt3pst/bin/../lib/RT/User_Overlay.pm:1120) Nov 4 12:06:21 socrate RT: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3pst/bin/../lib/RT/Group_Overlay.pm:1031) Nov 4 12:06:21 socrate RT: No principal for user #52 (/opt/rt3pst/bin/../lib/RT/User_Overlay.pm:1120) Nov 4 12:06:21 socrate RT: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3pst/bin/../lib/RT/Group_Overlay.pm:1031) Thanks a lot, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL PO Box 11 - Viale Pasteur 10 20014 Nerviano Italy tel +39 0331581477 fax +39 0331581456 - Sean McCreadie wrote: > Mike, > > Thank you for looking at my problem. I disabled the log stack traces > as you suggested and attached the new log file. Now I can see that it > is indeed authenticating my test user "Joe User" with my AD. The > attached log file contains the results of first logging in > successfully as root and then as Joe User. When I try to login as the > AD user in the web UI I get the following error in the browser: > > > Can't call method "SetDisabled" on an undefined value at > /opt/rt3/bin/../lib/RT/User_Overlay.pm line 1087, line 514. It's a bit unusual. It seems that either the Autocreation is trying to re-use a principleID that already exists for the user, or for some reason it's creating the principle as a group instead of a user. Walking through the log: [Mon Nov 3 14:22:48 2008] [debug]: RT::User::IsPassword External auth SUCCEEDED (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:360 ) ExternalAuth checked your external source and is happy to allow access as the user provided. [Mon Nov 3 14:22:48 2008] [info]: Autocreated authenticated user juser ( 14 ) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu th/autohandler/Auth:64) Because no principle exists with that username, a user is being autocreated by RT and it has been assigned the principleID (i.e. userID/groupID) 14. [Mon Nov 3 14:22:48 2008] [debug]: LDAP Search === Base: dc=canyonpartners,dc=local == Filter: (&(objectClass=*)(sAMAccountName=juser)) == Attrs: l,cn,st,mail,sAMAccountName,co,streetAddress,postalCode,telephoneNumber, sAMAccountName,physicalDeliveryOfficeName,sAMAccountName (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:853 ) Information about the user is being looked up in your specified info database for importing into RT. [Mon Nov 3 14:22:48 2008] [debug]: LDAP Search === Base: dc=canyonpartners,dc=local == Filter: (&(objectClass=*)(userAccountControl:1.2.840.113556.1.4.803:=2)(sAMAccou ntName=juser)) == Attrs: uid (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:893 ) RT is now looking to see if any results are returned when combining a search for the user specified and a search for disabled users. If a result is returned, the user should be set disabled, if not the user should be set enabled. In both cases, the method SetDisabled is used, just with different params for enable or disable. [Mon Nov 3 14:22:48 2008] [crit]: User #14 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) Critical failure. RT is trying to use the SetDisabled method to make sure the user is enabled, but for some reason, the account with principleID 14 is not a User object, it is a Group object, and you cannot use RT::User::SetDisabled on a group, therefore RT d
Re: [rt-users] CreateChildTicket (Mathew)
It worked for us as per the first wiki example. Could not get the second one to work. # Put this in the file [RT Root]/local/html/Callbacks/MY_CUST_FOLDER/Ticket/Display.html/BeforeShow History # (replace MY_CUST_FOLDER with your value) # and it will create ugly button to create a child ticket in another queue # - <& /Elements/SelectQueue, Name => 'Queue', %ARGS, ShowNullOption => 0, ShowAllQueues => 0 &> <%INIT> <%ARGS> $Ticket => undef $Verbose => 0 $Default => 0 HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL Viale Pasteur 10 20014 Nerviano Italy tel +39 0331581477 fax +39 0331581456 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Page Break problems in printing Tickets (version 3.6.4)
Hi, When we try printing a displayed ticket longer than a page, the box that happens to be at the bottom of the printed page is garbled (missing lines, last line shown only half etc.) and also next page is missing content. Depending on the content of the ticket, the last box on the page is either the "Custom Fields" or the "History" section, and they behave the same. Also, this happens both with IE6 and Firefox as the browser. Does somebody have some hint if changing any settings, e.g. in the html/NoAuth/css/print.css stylesheet, helps to have a clean page break in these sections? Thanks a lot in advance, Gabriele Franzini Nerviano Medical Sciences SRL Nerviano Italy ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users SAVE THOUSANDS OF DOLLARS ON RT SUPPORT: If you sign up for a new RT support contract before December 31, we'll take up to 20 percent off the price. This sale won't last long, so get in touch today. Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745. Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com