[Samba] creating user problems under samba 3

John H Terpstra jht at Samba.Org
Fri Apr 15 19:28:53 GMT 2005

On Friday 15 April 2005 13:15, Victor Medina wrote:
> Hi all!!
> I am using Samba 3 (3.0.4) and SuSE SLES 9. I am having troubles trying
> to create new users and machines accounts on the newly created domain.
> Could somebody answer me why i am receiving this error messages?

The problem could be caused by a large number of possible factors.

Send me the output of: testparm -s

Also, have you followed the Samba documentation? The best document for 
comparing your configuration with the official recommendations is the book 
"Samba-3 by Exampe" available from Amazon.Com or by downloading from:


This book is currently being updated. All my test work is done with SLES 9.

- John T.

> linuxserv:~ # smbpasswd -m -a testmachine
> Failed to initialise SAM_ACCOUNT for user testmachine$.
> Failed to modify password entry for user testmachine$
> linuxserv:~ # smbpasswd -a testmachine
> New SMB password:
> Retype new SMB password:
> tdb_update_sam: Failing to store a SAM_ACCOUNT for [testmachine] without
> a primary group RID
> Failed to add entry for user testmachine.
> Failed to modify password entry for user testmachine
> Thanxs in advance
> Victor

John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.

More information about the samba mailing list