Originally Posted by jonwatson
I use Webmin to manage the various server on my boxes and within the Samba page there are several options pertaining to syncing UNIX users and SAMBA users. I looked at my config file and the only obvious line in it the appears to deal with this situation is:
The password sync only works with syncing passwords. it won't add a user to samba when you add a user to the unix/linux system. I would edit the /usr/sbin/adduser
script, if it has one. At the very end of the script just before it exits place this:
smbpasswd -a "$LOGIN"
After the unix account had been created you will then asked for the samba password for the user. This only works if you add a user by the command line, not sure how to do this with a gui.