日期:2014-05-16  浏览次数:20729 次

linux系统访问Windows文件共享(转0


摘自: www.chinaitlab.com  被阅读次数: 456


由 yangyi 于 2009-08-14 23:04:17 提供




[root@localhost ~]# rpm -q samba-client

    samba-client-3.0.28-0.el5.8

    [root@localhost ~]# smbclient -L 192.168.0.7 -U Administrator

    Password:

    Domain=[BBC8D75B6BD34FE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

            Sharename       Type      Comment
            ---------       ----      -------
            E$              Disk      默认共享
            IPC$            IPC       远程 IPC
            D$              Disk      默认共享
            print$          Disk      打印机驱动程序
            SharedDocs      Disk
            ZJDocument      Disk
            临时文件交流 Disk
            HPLaserJ        Printer   HP LaserJet 3200 Series PCL
            公共文档    Disk
            本地磁盘 (G) Disk
            vs2008          Disk
            F$              Disk      默认共享
            ADMIN$          Disk      远程管理
            C$              Disk      默认共享
            soft            Disk

    session request to 192.168.0.7 failed (Called name not present)

    session request to 192 failed (Called name not present)

    Domain=[BBC8D75B6BD34FE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

            Server               Comment
            ---------            -------
            Workgroup            Master
            ---------