- 论坛徽章:
- 0
|
你好:
我仔细看了我的smb.conf文件,我也没有发现什么问题.
下面是我的smb.conf文件,请你帮我看一看:
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
[public]
comment = Public Stuff
path = /home/wangdy/2
public = yes
writable = yes
printable = no
write list = @oinstall
guest ok = yes
其中 linux的用户是wangdy,他属于dba, oinstall两个组。在源文件的基础上,我就把public部分改了,还有在gloabl 区中改了netbiosname,workgroup, 并且把共享模式改为了share。
改完之后,我又启动了/sbin/service smb stop /sbin/service smb start
重新启动了服务。但是情况依旧。
我想把linux机器上/home/wangdy/2目录mount到windows机器上的共享目录2,
不知道哪位好心人能指出我smb.conf设置的问题是什么阿? |
|