Hi,
i try to set up a samba print server with cups, but when i use the
cupsaddprinter command, all copy start & stop with no problem, and
when the rppcclient command is launch to add the printer driver, it
fails and show me this error:

 # cupsaddsmb -v -U root -a
  [...many lines...]
 result was WERR_INVALID_PRINTER_NAME

I try to find somthing on the net and other ML & i find this to list
the samba available printers:

# rpcclient -U'root' -c enumprinters localhost
Password:
No printers returned.
Why samba don't see my configured cups printer?

For information, i use fedora core 5, samba 3.0.23, Cups 1.2.3. You
will find under my smb.conf & complete logfile of the
cupsaddsmb/rpcclient.

I hope that someone could help me!
Best regards,
Guillaume

###########SMB.CONF##############
global]
       workgroup = VIRTUALPC
       server string =
       log file = /var/log/samba/%m.log
       max log size = 50
       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
       printcap name = /etc/printcap
       dns proxy = No
       ldap ssl = no
       cups options = raw

[homes]
       comment = Home Directories
       admin users = %U
       read only = No
       browseable = No

[printers]
       comment = All Printers
       path = /var/spool/samba
       printer admin = root
       guest ok = Yes
       printable = Yes
       browseable = No

[print$]
       comment = Printer Drivers
       path = /etc/samba/drivers
       write list = root

#######################LOGFILE#######################
Running command: smbclient //valinor/print$ -N -A
/var/spool/cups/tmp/45092a7ec40d5 -c 'mkdir W32X86;put
/var/spool/cups/tmp/45092a7536ef0
W32X86/HP_LaserJet_4100_Series_172.16.11.21.ppd;put
/usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put
/usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put
/usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put
/usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
Domain=[VALINOR] OS=[Unix] Server=[Samba 3.0.23a-1.fc5.1]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /var/spool/cups/tmp/45092a7536ef0 as
\W32X86/HP_LaserJet_4100_Series_172.16.11.21.ppd (13063,6 kb/s)
(average 13064,0 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll
(18785,5 kb/s) (average 16705,1 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as
\W32X86/pscript.hlp (13066,3 kb/s) (average 16145,4 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as
\W32X86/pscript.ntf (21501,8 kb/s) (average 20080,7 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as
\W32X86/pscript5.dll (21595,1 kb/s) (average 20535,1 kb/s)

Running command: smbclient //valinor/print$ -N -A
/var/spool/cups/tmp/45092a7ec40d5 -c 'put
/usr/share/cups/drivers/cups6.ini W32X86/cups6.ini;put
/usr/share/cups/drivers/cupsps6.dll W32X86/cupsps6.dll;put
/usr/share/cups/drivers/cupsui6.dll W32X86/cupsui6.dll'
Domain=[VALINOR] OS=[Unix] Server=[Samba 3.0.23a-1.fc5.1]
putting file /usr/share/cups/drivers/cups6.ini as \W32X86/cups6.ini
(35,2 kb/s) (average 35,2 kb/s)
putting file /usr/share/cups/drivers/cupsps6.dll as
\W32X86/cupsps6.dll (6136,4 kb/s) (average 3085,9 kb/s)
putting file /usr/share/cups/drivers/cupsui6.dll as
\W32X86/cupsui6.dll (6675,5 kb/s) (average 4282,6 kb/s)

Running command: rpcclient valinor -N -A
/var/spool/cups/tmp/45092a7ec40d5 -c 'adddriver "Windows NT x86"
"HP_LaserJet_4100_Series_172.16.11.21:pscript5.dll:HP_LaserJet_4100_Series_172.16.11.21.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,HP_LaserJet_4100_Series_172.16.11.21.ppd,ps5ui.dll,pscript.hlp,pscript.ntf,cups6.ini,cupsps6.dll,cupsui6.dll"'
Printer Driver HP_LaserJet_4100_Series_172.16.11.21 successfully installed.

Running command: rpcclient valinor -N -A
/var/spool/cups/tmp/45092a7ec40d5 -c 'setdriver
HP_LaserJet_4100_Series_172.16.11.21
HP_LaserJet_4100_Series_172.16.11.21'
result was WERR_INVALID_PRINTER_NAME
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to