Displaying 20 results from an estimated 35694 matches for "accounts".
Did you mean:
account
2009 Nov 19
0
migrating NT4 PDC to samba3. netrpc vampire errors
Hi,
I am in the processof migrating a a NT4 PDC over to a samba3 server. I am
following this guide:http://vermeulen.ca/linux-windows-nt.html
I am able to join the Domain but when I go to net rpc vampire I get the
following errors:
Not all my users get transfered:
[root at HERCULES ~]# net rpc vampire -S GENOME -w HERCULES -U administrator
Fetching (to passdb) DOMAIN database
Creating unix
2006 Jan 05
3
has_one :dependent => true question
...at either the account is created and the user is
created or nothing is saved.
It seems like the only way to do this is to save the Account object then
save the User object. Is there a best practices way of doing this?
Essentially the sql you want to spit out is:
start transaction;
insert into accounts (...) values (...);
insert into users (account_id, ...) values (last_insert_id(), ...);
commit;
Thanks,
Zack
2003 Mar 09
3
not able to add machines on FreeBSD 4.7
I'm setting up a new install of samba 2.2.7a on FreeBSD 4.7
Here's a little run-through of what I have done.
I added a machine account in /etc/group as follows:
machines:*:201
I have added all of my machine accounts in to /etc/passwd as
follows:
sclepy$:*:201:201::0:0:Machine account for Sclepy:/dev/null:false
lexus$:*:202:201::0:0:Machine account for Lexus:/dev/null:false
kellogg$:*:203:201::0:0:Machine account for Kellogg:/dev/null:false
april$:*:204:201::0:0:Machine account for April's
desktop:/d...
2008 Jan 28
2
Could this controller test be made simpler?
...2"])
@account.stub!(:errors).and_return(errors)
@user.stub!(:errors).and_return(errors)
Account.stub!(:new).and_return(@account)
end
it "should re-render new template" do
post "create" #with no submitted params
response.should render_template("accounts/new")
end
# Controller code
def create
@account = Account.new(params[:account])
@user = @account.users.build(params[:user])
if verify_recaptcha(@account) && @account.save
redirect_to admin_listings_url
else
render :action => "new"
end...
2005 Dec 17
2
Subfolders in Rails applications (newbie)
...ying with Rails, I have built a couple of apps but
am still unable to get one thing to work: subfolders. (I am probably
using the wrong term here, but oh well...)
I would like my rails application to have controllers logically grouped
into folders. So for instance:
http://domain.com/accounting/accounts
http://domain.com/hr/employees
Here''s how I have tried to accomplish this:
1. Create folder ''accounting'' in /app/controllers/
2. In /app/controllers/accounting, create ''accounts_controller.rb''
class AccountsController < ApplicationController...
2013 Jun 18
3
How to add a client to a domain?
...a small domain consisting of a linux server
running samba 3.6 and one client computer running Windows 7.
I want to add another client (also running Windows 7) to the domain.
Previously adding clients has been done by manually creating a linux
machine account and samba account.
I have created the accounts for the new client but when I try to configure
it to be part of the domain a window pops up prompting for an account and
password "that can join the domain". I don't really know what to enter
here and I am unable to add the machine.
Quoting from the documentation:
http://www.samba.or...
2007 Jun 13
6
ActiveRecord query using association
...< ActiveRecord::Base
belongs_to :primary_user, :class_name =>
"User", :foreign_key => "primary_user"
end
The User model has a property "last_name" and the Account model has a
property "account_name". I want to create a query to find all
accounts by the account''s name (account.account_name) and by the
primary user''s last name (account.primary_user.last_name). Is there a
best-practice way to write a query like this?
Thanks,
Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because yo...
2006 Apr 11
5
Reading MySQL rows
Hi there,
I?m having difficulties reading the content of some rows in my database.
Tried to use some of the code at page 221 in the pickaxe, but didn?t
make it work.
The SQL query works fine directly against the database.
mysql> select id, count, company from users where name = "martin";
+----+-------+------------+
| id | count | company |
+----+-------+------------+
| 1 |
2007 Dec 04
1
spec''ing shared controller methods
...do
controller.stub!(:error_redirect_gracefully)
controller.should_receive(:error_redirect_gracefully).with
( "Account not found")
acnt = mock_model(Account)
Account.should_receive(:find_by_id).with(nil).and_return(nil)
get :foo
end
it "should not find accounts that are suspended"
it "should flash different message for accounts that are suspended"
it "should not find accounts that are closed"
end
2007 Jan 04
6
after_update attributes problem
...As
far as I can tell, when I define a after_update callback on a model,
the attributes of the object have the same values that they had
*before* Base.save was called. I''m probably wrong so here''s the code:
UNIT TEST:
def test_register_item_adjusts_account_balance
account = accounts(:cams_credit_card)
transaction = RegisterItem.new(:date => ''2006-10-31'',
:description => ''Chinese food'',
:amount => ''-13.44'')
transaction.account = account...
2008 Jan 30
2
Stubbing controller methods vs model methods
I had an error that I couldn''t figure out, then when writing up a
question for the forum I figured it out. The thing is I don''t
understand why the change that was made works and why what existed
before didn''t.
Here is the initial post when I had the error:
----------------------------------
In the controllers/application.rb file
I have a method that finds the account
2020 Feb 14
4
Setting uidNumber for machine accounts
Hello,
A user of my "adman" utility recently opened this issue [1]: "Add
support for setting uidNumber for machine account"
I was aware that computer accounts were also users in AD, but I hadn't
considered assigning a uidNumber to them. It makes sense that winbind
(in idmap="ad" mode) would not "see" the accounts with a uidNumber.
Naturally, groups of which the computer accounts are members would
need gidNumber assigned as well....
2015 Jul 03
2
Samba4 roaming profiles & ownership of profile.V2 folders
I've got roaming profiles for one account on a Debian/Jessie AD DC
server but I can't get them to work for the other accounts. The
differences are that the one account is also a Linux account in the AD
DC and is in the Domain Admins group. The other accounts were created
with ADUC on a Windows 7 machine logged in as the Domain Admins user
just mentioned. They are Domain Users but not Admins and have no
corresponding...
2002 Feb 27
5
Machine trust account reqd in 2.2.3a?
Greetings,
I was reading over the documentation online for using SAMBA as a PDC, and
in the section about creating machine trust accounts is talks about having
to add machine accounts to the /etc/passwd file. The text also mentions
that future versions of SAMBA will remove this requirement:
"Because Samba requires machine accounts to possess a UNIX uid from which
an Windows NT SID can be generated, all of these accounts mus...
2007 Sep 12
1
Clearing account lockout
I recently am migrating my PDC from NT4 to Samba 3.025. Apparently due to a
mismatch between the capitalization of the Windows account and the Unix
account (Administrator vs administrator) I managed to lock the account
before catching the discrepenacy.
# pdbedit -v administrator
Unix username: Administrator
NT username: Administrator
Account Flags: [ULX
Bad password count
2016 Oct 12
2
Samba-tool password expiration and service accounts
Initially I had set password expiration to be 6 months using samba-tool, and
used ADUC to tick the "password never expires" box on specific service
accounts that I wanted to keep with the same password. What I found was that
even with this box checked, the account's passwords did expire after 6
months.
So it seems that the password settings configured by samba-tool apply to all
accounts on the domain, including the ones I intended to use as ser...
2003 May 19
1
permission to subdirectory
Hello all,
We are new and just install RH 8.0 with samba 2.2.7-5.8.0 as our local file
server on a workgroup basis.
We are trying to create subdirectory with permission but cannot figure out the
right way. We have search the samba list for solution with no luck.
We with to create the following scenario for our account department,
Directory personnel
2008 Jun 28
19
Stopping example execution?
Hello, I''m wondering If I am missing something here when creating an example that sets an expecation at the top or beginning of an action but requires you to stub / mock everything that follows.
Example:
I want to test that a certain controller is running a before_filter...thats easy:
- controller.should_receive(:require_user)
- do_get
But now i''ve got to mock / stub
2016 Jan 11
2
Samba AD with Microsoft Account
...ed by the
>>>>>> samba
>>>>>> AD server (e.g. MYDOMAIN\MyUser). Then once logged in I attempt to
>>>>>> link an
>>>>>> existing Microsoft Account to that user profile. I do this by going to
>>>>>> Settings->Accounts->Add a Microsoft account.
>>>>>>
>>>>>>
>>>>>
>>> I think I understand now, you want to change a local profile to a domain
>>> profile (I don't think you can just link them), if so, have a look here:
>>>
>>&g...
2007 Mar 23
0
Importing accounts from NT4 domain with Vampire
Hi
I have folowed this guide
http://www.enterprisenetworkingplanet.com/netos/article.php/3457461 to
import users from my NT4 domain to a debian sarge with samba 3.0.14a
Everything runs fine till the net rpc vampire command, some users give
an error others are imported fine.
I don't see any problem on this users configuration in the NT4 server,
here is part of the output:
thanks.