關於samba設定問題 - Linux
By Aaliyah
at 2010-02-16T21:04
at 2010-02-16T21:04
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
謝謝
--
: ※ 引述《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
謝謝
--
Tags:
Linux
All Comments
By Rosalind
at 2010-02-19T23:19
at 2010-02-19T23:19
By Elvira
at 2010-02-20T01:49
at 2010-02-20T01:49
By Audriana
at 2010-02-24T16:00
at 2010-02-24T16:00
By Hamiltion
at 2010-02-28T10:27
at 2010-02-28T10:27
By Cara
at 2010-03-04T16:14
at 2010-03-04T16:14
By Mary
at 2010-03-09T02:19
at 2010-03-09T02:19
By Ula
at 2010-03-13T16:36
at 2010-03-13T16:36
By Daph Bay
at 2010-03-14T11:35
at 2010-03-14T11:35
By Annie
at 2010-03-18T12:03
at 2010-03-18T12:03
By Lauren
at 2010-03-20T15:05
at 2010-03-20T15:05
Related Posts
關於samba設定問題
By Margaret
at 2010-02-16T19:01
at 2010-02-16T19:01
想要使用crontab來每天執行
By Anthony
at 2010-02-16T18:46
at 2010-02-16T18:46
想要使用crontab來每天執行
By Hedda
at 2010-02-16T16:50
at 2010-02-16T16:50
抓不到網卡及驅動安裝失敗
By Edith
at 2010-02-16T14:17
at 2010-02-16T14:17
wine要怎麼恢復到應用程式路徑
By Hamiltion
at 2010-02-16T14:10
at 2010-02-16T14:10