[Samba] not able to add machines on FreeBSD 4.7

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


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:



            I have added all of my machine accounts in to /etc/passwd as


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

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

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

buck$:*:212:201::0:0:Machine account for Another



            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..??




More information about the samba mailing list