红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > SuSE

为什么多了个root共享目录

发布时间:2010-06-25 22:25:48来源:红联作者:vfdff
[attach]31181[/attach]
我的samba配置文件是
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2009-10-27
[global]
workgroup = MSHOME
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
local master = Yes
os level = 65
preferred master = Yes
security = shared
usershare max shares = 100
wins support = Yes
client code page = 936 # support chinese in client
[homes]
comment = Home Directories
path = /home
# valid users = @root, zyd
browseable = Yes
read only = No
inherit acls = Yes

[users]
comment = All users
path = /root
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root
根本没有root共享目录,但是在主机访问虚拟机时出现了一个额外的共享目录 root 呢 ?
文章评论

共有 3 条评论

  1. vfdff 于 2010-06-27 13:03:01发表:

    3# vfdff

    [attach]31190[/attach]
    补充:我能看到smb服务器\\Hmcc中显示的是期望的三个文件夹,但是\\192.168.63.130(中windows的运行中输入\\192.168.63.130访问的,其中192.168.63.130为虚拟机的IP地址)中却多了一个文件夹

  2. vfdff 于 2010-06-27 12:49:30发表:

    2# 王中云

    [attach]31187[/attach]
    我的虚拟机没有开启共享目录呀 !

  3. 王中云 于 2010-06-26 08:22:10发表:

    那是虚拟机的吧