ホーム » Linux » CentOS smb.confの設定

CentOS smb.confの設定


--- 広告 ---
--- 広告 ---

CentOS 6.0, Samba 3.5.4

User認証なし

# -- Netwrok Related Options

workgroup = WORKGROUP
server string = Hoge Samba %v
netbios name = Hoge
unix charset = UTF-8
dos charset = CP932
hosts allow = 127. 192.168.0. 192.168.1.

# -- Standalone Server Options

security = share
guest account = nobody
guest ok = yes
username map = /etc/samba/smbusers

# -- Printing Options

load printers = no
; cups options = raw
disable spoolss = yes
printing = bsd

[Share]
comment = Share Folder
path = /home/share
browseable = yes
writable = yes
create mask = 0777
directory mode = 0777

User認証あり

# -- Netwrok Related Options

workgroup = WORKGROUP
server string = Hoge Samba %v
netbios name = Hoge
unix charset = UTF-8
dos charset = CP932
hosts allow = 127. 192.168.0. 192.168.1.

# -- Standalone Server Options

username map = /etc/samba/smbusers

# -- Printing Options

load printers = no
; cups options = raw
disable spoolss = yes
printing = bsd

sambaをインストールする
yum install samba

firewallの設定
# system-config-firewall-tui
参照URL http://kajuhome.com/security_trouble.shtml

SELinux off
/etc/sysconfig/selinux
 SELINUX=disabled

# /etc/rc.d.init.d/smb start
# /etc/rc.d/init.d/nmb start

--- 広告 ---
--- 広告 ---

 

この記事に関連する記事一覧

目 次
最近の投稿
--- 広告 ---
--- 広告 ---
お問い合わせ