Configuring Samba: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
(Created page with "{{howto_header}}")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{howto_header}}
{{howto_header}}
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

Latest revision as of 20:02, 12 August 2015

 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