Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba machine account

Status
Not open for further replies.

therealtalkinggoat

IS-IT--Management
Jul 9, 2003
32
US
i seem to be having trouble creating a machine account using smbpasswd -am beta it tells me "failed to initialise SAM_ACCOUNT for user beta$" and "failed to modify password entry for beta$" what is going on?
 
try:

smbpasswd -a -m beta

if that does not work:

passwd -l beta$

then the line above, and if that fails you, you need to add the machine to the users list:

/usr/sbin/useradd -g machines -d /dev/null -c beta -s /bin/false beta$

this will only work if the machines group has been created.

Give it a go, the worse that could happen is you may need to re-install linux.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top