LinuxSir.cn,穿越时空的Linuxsir!

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

请教一个samba远程打印问题

[复制链接]
发表于 2003-1-28 11:06:04 | 显示全部楼层 |阅读模式
我按照论坛中的资料设置好以后,有一个以下问题:
请问这是什么错误?
smb_print.log:

server Test, service EPSONEPL
added interface ip=192.168.1.223 bcast=192.168.1.255 nmask=255.255.255.0
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
server Test, service EPSONEPL
added interface ip=192.168.1.223 bcast=192.168.1.255 nmask=255.255.255.0
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
server Test, service EPSONEPL
added interface ip=192.168.1.223 bcast=192.168.1.255 nmask=255.255.255.0
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
server Test, service EPSONEPL
added interface ip=192.168.1.223 bcast=192.168.1.255 nmask=255.255.255.0
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
server Test, service EPSONEPL
added interface ip=192.168.1.223 bcast=192.168.1.255 nmask=255.255.255.0
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
发表于 2003-1-28 11:22:49 | 显示全部楼层
把你的smb.conf贴出来,可能是你关于域的部分出问题了,请参考
[print$]
    path = /usr/local/samba/printers
    guest ok = yes
    browseable = yes
    read only = yes
[global]
    ; 基本服务器设定
    netbios name = POGO
    workgroup = NARNIA
    ; 成为域及本地主浏览器
    os level = 64
    preferred master = yes
    domain master = yes
    local master = yes
   
    ; 安全性设定(必须使用security = user)
    security = user
   
    ; PDC必须使用加密口令
    encrypt passwords = yes
   
    ; 支持域登录
    domain logons = yes
   
    ; 指定保存用户配置的目录
    logon path = \\%N\profiles\%u
   
    ; 指定用户的主目录及相应的映射盘符
    logon drive = H:
    logon home = \\homeserver\%u
   
    ; 为所有用户指定一个通用登录脚本并使用[netlogon]共享项的相对DOS路径
    logon script = logon.cmd
; 域控制器必须的共享项
[netlogon]
    path = /usr/local/samba/lib/netlogon
    writeable = no
    write list = ntadmin
   
; 存放用户配置的共享项
[profiles]
    path = /export/smb/ntprofile
    writeable = yes
    create mask = 0600
    directory mask = 0700
 楼主| 发表于 2003-1-28 11:30:22 | 显示全部楼层
谢谢,但我总觉得你说的都是LINUX作为PRINT SERVER端的设置。现在我需要Linux作为Client端,我的打印机接在WIN2K上。

我的SMB.CONF如下:
        # workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
        workgroup = workgroup

        # server string is the equivalent of the NT Description field
        server string = Samba Server

       其他部分我基本都用缺省的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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