LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 713|回复: 1

关于samba与windows之间共享问题!谢谢!!!

[复制链接]
发表于 2007-11-15 11:17:45 | 显示全部楼层 |阅读模式
下面是我的smb.conf配置文件
怎么老是出现找不到网络路径

# 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: 2007-05-16
[global]
        workgroup = office
              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
[office]
      path = /home/xingzhengbu
      browseable = yes
      guest ok = yes
[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = Yes
        read only = No
        inherit acls = Yes
[profiles]
        comment = Network Profiles Service
        path = %H
        read only = No
        store dos attributes = Yes
        create mask = 0600
        directory mask = 0700
[users]
        comment = All users
        path = /home
        read only = No
        inherit acls = Yes
        veto files = /aquota.user/groups/shares/
[groups]
        comment = All groups
        path = /home/groups
        read only = No
        inherit acls = Yes
[printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = No
[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
是不是我的配置有问题? windows工作组是office
我用smbclient -L 192.168.0.2 出现以下信息:
linux-273d:~/Desktop # smbclient -L 192.168.0.2
Password:
Domain=[LINUX-273D] OS=[Unix] Server=[Samba 3.0.24-2.23-1296-SUSE-CODE10]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (Samba 3.0.24-2.23-1296-SUSE-CODE10)
        print$          Disk      Printer Drivers
        groups          Disk      All groups
        users           Disk      All users
        profiles        Disk      Network Profiles Service
        homes           Disk      Home Directories
        office          Disk
        LaserJet-1022   Printer   LaserJet-1022
Domain=[LINUX-273D] OS=[Unix] Server=[Samba 3.0.24-2.23-1296-SUSE-CODE10]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        OFFICE               LINUX-273D

请问是什么问题导致windows无法访问我的linux共享资源?  谢谢!!!
 楼主| 发表于 2007-11-15 12:33:08 | 显示全部楼层
高手请指点一下 谢谢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表