Displaying 20 results from an estimated 2000 matches similar to: "Objects in Session State Revisited"
2007 Aug 14
2
Spec''ing ApplicationController
Folks,
I''d like to spec the behaviors that I''m adding to ApplicationController.
Specifically, I''m adding:
def authenticated?
session[:username] != nil
end
I described ApplicationController, but couldn''t figure out how to call the
authenticated method. I''m probably going about this quite wrongly and would
appreciate any hints?
Thanks,
Scott
--
2006 Mar 02
17
can''t get rails to connect to mySQL - HELP!!!!!!!!!
Sorry, but this is really NOT as easy as the tutorials/books make out.
I''m really struggling at the first hurdle here. And while I''m not a
programmer by design I do know my way around most stuff. And if I can''t
get this to work I suspect more people will have the same issues. There
seems to be too many variables to address.
I have winXP, I have ruby and rails all
2007 Mar 19
1
wine and Samba
Hi!
Is there a way to run Wine from a Samba connection opened in Konqueror?
When I open it via Konqueror (double-clicking=>run with=>wine), it just
opens a window and close it fastly. When I activate the 'open in
terminal' option, the terminal leaves blank.
What can I do?
Thanks.
Vinicius
2008 Jul 16
5
''$'' placeholder naming can confuse your runner
Hi guys, I''m facing a strange behavior that smells like a bug.
consider this scenario:
Scenario: I''m cool
Given that I am cool 4 times out of 7
and this step:
Given("that I am cool $n times out of $n_total") do |n, n_total|
...
end
When running my story, this step is considered as PENDING.
If I change the name of the second placeholder to $total, the step
runs
2020 May 02
4
default backend = rid not showing full group information for users
On 02/05/2020 15:07, Jelle de Jong via samba wrote:
> Am I wrong to expect that id user and getent group should list me the
> groups the user is part of.
>
> For example wbinfo --group-info=office shows me that user jdoe and
> lgaga are part of the group, but then when doing id jdoe or id lgaga
> the office group is not shown, neither in getent group.
>
> What should I
2007 Aug 10
1
Can''t get should redirect_to match to work
Folks,
I''ve posted to the simple example I''m working with as well as the spec code
and results here:
http://pastie.caboo.se/86750
I can''t seem to get this to work. Any ideas?
Thanks,
Scott
--
View this message in context: http://www.nabble.com/Can%27t-get-should-redirect_to-match-to-work-tf4251891.html#a12101072
Sent from the rspec-users mailing list archive at
2007 Oct 18
6
Bug in minimal.rb
Hi!
I discovered WxRuby2 and WxSugar a short while ago (1.9.1) and I really
like its professional look and the platform independance. But
especially the simplification and ''rubyfication'' that you already
achieved and are planning for 1.9.2 (event handlers) is funstuff!
Thanks a lot!
And with Ruby 1.9/2 the keyword constructors will be even nicer with
the new hash syntax:
2011 Aug 25
1
Question about object permanence/marshalling
Hello,
I am trying to write some code that dumps R objects to the harddisk in a binary format so they can be quickly re-used later. Goal is to save time. The objects may be quite large (e.g. classes for a GUI). I was thinking that save() and load() would be suitable for this (until now I only thought it could be used for 'real' data, e.g. matrices, data.frames etc), but I am hoping any
2020 May 02
2
default backend = rid not showing full group information for users
On 02/05/2020 18:59, Jelle de Jong via samba wrote:
> On 2020-05-02 16:42, Rowland penny via samba wrote:
>> On 02/05/2020 15:07, Jelle de Jong via samba wrote:
>>> Am I wrong to expect that id user and getent group should list me
>>> the groups the user is part of.
>>>
>>> For example wbinfo --group-info=office shows me that user jdoe and
2020 May 01
5
default backend = rid not showing full group information for users
Hello everybody,
I am trying to use the backend = rid but it is not showing me group
information of the users after adding the user to the domain groups...
What should I do to have the full group info for the users available?
https://wiki.samba.org/index.php/Idmap_config_rid
# All domain's user accounts and groups are automatically available on
the domain member.
root at s4ad01:~#
2013 May 05
5
dovecot 2.2.0 corrupts mailboxes?
Hi
On april 17th, I upgraded from dovecot 2.1.13 to 2.2.0. Since that time,
I had two different users that reported received three incident of
messages that disapeared from their mailboxes.
The mailbox format is mbox on local FFS filesystem (no NFS), and I use
filesystem quotas (but both users are far from filling their quotas).
When the message disapeared, it was always a whole rand of dates.
2008 Aug 18
3
Samba 3.0.x access rights issue with secondary groups or Unix rights
Hi experts
I have a trouble in access rights
I am running Samba
3.0.31 on Solaris 10 x86 64 bits as member server of an Active
Directory 2003 R2 domain (MYDOMAIN) using Identity Management for Unix
I set rights to access a sub folder of a Samba share. On Solaris the user
"toto" jdoe can write a new file. From Windows, the same user can't.
Itlooks like OK when the primary group
2013 Apr 29
1
quota-related crash for doveadm dsync operation
Hi
I understand the crash below is caused by filesystem quota. I just report
it because perhaps it could have a more graceful failure.
Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Error: Mailbox Sent: Saving failed: Not enough disk space
Apr 29 09:39:17 danceny syslogd[165]: last message repeated 4 times
Apr 29 09:39:17 danceny dovecot: doveadm: Error: dsync-remote(jdoe): Error: Cached
2009 Nov 24
2
SLES 10 client keeps removing and re-adding accounts to groups
SLES 10 clients keeps removing and re-adding accounts to groups.
Can''t use this product in production as a result, I''d like to use it
though.
Using clients 25.1 with master 25.1
This keeps re-occuring with every single puppet client run:
Nov 24 09:57:09 puppetd[26915]: (//unixuser/User[jdoe]/groups) groups
changed ''wheel'' to ''unixadm,wheel''
2008 Feb 20
2
Rails Edge ActiveSupport::TimeWithZone and Marshalled objects
Hello all,
I''m trying to use the new ActiveSupport::TimeWithZone from Edge. The
problem seems to be that I have a several-action process to create a
Booking. This Booking is stored in the session (session[:booking] =
@booking) throughout the actions until the last action is reached and
the record is saved to the DB.
Using TimeWithZone seems to be producing errors when trying to
2020 May 02
2
default backend = rid not showing full group information for users
On 02/05/2020 19:28, Jelle de Jong via samba wrote:
> root at s4ad01:~# samba-tool user show jdoe
There is no apparent reason why the groups do not work with chgrp, the
only reason I can think of is that the group was created and when you
tried to 'chgrp' the file, winbind read from its cache and it wasn't in
the cache. Try running 'net cache flush' and then try
2024 Jun 13
1
kerberos default_ccache_name with sssd
I have not looked at Kerberos is years. But it looks like KRB5CCNAME comes from:
https://github.com/openssh/openssh-portable/blob/master/gss-serv-krb5.c#L134-L197
But it depends on which version of Kerberos you have, and if you are also use PAM.
Google for: heimdal kerberos cache name
It looks like there is now a SSSD Kerberos Cache Manager rather then storing in individual file.
On 6/11/2024
2004 Sep 13
2
CentOS 3.1: sshd and pam /etc/security/limits.conf file descriptor settings problem
Why can't non-uid 0 users have more than 1024 file descriptors when
logging in via ssh?
I'm trying to allow a user to have a hard limit of 8192 file
descriptors(system defaults to 1024) via the following setting in
/etc/security/limits.conf:
jdoe hard nofile 8192
But when jdoe logs in via ssh and does 'ulimit -Hn' he gets '1024' as a
response. If he tries to
2013 Oct 08
1
sssd - ldap uid/gid does not match with uid/gids in the openLDAP DS
CentOS 6.4 (amd64) client desktop with SSSD installed+configured to do
LDAP AUTH from an openLDAP DS.
Groups in LDAP DS -- dsusers (for all users), project1, project2, ....
The objective is to give group permissions to directory trees with
users belonging to various groups; users thereby inheriting the ACL
given to respective groups.
Test case --
uid: jdoe,
gid: dsusers (primary)
On LDAP
2024 Jun 12
1
kerberos default_ccache_name with sssd
Just to show what i mean when i ssh into my vms, 2 vms save the cache in /tmp and the other 2 in /home. See what happens when i run the loop below:
> for i in rocky8client rocky9client rocky9server rocky8server; do /usr/bin/sshpass -p password /usr/bin/ssh -l jdoe $i "hostname; klist"; done
rocky8client.domain.net
Ticket cache: FILE:/tmp/krb5cc_2000_WP04h8h0sa
Default