[Samba] not able to add machines on FreeBSD 4.7

Brandon Hagedorn bhagedor at iastate.edu
Sun Mar 9 23:46:23 GMT 2003


I fixed my own problem.  Was very stupid of me not to use the command
"vipw"
I was editing the password files with "vi"
Thanks all for contributing to the list!

-----Original Message-----
From: samba-bounces+bhagedor=iastate.edu at lists.samba.org
[mailto:samba-bounces+bhagedor=iastate.edu at lists.samba.org] On Behalf Of
Brandon Hagedorn
Sent: Sunday, March 09, 2003 5:23 PM
To: samba at lists.samba.org
Subject: [Samba] 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:/dev/null:false

rich$:*:205:201::0:0:Machine account for Rich's laptop:/dev/null:false

mary$:*:207:201::0:0:Machine account for Mac:/dev/null:false

fred$:*:208:201::0:0:Machine account for Fred's Laptop:/dev/null:false

duffy$:*:209:201::0:0:Machine account for Mike's Desktop:/dev/null:false

dakine$:*:210:201::0:0:Machine account for Brandon's
machine:/dev/null:false

image$:*:211:201::0:0:Machine account for Image computer:/dev/null:false

buck$:*:212:201::0:0:Machine account for Another
computer:/dev/null:false

 

 

            Then, I proceeded to the next command to add the samba
machine account

            smbpasswd -a -m sclepy

 

this is the error I get ..

 

User sclepy$ does not exist in system password file (usually
/etc/passwd). Cannot add account without a valid local system user.

Failed to modify password entry for user sclepy$

 

 

Why is this happening..??

 

 

 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list