回文章列表
作者tom600488.bbs@ptt.cc (無奈) 看板: linux
標題[問題] windows連不到linux的samba
時間批踢踢實業 (2008/06/13 Fri 16:59:35)
因為我們公司要放一台linux電腦暫時放資料用
用的是fedoro linux

另外我們有win2000當做server來用
網域是justor

可是問題很奇怪
我設定好之後
用smbclient -L //[電腦IP位址] 去搜尋
都成功

可是用windows去找那台linux卻找不到
我打該電腦的IP找不到
但是我打該電腦的主機名稱確有找到
找到是找到但是點進去他給我出現無法存取\\csvip 您可能沒有使用這網路資源的權限
                              找不到網路路徑

我很確定的是我IP位址沒設定錯
網域也沒錯

而且我只是用share來分享
根本沒用什麼密碼之類的

另外還有更奇怪的是
我要把該資料夾開分享的時候
他卻沒有出現手的圖案
就是沒有出現一隻手在資料夾上的圖案



我po一下smb.conf的設定


[global]
        workgroup = justor
        server string = Samba Server Version %v

;       netbios name = picture

;       interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
        hosts allow = 127. 192.168.1. 192.168.0.

        unix charset = utf8
        display charset = utf8
        dos charset = cp950

        # logs split per machine
        log file = /var/log/samba/log.%m
        # max 50KB per log file, then rotate
        max log size = 50

        security = share
;       passdb backend = tdbsam


        domain master = yes
;       domain logons = yes


;       local master = no
;       os level = 20
;       preferred master = yes


;       wins support = yes
;       wins server = w.x.y.z
;       wins proxy = yes

;       dns proxy = yes

;       map archive = no
;       map hidden = no
;       map read only = no
;       map system = no
        encrypt passwords = no
;       username map = /etc/samba/smbusers
;       smb passwd file = /etc/samba/smbpasswd
        guest ok = yes
        guest account = cs
;       store dos attributes = yes



[homes]
        comment = Home Directories
        browseable = no
        writable = yes
;       valid users = %S
;       valid users = MYDOMAIN\%S

[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
;       guest ok = no
;       writable = No
        printable = yes

[VIP]
        path = /var/VIP
        writeable = yes
        browswable = yes
        public = yes

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 60.250.90.220
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻