[cups.general] cupsaddsmb fails - or not ?

Helge Blischke h.blischke at srz.de
Thu Feb 10 08:52:50 PST 2005


Stefan-Michael., =?iso-8859-15?q?G=FCnther?=, (in-put, GbR) wrote:
> 
> Hello,
> 
> I'm getting some strange results when I use cupsaddsmb.
> I have installed cups-samba-5.0rc3 and though
> 
> cupsaddsmb -a -v -U root
> 
> runs without reporting any problems, in fact the result is
> "Succesfully set HP900 to driver HP900.", no printer drivers have been
> installed.
> Here are some details about the system:
> 
> System: SuSE 9.2
> 
> /etc/smb.conf
> [global]
>         workgroup = TUX-NET
>         netbios name = pc103
>         load printers = yes
>         printing = cups
>         printcap name=cups
>         log level =5
> [printers]
>         comment = All Printers
>         path = /var/tmp
>         writeable=no
>         guest ok=yes
>         public=yes
>         printer admin=root
>         printable = Yes
>         create mask = 0600
>         browseable = No
> 
> [print$]
>         comment = Printer Drivers
>         path = /var/lib/samba/drivers
>         write list = @ntadmin root
>         browseable=yes
>         guest ok = no
>         write list =root
> 
> pc103:~ # lpq
> HP900 is ready
> no entries
> 
> pc103:~ # rpm -qa | grep cups
> cups-1.1.21-5
> cups-SUSE-ppds-dat-1.1.20-104
> cups-client-1.1.21-5.3
> cups-drivers-1.1.21-4
> cups-libs-1.1.21-5.3
> cups-drivers-stp-1.1.21-4
> 
> pc103:~ # rpm -qa | grep samba
> samba3-python-3.0.10-18
> samba3-3.0.10-18
> samba3-pdb-3.0.10-18
> samba3-client-3.0.10-18
> samba3-cifsmount-3.0.10-18
> samba3-winbind-3.0.10-18
> samba3-utils-3.0.10-18
> 
> pc103:~ # du -sh /var/lib/samba/drivers/*
> 0       /var/lib/samba/drivers/COLOR
> 0       /var/lib/samba/drivers/IA64
> 0       /var/lib/samba/drivers/W32ALPHA
> 0       /var/lib/samba/drivers/W32MIPS
> 0       /var/lib/samba/drivers/W32PPC
> 0       /var/lib/samba/drivers/W32X86
> 0       /var/lib/samba/drivers/WIN40
> 0       /var/lib/samba/drivers/x64
> 
> pc103:~ # l /usr/share/cups/drivers/
> -r--r--r--  1 root root     14234 Sep 24  2002 cups5.hlp
> -r--r--r--  1 root root    280268 Jan  3  2004 cupsdrv5.dll
> -r--r--r--  1 root root    219540 Jan  3  2004 cupsui5.dll
> 
> I already tried this with a HP900, a Xerox Docuprint N17 and a Brother HL!660e
> - same results.
> Anyone any ideas ?
> 
> Thanks for any hint.
> 
> Stefan
> --
> 

Probably cupsaddsmb does not find the driver files (the v6 drivers from
esp
have not yet been released, AFAIK). I'd suggest to either get the
original M$ drivers (which should be used then) or use the "old" NT4
drivers
and perform all the steps that cupsaddsmb does "by hand" according to 
chapter 19 of the SAMBA howto.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list