Samba Server Support

Email us for your samba server support:

Email us at admin@serversignature.com, for support we make a serious effort to respond to emails.

--

Below method shows how to setup your samba server.

Samba Setup in quick steps with selinux running.

Example step which you can modify according to your needs.

1. Install samba, samba-common, and samba-client
2. mkdir /myshare as the root user
3. Run touch /myshare/file1
4. SELinux allows Samba to read and write to files labeled with the samba_share_t type, as long as /etc/samba/smb.conf and Linux permissions are set accordingly
5. semanage fcontext -a -t samba_share_t "/myshare(/.*)?"
6. Run restorecon -R -v /myshare as the root user to apply the label changes:

7. Edit /etc/samba/smb.conf
[myshare]
comment = My share
path = /myshare
public = yes
writeable = no

8. A Samba account is required to mount a Samba file system.
9. smbpasswd -a testuser
10. Run smbclient -U username -L localhost to list the available shares.
11. Run mkdir /test/ as the root user to create a new directory.
12. As the root user to mount the myshare Samba share to /test/
13. Run ls /test/