search for: tickets

Displaying 20 results from an estimated 8235 matches for "tickets".

Did you mean: ticket
2007 Aug 17
11
[rspec] looking for a simple refresher
I''ve been off the rspec for a few months and I''m trying to get back on it. 1) Spec::Mocks::MockExpectationError in ''TicketsController handling POST /tickets should create a new ticket'' Mock ''Ticket_1001'' expected :new with ({}) once, but received it 0 times ./spec/controllers/tickets_controller_spec.rb:16: script/spec:4: class TicketsController < ApplicationController def new Ticket...
2006 Apr 26
10
save new model with child model
Hi, I am having a problem saving a new model that has an associated child model. If a new ticket is being created and will have one comment to go with it then I tried this in my action @ticket = Ticket.new(params[:ticket]) @comment = Comment.new(params[:comment]) @ticket.comments << @comment if @ticket.save @notice = "Ticket added. Thanks for
2007 Aug 21
2
using restful_authentication current_user inside controller specs
...equired around_filter :set_timezone around_filter :catch_errors Currently I have them commented out while rspec''in but I''ll need to add them in my specs. def create @ticket = Ticket.new(params[:ticket]) @ticket.user = current_user if @ticket.save redirect_to tickets_path else render new_ticket_path(params[:user_id]) end end describe TicketsController, "handling POST /tickets" do before do @ticket = mock_model(Ticket, :save => true) @current_user = mock_model(User) @params = {} end def do_post post :cre...
2007 Jun 14
1
rspec will_paginate
Hi Rspec-Users, I''m not sure if I am correctly specing my index since I''m using will_paginate. params[:filter_by] will filter the paginate list accordingly. Tickets Controller: def index @tickets = Ticket.filter_status_by(params[:filter_by],params[:page]) end Ticket Model: def self.filter_status_by(status, page, per_page = 10) conditions = {:status => false} if status == "unsolved" conditions = {:status => true} if status == "solv...
2006 May 11
1
newbie question reguarding kerberos tickets
I recently joined a samba 3.0.22 server to AD. When I did the kinit, the AD gave me a 24 hour ticket with a 1 week renewal. Setting -r and -l to 365d did not change anything, the ticket still came back the same. However, my question is in reguard to whether this is really even needed? First, I deleted the ticket, and everything seemed to continue to work perfectly. Now, I let the ticket expire
2006 Jun 16
0
Polling pop3 and adding emails to ticket system
...the ticket system. but all i get is error, can somebody enlighten me? class IncomingMail < ActionMailer::Base def receive(email) @ticket = Ticket.new @ticket.name = email.from[0] @ticket.title = email.subject @ticket.description = email.body @ticket.save end end class TicketsController < ApplicationController def index list render :action => ''list'' end # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html) verify :method => :post, :only => [ :destroy, :create, :update ], :redirect_to => {...
2020 Sep 30
2
Kerberos ticket lifetime
...ticket_lifetime or whether winbind will? renew the ticket until the expiry time automatically (and hence the ticket lifetime isn't such a big deal).?? Note that in the man page for pam_winbind.conf, krb5_auth option says: "When this parameter is used in conjunction with winbind refresh tickets, winbind will keep your Ticket Granting Ticket (TGT) uptodate by? refreshing it whenever necessary. Defaults to "no".? However, there's no option "winbind refresh tickets" in the man page.? There's not an entry for it in examples/pam_winbind/pam_winbind.conf in the s...
2020 Sep 30
3
Kerberos ticket lifetime
...gt;> >>> I also don't see gensec_gssapi mentioned at all in the smb.conf man page at least for the version that we are running... >> >> How do you know it is not working? If you set the log level to 7, watch the log.wb-* files for lines like: >> >> Current tickets expire in 2187 seconds (at 1577548806, time is now 1577546619) >> >> How do you determine what the ticket life time is? >> >> >> -Remy >> >> >> P.S. refer to https://forums.freebsd.org/threads/winbind-ad-dropping-every-10-hours.70752/ <https:/...
2020 Oct 02
5
Kerberos ticket lifetime
On 02/10/2020 13:24, Jason Keltz via samba wrote: > Hi Louis, > > I had already done that at one point. > > My pam_winbind is already working.? I can SSH to the system, and I get > a proper ticket.? My only issue is that it doesn't refresh the ticket > before expiry when I ssh to a system.? I think I can script around > that and just not rely on winbind to do it.
2020 Jul 03
3
Kerberos ticket maximum renewable lifetime
Am 03.07.20 um 13:05 schrieb Rowland penny via samba: > On 03/07/2020 11:33, Stefan Just via samba wrote: >> We are using tmux, screen and x2go to run long-running jobs on our >> compute servers. $HOME and other data should be mounted via CIFS or >> NFS4. Because such a job can run for more than a week, I would like to >> increase the Kerberos ticket lifetime or better
2020 Oct 01
2
Kerberos ticket lifetime
...;>> On 01/10/2020 13:17, Jason Keltz via samba wrote: >>>>>> So why is it that winbind renews the ticket on the original >>>>>> system, but on the system that I ssh to, it does not. >>>>> >>>>> Do you have 'winbind refresh tickets = yes' set on all the systems ? >>>> >>>> Absolutely.? In fact,? both systems are using the identical >>>> smb.conf, identical PAM configuration, and idential pam_winbind.conf. >>>> >>>> Jason. >>>> >>>> >&g...
2020 Sep 30
2
Kerberos ticket lifetime
...ill? renew the ticket until >> the expiry time automatically (and hence the ticket lifetime isn't >> such a big deal).?? Note that in the man page for pam_winbind.conf, >> krb5_auth option says: "When this parameter is used in conjunction >> with winbind refresh tickets, winbind will keep your Ticket Granting >> Ticket (TGT) uptodate by? refreshing it whenever necessary. Defaults >> to "no".? However, there's no option "winbind refresh tickets" in the >> man page.? There's not an entry for it in >> examples/p...
2015 Feb 09
2
[PATCH V2] x86 spinlock: Fix memory corruption on completing completions
Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(&lock->tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */ if (unlikely(lock->tickets.tail & TICKET_SLOWPATH_FLAG)) __ticket_unlock_slowpath(lock, prev); which is *exactly* the kind of things you cannot do with spinlocks, because after...
2015 Feb 09
2
[PATCH V2] x86 spinlock: Fix memory corruption on completing completions
Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(&lock->tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */ if (unlikely(lock->tickets.tail & TICKET_SLOWPATH_FLAG)) __ticket_unlock_slowpath(lock, prev); which is *exactly* the kind of things you cannot do with spinlocks, because after...
2020 Oct 01
2
Kerberos ticket lifetime
On 10/1/2020 4:10 PM, Rowland penny via samba wrote: > On 01/10/2020 20:47, Jason Keltz via samba wrote: >> >> Hi Rowland, >> >> In my case, I think I may know why pam_winbind is not renewing the >> ticket before it expires. >> > I don't think it matters about the extra characters in the ticket > name, I think the ticket search looks for a ticket
2015 Feb 15
7
[PATCH V5] x86 spinlock: Fix memory corruption on completing completions
Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(&lock->tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */ if (unlikely(lock->tickets.tail & TICKET_SLOWPATH_FLAG)) __ticket_unlock_slowpath(lock, prev); which is *exactly* the kind of things you cannot do with spinlocks, because after y...
2015 Feb 15
7
[PATCH V5] x86 spinlock: Fix memory corruption on completing completions
Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(&lock->tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */ if (unlikely(lock->tickets.tail & TICKET_SLOWPATH_FLAG)) __ticket_unlock_slowpath(lock, prev); which is *exactly* the kind of things you cannot do with spinlocks, because after y...
2006 Jan 20
10
Generating a long, unique "ticket" number.
Hello -- I would like to setup a system where a user can generate a "ticket". This ticket will be stored indefinitely. The ticket will be sent to someone who does not have an account on the system and therefore, I would like to ensure some level of security in that ticket number. Basically, the other user would receive an email like: --- Please click on the link below to view this
2006 Jan 27
2
DB & AR advise please (diagram inc)
Hi, Being new to Rails and Active record could someone please check my database diagram: http://spectrais.com//images/0.png I am building a trouble ticket system for my company. Simply put a client has many users. Those users can create trouble tickets. Each trouble ticket can have many journals that track the progress of the ticket. An employee (of our company) can take ownership of a trouble ticket to solve the problem. As you can see from the diagram the employees and users table looks identical. Is this something that I can acomplish wit...
2020 Oct 01
2
Kerberos ticket lifetime
...api mentioned at all in the smb.conf >>>>> man page at least for the version that we are running... >>>> How do you know it is not working? If you set the log level to 7, >>>> watch the log.wb-* files for lines like: >>>> >>>> Current tickets expire in 2187 seconds (at 1577548806, time is now >>>> 1577546619) >>>> >>>> How do you determine what the ticket life time is? >>>> >>>> >>>> -Remy >>>> >>>> >>>> P.S. refer to >>&g...