關於samba設定問題 - Linux

Table of Contents

※ 引述《AllenKao (我愛唱歌(照))》之銘言:
: ※ 引述《AllenKao (我愛唱歌(照))》之銘言:
: : 你好
: : 小弟最近開始玩linux, 使用 fedora12
: : 有一些samba設定相關問題
: : 以下是我的設定
: : [global]
: : workgroup = WORKGROUP
: : server string = Samba Server Version %v
: : display charset = cp950
: : dos charset = cp950
: : unix charset = cp950
: : netbios name = fedora
: : [allen]
: : path = /home/allen
: : writeable = yes
: : guest ok = yes
: : smbpasswd -a allen
: : 防火牆用UI打開了, /etc/init.d/smb restart 也都 OK
: : 用 smbclient測試, server 跟 workgroup 都無法顯示出來
: : smbclient -L 192.168.101.133
: : Enter root's password:
: : Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.5-55.fc12]
: : Sharename Type Comment
: : --------- ---- -------
: : allen Disk
: : IPC$ IPC IPC Service (Samba Server Version 3.4.5-55.fc12)
: : root Disk Home Directories
: : Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.5-55.fc12]
: : Server Comment
: : --------- -------
: : Workgroup Master
: : --------- -------
: : 從windows網芳也看不見
: : 請問這是什麼原因呢?
: : 謝謝
: 補充一下
: 我是用 VM 開兩個 OS
: 我的是 fedora12. IP 192.168.101.133
: 另一個是別人安裝設定好的 ubuntu IP 192.168.101.134
: 兩個OS 互相 ping 的到對方
: 從 fedora12 smbclient -L 192.168.101.134 可以測試成功
: 從 windows xp 網芳可以看見 ubuntu 的分享檔案
: 從 ubuntu smbclient -L 192.168.101.133 失敗
: timeout connecting to 192.169.101.133:445
: timeout connecting to 192.169.101.133:139
: windows xp 網芳也看不見 fedora
: 有點麻煩
: 謝謝

testparm顯示結果

Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[allen]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
dos charset = cp950
unix charset = cp950
display charset = cp950
netbios name = FEDORA
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
cups options = raw

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

[allen]
path = /home/allen
valid users = allen
read only = No


謝謝

--

All Comments

Rosalind avatarRosalind2010-02-19
hosts allow 有設嗎?
Elvira avatarElvira2010-02-20
本機用Client連自己看看 localhost
Audriana avatarAudriana2010-02-24
hosts沒設到 我試試看
Hamiltion avatarHamiltion2010-02-28
本機連自己, 可以看到sharename, 看不到server
Cara avatarCara2010-03-04
也看不到 workgroup
Mary avatarMary2010-03-09
我看到你第一個文...你smbpasswd -a allen
Ula avatarUla2010-03-13
但是你用root的身分去連?
smbpasswd -a root吧...
Daph Bay avatarDaph Bay2010-03-14
or -U allen
Annie avatarAnnie2010-03-18
root試過了, 結果跟 allenㄧ樣><
Lauren avatarLauren2010-03-20
[danny] 裡面如果加public 跟browsable屬性呢?