[Samba] How to add initial users

John H Terpstra jht at samba.org
Fri Aug 1 19:45:48 GMT 2003

On Fri, 1 Aug 2003, Howard Miller wrote:

> I have set up mysql to store my encrypted passwords. The initial table is of course empty.
> My question is how do I add users. I cannot seem to use  "net user add", as it asks me for a
> password, and of course there are no users in the database to verify against...
> What must I do to get started.... or... am I being REALLY stupid??

smbpasswd -a 'username'

- John T.
John H Terpstra
Email: jht at samba.org

More information about the samba mailing list