Displaying 9 results from an estimated 9 matches for "add_groups".
Did you mean:
add_group
2013 Dec 17
2
Setting up a lustre zfs dual mgs/mdt over tcp - help requested
Hi all,
Here is the situation:
I have 2 nodes MDS1 , MDS2 (10.0.0.22 , 10.0.0.23) I wish to use as
failover MGS, active/active MDT with zfs.
I have a jbod shelf with 12 disks, seen by both nodes as das (the
shelf has 2 sas ports, connected to a sas hba on each node), and I
am using lustre 2.4 on centos 6.4 x64
I have created 3 zfs pools:
1. mgs:
# zpool
2004 Feb 25
1
More on etc and other stuff
I seem to have gotten the bugs worked out of win32-etc. It seems it had
to do with using WCHAR vs LPWSTR. Once I used AllocWideLString() vs
AllocWideString() everything seemed to work ok.
One question I have now is this - should I always use AllocWideLString()
instead of casting like (LPCWSTR)STR2CSTR(rbVal); ? It would seem so,
but I''m not sure.
Also, I''ve committed the
2006 Apr 26
2
Multiple Select example?
I''ve been trying to sort out a multiple select dropdown but haven''t
found any good examples - anyone know of any or perhaps could make a
suggestion [see below]
Model:
1. Task AR has_many users
2. User AR belongs_to task
login/password attributes
Controller:
View:
<%= collection_select("task", "users" , @users, "id", "login", {},
2007 Sep 14
4
Refactoring ActiveRecord's private methods
As it currently stands, ActiveRecord has alot of private and protected
methods in the Base class.
>> ActiveRecord::Base.methods.size
=> 427
>> ActiveRecord::Base.protected_methods.size
=> 32
>> ActiveRecord::Base.private_methods.size
=> 193
I really loved the suggestion by Courtenay in Refactoring
AR::Base.find (http://groups.google.com/group/rubyonrails-core/
2006 Mar 10
0
Design question
Where would people put the actions for the following scenario? I have
three models: users, messages and permissions. Certain users can see
certain messages that are left, thanks to the permissions table (which
simply links user_id to message_id).
I currently have three controllers:
Login: login, logout, add_user (etc)
Messages: for the users
Admin: for the administrator, add_message,
2004 Mar 01
0
RE: win32etc test failure
Yep, I agree. Well, what would you prefer? I handle it for you or you
handle it yourself? I''m tempted to go with the former because, well,
it''s been there for a while now. I can even use strtok to detect if
''\\\\'' is at the beginning of the string and add them only if not found.
I''ll have to take a look at delete user - it worked for add_user,
2004 Mar 01
0
RE: win32etc test failure
Ok - time for me to patch and update the docs! Thanks for the testing!
Dan
-----Original Message-----
From: Date, Shashank [Non-Employee]
[mailto:Shashank.Date@mail.sprint.com]
Sent: Monday, March 01, 2004 10:02 AM
To: Berger, Daniel
Subject: RE: win32etc test failure
I like your approach better: allow me to be lazy (so I am not _forced_
to give it) but forgive me if I do ;-)
It worked
2004 Mar 01
0
RE: win32etc test failure
For delete_user, try this patch:
etc.c, line 639:
- lpHost = (LPCWSTR)STR2CSTR(rbHost);
+lpHost = AllocWideLString(rbHost);
Lemme know how it goes.
Dan
-----Original Message-----
From: win32utils-devel-bounces@rubyforge.org
[mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of
win32utils-devel@rubyforge.org
Sent: Monday, March 01, 2004 10:02 AM
To: Date, Shashank [Non-Employee]
Cc:
2004 Mar 01
0
RE: win32etc test failure
Excellent! Like I said, I really need to do some code cleanup. I''ll
also be adding the config_group and config_user methods :)
Dan
-----Original Message-----
From: Date, Shashank [Non-Employee]
[mailto:Shashank.Date@mail.sprint.com]
Sent: Monday, March 01, 2004 10:19 AM
To: Berger, Daniel
Subject: RE: [Win32utils-devel] RE: win32etc test failure
That worked !
Now everything is