SambaNotes

Useful Commands

smbstatus

List users with: pdbedit -w -L

Creating Users

Linux user must exist first:

useradd -d /home/username -s /bin/false -m username

Then:

smbpasswd -a username

Disable User

smbpasswd -d username

Delete User

smbpasswd -x username

Joining a Windows 7 Computer to a Samba Domain

Joining Windows 7 machines to a Samba domain requires a registry edit. See this article in the Samba wiki.