免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7231 | 回复: 3
打印 上一主题 下一主题

[samba] Win XP系统访问Linux系统用samba服务共享出来的打印机!提示:拒绝访问 无法连接 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-10 10:14 |只看该作者 |倒序浏览
我在装有redehat9.0系统的机器上连有一台USB接口的爱普生打印机,用samba服务将其共享出来,当我在另一台装有Win xp的机器上用网上邻居访问redhat机子,看到了共享出来的打印机,双击它时,出现一个窗口,窗口的标题是 “打印机名”拒绝访问无法连接,情况如下图所示:
C:\Documents and Settings\Administrator\桌面\samba.bmp
我的sam.conf文件如下:
[global]
   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
[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
[printers]
   comment = All Printers
   path = /var/spool/samba
   printer = lp
   browseable = yes
   guest ok = no
   writable = no
   printable = yes

[public]
   comment = Public Stuff
   path = /home/fuxinrong
   public = yes
   writable = yes
   printable = no
   write list = @staff
请高人指点!谢谢!

论坛徽章:
0
2 [报告]
发表于 2006-07-18 15:18 |只看该作者

拒绝访问,无法连接

我的samba server也是一样的问题。
显示错误提示,但是确是可以打印的。

论坛徽章:
0
3 [报告]
发表于 2006-07-18 15:42 |只看该作者

解决方法~~~;-)

于:
smd.conf

在printers里添加下面两行:


guest ok=yes
use client driver=yes

论坛徽章:
0
4 [报告]
发表于 2008-05-16 09:59 |只看该作者
谢谢了  

guest ok=yes
use client driver=yes
就搞定了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP