[Samba] cupsaddsmb - problem

Peer-Joachim Koch pkoch at bgc-jena.mpg.de
Fri Aug 30 01:54:00 GMT 2002


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  



More information about the samba mailing list