歡迎您光臨本站 註冊首頁

開啟SMB后windows不可以訪問ubunut,但反之可以

←手機掃碼閱讀     火星人 @ 2014-03-26 , reply:0

裝的是ubuntu7.10,打開SMB服務后windows的網上鄰居可以看到ubuntu上共享出來的盤符,但打開不了,說是沒有許可權,但在ubuntu上可以用連接到伺服器的方式連到windows上並讀寫,下面是我的smb。conf文件的部分信息,哪位大蝦能幫我看下是哪裡配錯啦!!!
======================= Global Settings =======================

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = workgroup
display charset = UTF-8
unix charset = UTF-8
dos charset = cp936

# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
; wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = true

當中省略了,下面是共享盤信息
[sda7]
path=/madia/sda7
available=yes
browsable=yes
public=yes
writable=yes

[火星人 ] 開啟SMB后windows不可以訪問ubunut,但反之可以已經有318次圍觀

http://coctec.com/docs/linux/show-post-180201.html