sambaサーバ構築 その2 | ぼぶろぐ

ぼぶろぐ

以前は、あいらぶLinux♪というタイトルでしたが、
最近はLinux以外のことも書いているので、タイトルを変更しました。
ぼぶちゃんのぶろぐでぼぶろぐです。

◆sambaサーバ構築その2

昨日のつづきです。
設定はこんな感じに変更しました。


[root@hackerbobchan samba]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
dos charset = CP932
unix charset = CP932
display charset = CP932
server string = Samba Server Version %v
map to guest = Bad User
passdb backend = tdbsam
load printers = No
hosts allow = 127., 192.168.11.
cups options = raw

[homes]
comment = Home Directories
path = %H/samba
read only = No
browseable = No
vfs objects = recycle
recycle:exclude = *.tmp ~$*
recycle:maxsize = 0
recycle:touch = no
recycle:versions = yes
recycle:keeptree = no
recycle:repository = .recycle

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[public]
comment = Public Stuff
path = /home/samba
read only = No
guest only = Yes
guest ok = Yes
vfs objects = recycle
recycle:exclude = *.tmp ~$*
recycle:maxsize = 0
recycle:touch = no
recycle:versions = yes
recycle:keeptree = no
recycle:repository = .recycle
[root@hackerbobchan samba]# smbstatus

Samba version 3.0.33-3.15.el5_4.1
PID Username Group Machine
-------------------------------------------------------------------
4205 fedora fedora pc (192.168.11.2)

Service pid machine Connected at
-------------------------------------------------------
IPC$ 4205 pc Sun Feb 21 15:09:43 2010
public 4205 pc Sun Feb 21 15:09:11 2010

Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
4205 99 DENY_NONE 0x100001 RDONLY NONE /home/samba . Sun Feb 21 15:09:44 2010

※ちゃんとwindowsから接続できてます。