[Samba] cupsaddsmb - problem

David Morel
Fri, 30 Aug 2002 05:38:01 -0000

I filed a bug report and solution about this on the samba site; cupsaddsmb
forgets to copy a file for win95/98 clients, i don't remember which one.
It's all in the bug report

----- Original Message -----
From: "Peer-Joachim Koch" <pkoch@bgc-jena.mpg.de>
To: <samba@samba.org>
Sent: Friday, August 30, 2002 12:53 PM
Subject: [Samba] cupsaddsmb - problem


> Hello,
>
> I want to setup a new print server using cups and samba
> for our new institue. Everything is working well (printing
> from unix and windows), but the driver download
> for the windows clients won't work and I have no idea what's
> wrong.
> Currently i have installed cups-1.15 and samba 2.2.5
> on top of suse 8.0 using the rpm-files from
> Lars Mueller(?)(ftp.suse.com/pub/people/lmuelle)
> and configured two printers (Konica 7022 and 7155).
> The cups part works.
>
> ----------smb.conf--------
> mobila23:~ # more /etc/samba/smb.conf
> [global]
>
> workgroup = PEER
> netbios name = mobila23
> guest account = nobody
> load printers = yes
> printing = cups
> printcap name = cups
> log file = /var/log/samba/%m.log
> max log size = 50
> os level = 20
> security = share
>
> [printers]
>         comment = All Printers
>         path = /etc/samba/drivers
>         browseable = yes
>         guest ok = yes
>         read only =yes
>         public = yes
>         printable = yes
>         writeable = no
>         write list = root
>         printer admin = root
>
>
> [print$]
>         comment = Printer Drivers
>         path = /etc/samba/drivers
>         browseable = yes
>         guest ok = no
>         read only = yes
>         write list = root
> -------------------end smb.conf----------------
> Running "cupsaddsmb -v -a" shows:
>
> .....
> Running command: rpcclient localhost -N -U'root%' -c 'adddriver
"Window
> s NT x86"
> "A2_012_K7155:ADOBEPS5.DLL:A2_012_K7155.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:
> NULL:RAW:NULL"'
> cmd = adddriver "Windows NT x86"
> "A2_012_K7155:ADOBEPS5.DLL:A2_012_K7155.PPD:ADO
> BEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"
> result was NT_STATUS_UNSUCCESSFUL
>
> Running command: rpcclient localhost -N -U'root%' -c 'adddriver
"Window
> s 4.0"
>
"A2_012_K7155:ADOBEPS4.DRV:A2_012_K7155.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:R
> AW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'
> cmd = adddriver "Windows 4.0"
> "A2_012_K7155:ADOBEPS4.DRV:A2_012_K7155.PPD:NULL:A
> DOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"
> result was NT_STATUS_UNSUCCESSFUL
>
> Running command: rpcclient localhost -N -U'root%' -c 'setdriver
A2_012_
> K7155 A2_012_K7155'
> cmd = setdriver A2_012_K7155 A2_012_K7155
> Succesfully set A2_012_K7155 to driver A2_012_K7155.
>
> Running command: rpcclient localhost -N -U'root%' -c 'setdriver
A3_009_
> K7022 A3_009_K7022'
> cmd = setdriver A3_009_K7022 A3_009_K7022
> Succesfully set A3_009_K7022 to driver A3_009_K7022.
> .....
>
> and
>
> rpcclient $> enumprinters
>         flags:[0x800000]
>         name:[\\localhost\A2_012_K7155]
>         description:[\\localhost\A2_012_K7155,A2_012_K7155,Konica 7022]
>         comment:[Konica 7155]
>
>         flags:[0x800000]
>         name:[\\localhost\A3_009_K7022]
>         description:[\\localhost\A3_009_K7022,A3_009_K7022,Konica 7022]
>         comment:[Konica 7022]
>
> rpcclient $> enumdrivers
> rpcclient $> # nothing!
>
>
> The files are all installed:
> mobila23:~ # ls  /etc/samba/drivers/W32X86/
> .  ..  A2_012_K7155.PPD  A3_009_K7022.PPD  ADOBEPS5.DLL  ADOBEPSU.DLL
> ADOBEPSU.HLP
>
> but the systems does not know the drivers. What can I do to fix it ?
> Any hint or idea ?
>
> Bye,
>     Peer
>
> _________________________________________________________
> Max-Planck-Institut fuer Biogeochemie
> Dr. Peer-Joachim Koch
> Carl-Zeiss-Promenade 10      Telefon: ++49 3641 6437-52
> D-07745 Jena                 Telefax: ++49 3641 6437-10
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>