Using Samba on ISPConfig 3

After installing samba, take the following steps to add a samba share for a user.

1.  In ISPConfig admin, click sites, select the domain and add a shell user.  Note the password.

2.  Add an appropriate config to /etc/samba/smb.conf

Example Data:
Client Name: someclient
Domain Name:  example.com
Directory for example.com:  /var/www/clients/client2/web2/web
Shell username:  example_s1

[SHARENAME]
comment = example.com home directory
path = /var/www/clients/client2/web2/web
public = no
writable = yes
allows_users = example_s1
write list = +client2
browsable = yes

3.  From a command prompt, add the user with this command and supply the password:


smbpasswd -a example_s1