Bonjour,
Je suis sous Fedora 38 version GNOME.
j’ai une imprimante Xerox WorkCentre 6015B que j’ai branché sur ma Freebox Pop en USB, ce qui me permet d’imprimer depuis tous les appareils connectés en Wi-fi sir ma Freebox. Ca fonctionne sous mes autres PC, sous Windows 11 ou Ubuntu (KDE neon) notamment, mais je n’arrive pas à faire fonctionner sous Fedora.
J’ai installé Samba et modifié le fichier smb.conf, en ajoutant les lignes
[global]
max protocol = SMB2
client min protocol = NT1
J’ai fait la même manip’ sous Ubuntu et ça fonctionne, mais pas sous Fedora. Il doit y avoir autre chose.
J’ai installé le pilote :
sudo dnf install foo2hbpl-0.20201003-21.fc38
Lorsque je tape
$ smbclient -L 192.168.1.254 -U%
Sharename Type Comment
--------- ---- -------
Xerox WorkCentre 6015B Printer
IPC$ IPC IPC Service (Freebox Server)
Reconnecting with SMB1 for workgroup listing.
Server Comment
--------- -------
Workgroup Master
--------- -------
WORKGROUP FREEBOX_SERVER
Il y a donc bien la ligne Xerox WorkCentre 6015B Printer. L’imprimante semble bien reconnue sous Fedora.
Mais lorsque je lance une impression, ça ne fonctionne pas.
[acer@acer-aspire ~]$ lpstat -p
printer Xerox_WorkCentre_6015B_USB disabled since mer. 19 avril 2023 01:29:51 -
Unplugged or turned off
printer Xerox_WorkCentre_6015B_Wi-fi disabled since mer. 19 juil. 2023 10:43:22 -
Can't load /etc/samba/smb.conf - run testparm to debug it
---
[acer@acer-aspire ~]$ sudo cat /etc/cups/printers.conf
# Printer configuration file for CUPS v2.4.6
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 5
<Printer Xerox_WorkCentre_6015B_USB>
PrinterId 4
UUID urn:uuid:a644971d-c5a4-39a6-730f-2e9d8fd7a9cc
Info Xerox WorkCentre 6015B
MakeModel Xerox WorkCentre 6015 Foomatic/foo2hbpl2 (recommended)
DeviceURI usb://Xerox/WorkCentre%206015B?serial=3190376566&interface=1
State Stopped
StateMessage Unplugged or turned off
StateTime 1681860591
ConfigTime 1681860489
Reason paused
Type 8425484
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer Xerox_WorkCentre_6015B_Wi-fi>
PrinterId 2
UUID urn:uuid:040fb76c-6455-395d-5c00-1ffdd45c950c
Info Xerox-WorkCentre-6015B
Location //WORKGROUP//FREEBOX_SERVER
MakeModel Xerox WorkCentre 6015 Foomatic/foo2hbpl2 (recommended)
DeviceURI smb://FREEBOX_SERVER/Xerox%20WorkCentre%206015B
State Stopped
StateMessage Can't load /etc/samba/smb.conf - run testparm to debug it
StateTime 1689756202
ConfigTime 1681860014
Reason paused
Type 8425484
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
[acer@acer-aspire ~]$ testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
WARNING: The 'netbios name' is too long (max. 15 chars).
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
client min protocol = NT1
printcap name = cups
security = USER
workgroup = SAMBA
idmap config * : backend = tdb
cups options = raw
include = /etc/samba/usershares.conf
[homes]
browseable = No
comment = Home Directories
inherit acls = Yes
read only = No
valid users = %S %D%w%S
[printers]
browseable = No
comment = All Printers
create mask = 0600
path = /var/tmp
printable = Yes
[print$]
comment = Printer Drivers
create mask = 0664
directory mask = 0775
force group = @printadmin
path = /var/lib/samba/drivers
write list = @printadmin root
Il semble qu’il y ait un problème avec le fichier smb.conf, mais je ne sais pas lequel.
Est-ce que certains ici sauraient m’aider. Je vous remercie infiniment par avance.
Bien cordialement,
CD
Edit Nicosss : Correction des balises Markdown -> Voir FAQ