歡迎您光臨本站 註冊首頁

Win XP系統訪問Linux系統用samba服務共享出來的印表機!提示:拒絕訪問 無法連接

我在裝有redehat9.0系統的機器上連有一台USB介面的愛普生印表機,用samba服務將其共享出來,當我在另一台裝有Win xp的機器上用網上鄰居訪問redhat機子,看到了共享出來的印表機,雙擊它時,出現一個窗口,窗口的標題是 「印表機名」拒絕訪問無法連接,情況如下圖所示:
C:\Documents and Settings\Administrator\桌面\samba.bmp
我的sam.conf文件如下:

   workgroup = Workgroup
   server string = samba print sierver
   printcap name = /etc/printcap
   load printers = yes
   printing = cups
   log file = /var/log/samba/%m.log
   max log size = 2048
   security = share
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*u
pdated*successfully*
   pam password change = yes
  obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no

   comment = Home Directories
   browseable = yes
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775

   comment = All Printers
   path = /var/spool/samba
   printer = lp
   browseable = yes
   guest ok = no
   writable = no
   printable = yes


   comment = Public Stuff
   path = /home/fuxinrong
   public = yes
   writable = yes
   printable = no
   write list = @staff
請高人指點!謝謝!
《解決方案》

拒絕訪問,無法連接

我的samba server也是一樣的問題。
顯示錯誤提示,但是確是可以列印的。
《解決方案》

解決方法~~~;-)

於:
smd.conf

在printers里添加下面兩行:


guest ok=yes
use client driver=yes
《解決方案》

謝謝了  

guest ok=yes
use client driver=yes
就搞定了

[火星人 ] Win XP系統訪問Linux系統用samba服務共享出來的印表機!提示:拒絕訪問 無法連接已經有635次圍觀

http://coctec.com/docs/service/show-post-30488.html