A Unix account must exist. It should be noted that the passwd and shadow files must contain user accounts. When the [encrypt password] = Yes setting is enabled, accounts can be created as follows:
passwd: ... username:x:1016:100:MYGROUP User,,,:/home/user_name:/dev/null ... shadow: ... username:*:10666:0:99999:7::: ...
use smbpasswd to create an account in /usr/local/samba/private/smbpasswd
host:~#/usr/local/samba/bin/smbpasswd -a user_name Added interface ip=x.x.x.x broadcast=x.x.x.255 netmask=255.255.255.0 New SMB password: Retype New SMB password: Addedd user user_name Password changed for user user_name host:~#
activate the account (by default, the [account disabled] key is set):
host:~#/usr/local/samba/bin/smbpasswd -e user_name Added interface ip=x.x.x.x broadcast=x.x.x.255 netmask=255.255.255.0 User user_name enabled host:~#
