Configuring Samba

From AN!Wiki
Jump to: navigation, search

 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

Personal tools
Namespaces

Variants
Actions
Navigation
projects
Toolbox