SAMBA/Windows 登录需要将打印机与资源管理器连接

SAMBA/Windows 登录需要将打印机与资源管理器连接

我在 RHEL 服务器上的 cups 运行良好。打印机已添加。我已在同一台服务器上安装并配置了 SAMBA。我可以通过资源管理器使用 Windows 10 客户端访问它。我可以看到我的打印机,但我无法连接它(右键单击打印机并连接),因为需要用户名和密码。登录名是什么?Samba 用户?还是系统用户?这是我的 smb.conf:

[global]
        workgroup = SAMBA
        security = user
        load printers = yes
        printing = cups
        printcap name = cups
        use client driver = yes

[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = yes
        guest ok = no
        printable = yes
        read only = no
        create mask = 0700
        write list = root
        valid users = root

[print$]
        comment = Printer Drivers
        path = /etc/samba/drivers
        browseable = yes
        guest ok = no
        read only = no
        write list = root
        valid users = root

相关内容