Bonjour à tous,
J’ai mis en place un serveur d’impressions sur lequel je partage mes imprimantes via cups et samba, le problème est que lorsque je double clique depuis windows sur une de mes imprimantes windows commence la copie et l’installation du driver puis me demande si j’autorise l’installation je dis oui et la il me dit “connexion à l’imprimante impossible, code erreur 0x000000d8”
voici mes paramètres samba smb.conf :
======================= Global Settings =======================
[global]
workgroup = TEST
realm = TEST.LOCAL
preferred master = no
server string = Samba Server version %v
security = ADS
encrypt passwords = yes
log level = 3
log file = /var/log/samba/%m
max log size = 50
printcap name = cups
printing = cups
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind nested groups = Yes
winbind separator = /
netbios name = SRV-SMB-TEST
idmap config * : range = 10000-20000
idmap config * : backend = tdb
template shell = /bin/bash
#template homedir = /partage/scan/%u
load printers = Yes
printing = cups
printcap name = cups
force printername = yes
enable privileges = yes
======================= Printing ===============================
load printers = yes
printing = cups
printcap name = cups
printer admin = root
======================= Share Definitions =======================
[SCAN]
comment = Dossier Scan
path = /partage/scan
read only = no
writable = yes
browseable = no
[Partage]
comment = Dossier de transfert des fichiers
path = /home/pi/partage
read only = no
writable = yes
browseable = yes
[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
read only = no
printer admin = root
use client driver = no
[print$]
comment = Printer Drivers
path = /usr/share/cups/drivers
browseable = yes
read only = no
guest ok = yes
writable = yes
inherit permissions = yes
[Driver windows]
comment = Dossier de transfert des fichiers
path = /usr/share/cups/drivers/x64
read only = no
writable = yes
browseable = yes
guest ok = yes
et sinon voici ce que j’obtiens quand je fais un testparm :
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The “enable privileges” option is deprecated
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Processing section "[SCAN]"
Processing section "[Partage]"
Processing section "[printers]"
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Processing section "[print$]"
Processing section "[Driver windows]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_MEMBER
Voici ce que j’obtiens quand je fais un cupsaddsmb :
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \x64
putting file /tmp/00a4959eada31 as \x64/HP_Color_LaserJet_MFP_M477fdn.ppd (19905,3 kb/s) (average 19905,7 kb/s)
putting file /usr/share/cups/drivers/x64/ps5ui.dll as \x64/ps5ui.dll (0,0 kb/s) (average 14218,3 kb/s)
putting file /usr/share/cups/drivers/x64/pscript.hlp as \x64/pscript.hlp (0,0 kb/s) (average 11058,7 kb/s)
putting file /usr/share/cups/drivers/x64/pscript.ntf as \x64/pscript.ntf (0,0 kb/s) (average 9048,0 kb/s)
putting file /usr/share/cups/drivers/x64/pscript5.dll as \x64/pscript5.dll (0,0 kb/s) (average 7656,0 kb/s)
Running command: smbclient //192.168.0.200/print$ -N -A /tmp/00a4959e9af4e -c 'put /usr/share/cups/drivers/x64/cups6.ini x64/cups6.ini;put /usr/share/cups/drivers/x64/cupsps6.dll x64/cupsps6.dll;put /usr/share/cups/drivers/x64/cupsui6.dll x64/cupsui6.dll’
WARNING: The “enable privileges” option is deprecated
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Domain=[TEST] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
putting file /usr/share/cups/drivers/x64/cups6.ini as \x64/cups6.ini (0,0 kb/s) (average 0,0 kb/s)
putting file /usr/share/cups/drivers/x64/cupsps6.dll as \x64/cupsps6.dll (0,0 kb/s) (average 0,0 kb/s)
putting file /usr/share/cups/drivers/x64/cupsui6.dll as \x64/cupsui6.dll (0,0 kb/s) (average 0,0 kb/s)
Running command: rpcclient 192.168.0.200 -N -A /tmp/00a4959e9af4e -c 'adddriver “Windows x64” “HP_Color_LaserJet_MFP_M477fdn:pscript5.dll:HP_Color_LaserJet_MFP_M477fdn.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,HP_Color_LaserJet_MFP_M477fdn.ppd,ps5ui.dll,pscript.hlp,pscript.ntf,cups6.ini,cupsps6.dll,cupsui6.dll”'
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Printer Driver HP_Color_LaserJet_MFP_M477fdn successfully installed.
Warning, no Windows 2000 printer drivers are installed.
Running command: rpcclient 192.168.0.200 -N -A /tmp/00a4959e9af4e -c 'setdriver HP_Color_LaserJet_MFP_M477fdn HP_Color_LaserJet_MFP_M477fdn’
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Successfully set HP_Color_LaserJet_MFP_M477fdn to driver HP_Color_LaserJet_MFP_M477fdn.
Running command: smbclient //192.168.0.236/print$ -N -A /tmp/00a4959ec7c79 -c 'mkdir x64;put /tmp/00a4959ec6a62 x64/Samsung_M4070.ppd;put /usr/share/cups/drivers/x64/ps5ui.dll x64/ps5ui.dll;put /usr/share/cups/drivers/x64/pscript.hlp x64/pscript.hlp;put /usr/share/cups/drivers/x64/pscript.ntf x64/pscript.ntf;put /usr/share/cups/drivers/x64/pscript5.dll x64/pscript5.dll’
WARNING: The “enable privileges” option is deprecated
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Domain=[TEST] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \x64
putting file /tmp/00a4959ec6a62 as \x64/Samsung_M4070.ppd (20916,4 kb/s) (average 20916,8 kb/s)
putting file /usr/share/cups/drivers/x64/ps5ui.dll as \x64/ps5ui.dll (0,0 kb/s) (average 14940,6 kb/s)
putting file /usr/share/cups/drivers/x64/pscript.hlp as \x64/pscript.hlp (0,0 kb/s) (average 11620,4 kb/s)
putting file /usr/share/cups/drivers/x64/pscript.ntf as \x64/pscript.ntf (0,0 kb/s) (average 9507,6 kb/s)
putting file /usr/share/cups/drivers/x64/pscript5.dll as \x64/pscript5.dll (0,0 kb/s) (average 8044,9 kb/s)
Running command: smbclient //192.168.0.200/print$ -N -A /tmp/00a4959ec7c79 -c 'put /usr/share/cups/drivers/x64/cups6.ini x64/cups6.ini;put /usr/share/cups/drivers/x64/cupsps6.dll x64/cupsps6.dll;put /usr/share/cups/drivers/x64/cupsui6.dll x64/cupsui6.dll’
WARNING: The “enable privileges” option is deprecated
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Domain=[TEST] OS=[Windows 6.1] Server=[Samba 4.5.8-Debian]
putting file /usr/share/cups/drivers/x64/cups6.ini as \x64/cups6.ini (0,0 kb/s) (average 0,0 kb/s)
putting file /usr/share/cups/drivers/x64/cupsps6.dll as \x64/cupsps6.dll (0,0 kb/s) (average 0,0 kb/s)
putting file /usr/share/cups/drivers/x64/cupsui6.dll as \x64/cupsui6.dll (0,0 kb/s) (average 0,0 kb/s)
Running command: rpcclient 192.168.0.200 -N -A /tmp/00a4959ec7c79 -c 'adddriver “Windows x64” “Samsung_M4070:pscript5.dll:Samsung_M4070.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,Samsung_M4070.ppd,ps5ui.dll,pscript.hlp,pscript.ntf,cups6.ini,cupsps6.dll,cupsui6.dll”'
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Printer Driver Samsung_M4070 successfully installed.
Warning, no Windows 2000 printer drivers are installed.
Running command: rpcclient 192.168.0.200 -N -A /tmp/00a4959ec7c79 -c 'setdriver Samsung_M4070 Samsung_M4070’
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Successfully set Samsung_M4070 to driver Samsung_M4070.
Si certains ont des idées je les acceptes avec plaisir car je ne sais vraiment plus quoi faire
merci d’avance