Comments on Debian Wheezy Samba Standalone Server With tdbsam Backend
Debian Wheezy Samba Standalone Server With tdbsam Backend This tutorial explains the installation of a Samba fileserver on Debian Wheezy and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access.
4 Comment(s)
Comments
There is no reason to un-comment "#security = user" as it's in the defaults. Remember smb.conf is not the samba config file it's a file used by the administrator to override and add to the default configuration. Smb.conf even tells you that in the file itself:
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
It works fine for me.
I needed to add my exisiting USER to the group USERS
in /etc/group
I missed 'smbpasswd -a username' command.
As soon as I added the user .. things worked perfectly.
In my case (Debian Wheezy), I had the following error message:
-bash: smbpasswd: command not found
I solved this issue by installing the samba-common-bin:
apt-get install samba-common-bin
Then, smbpasswd started to work :-)