Configuring Samba

From Alteeve Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

 AN!Wiki :: How To :: Configuring Samba

This document is under construction. Excuse the mess.

This document was written to assist in enabling a samba server on a Red Hat-based distribution for the purpose of using it as a destination for a BaaS application.

Configuring Samba on Centos 6.6

sudo yum install samba samba-client samba-common

smbd --version to check installed version

sudo chkconfig smb on sudo chkconfig nmb on

IF SELINUX, check the default config file for enforcement change

IF IPTABLES

on the client net config workstation to locate your windows workgroup

create backup user and destination?

BACKUP ORIGINAL SAMBA CONFIG create a fresh config, as the default configuration is messy and has many unneeded arguments

[global]
 workgroup = WORKGROUP
 security = user
[NameOfShare]
 path = /path/to/share
 browsable = yes
 writable = yes
 guest ok = ?
 read only = no

sudo service smb restart && sudo service nmb restart

smbpasswd -a BackupUser

share should be accessible