我有 2 个运行实验室设备的 Windows XP 客户端。这些是运行 CUPS 版本 2.2.7 的 Ubuntu 18.94.2 64 位服务器的 Samba 版本 4.7.6 客户端。所有这些都已经运行了几年,唯一的变化是对 Ubuntu 和 CUPS 的更新。为了允许 XP 客户端,我进行了smb.conf
如下设置:我注意到打印机挂起和/或需要几个小时才能打印。重新启动后,最初工作正常,但速度越来越慢,好像缓冲区已满或存在类似的瓶颈?
查看 CUPS 错误日志时,我看到下面这些行。服务器和 2 个 XP 工作站未连接到互联网,因为它们只是在本地环境中运行我们自己的代码。有人能给我一条救命稻草吗?
杯子- CUPS 错误日志:
E [10/May/2019:16:19:09 +0000] [Client 2] Unable to encrypt connection: A TLS fatal alert has been received.
E [10/May/2019:16:19:30 +0000] [Client 8] Unable to encrypt connection: A TLS fatal alert has been received.
E [10/May/2019:16:19:57 +0000] [Client 23] Unable to encrypt connection: A TLS fatal alert has been received.
E [10/May/2019:16:19:57 +0000] [cups-deviced] PID 8878 (gutenprint52+usb) stopped with status 1!
E [10/May/2019:16:19:59 +0000] [Client 29] Unable to encrypt connection: A TLS fatal alert has been received.
桑巴- 全局参数:
[global]
add group script = /usr/sbin/addgroup --force-badname %g
add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
bind interfaces only = Yes
client max protocol = SMB2
dns proxy = No
domain logons = Yes
interfaces = 127.0.0.0/8 enp0s25
lanman auth = Yes
log file = /var/log/samba/log.%m
logon drive = H:
logon path = \%N\profiles\%U
logon script = %U.bat
map to guest = Bad User
max log size = 1000
ntlm auth = ntlmv1-permitted
os level = 64
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = Enter\snew\s\spassword:* %n\n Retype\snew\s\spassword:* %n\n password\supdated\ssuccessfully .
passwd program = /usr/bin/passwd %u
security = USER
server role = classic primary domain controller
server string = %h
template shell = /bin/bash
unix password sync = Yes
usershare allow guests = Yes
wins support = Yes
workgroup = XXXXX3.LOCAL
rpc_daemon:spoolssd = fork
rpc_server:spoolss = external
idmap config * : backend = tdb
[homes]
browseable = No
comment = Home Directories
create mask = 0775
directory mask = 0775
read only = No
valid users = %S
[netlogon]
comment = Network Logon Service
guest ok = Yes
path = /srv/samba/netlogon
[profiles]
browseable = No
comment = Users profiles
create mask = 0600
directory mask = 0700
path = /srv/samba/profiles
read only = No
[printers]
browseable = No
comment = All Printers
create mask = 0700
guest ok = Yes
path = /var/spool/samba/
printable = Yes
use client driver = Yes
write list = @users
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
write list = @lpadmin