[Samba] cipsaddsmb UNSUCCESSFUL
Kalkoul Morad
M-Kalkoul at arte-tv.com
Mon Oct 28 10:19:00 GMT 2002
Hi,
I have a linux box on RH7.3 with samba 2.2.5-1 and cups-1.1.14-15.
I create a cups printer on to this machine with success, It called lptest?
and apparently, when I send a page test it works fine.
But now I want to share It via Samba then I putted the different setting in
smb.conf . I extracted the different files from the ADOBE POSTSCRIPT DRIVER
and I put them in /usr/share/cups/drivers . After , I ran cupsaddsmb :
# cupsaddsmb -v lptest
Password for root required to access localhost via SAMBA:
Running command: smbclient //localhost/print\$ -N -U'root%secret' -c 'mkdir
W32X86;put /var/spool/cups/tmp/3dbd0c8f9e398 W32X86/lptest.PPD;put
/usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put
/usr/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put
/usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP'
added interface ip=172.25.4.64 bcast=172.25.255.255 nmask=255.255.0.0
Domain=[ARTE] OS=[Unix] Server=[Samba 2.2.5]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /var/spool/cups/tmp/3dbd0c8f9e398 as \W32X86/lptest.PPD (1797.7
kb/s) (average 1797.7 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL
(18619.7 kb/s) (average 11410.3 kb/s)
putting file /usr/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL
(17863.5 kb/s) (average 12749.7 kb/s)
putting file /usr/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP
(9575.2 kb/s) (average 12634.3 kb/s)
Running command: smbclient //localhost/print\$ -N -U'root%secret' -c 'mkdir
WIN40;put /var/spool/cups/tmp/3dbd0c8f9e398 WIN40/lptest.PPD;put
/usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put
/usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put
/usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put
/usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put
/usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put
/usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;'
added interface ip=172.25.4.64 bcast=172.25.255.255 nmask=255.255.0.0
Domain=[ARTE] OS=[Unix] Server=[Samba 2.2.5]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
putting file /var/spool/cups/tmp/3dbd0c8f9e398 as \WIN40/lptest.PPD (1198.5
kb/s) (average 1198.5 kb/s)
putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM
(18736.0 kb/s) (average 10428.8 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV
(17604.6 kb/s) (average 14433.9 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP
(12698.5 kb/s) (average 14231.8 kb/s)
putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD
(13153.0 kb/s) (average 14224.5 kb/s)
putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL
(19226.2 kb/s) (average 14420.7 kb/s)
putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (13999.3
kb/s) (average 14415.2 kb/s)
Running command: rpcclient localhost -N -U'root%secret' -c 'adddriver
"Windows NT x86"
"lptest:ADOBEPS5.DLL:lptest.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
cmd = adddriver "Windows NT x86"
"lptest:ADOBEPS5.DLL:lptest.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"
result was NT_STATUS_UNSUCCESSFUL
Running command: rpcclient localhost -N -U'root%secret' -c 'addprinter
lptest lptest "lptest" ""'
cmd = addprinter lptest lptest "lptest" ""
result was NT_STATUS_UNSUCCESSFUL
Running command: rpcclient localhost -N -U'root%secret' -c 'adddriver
"Windows 4.0"
"lptest:ADOBEPS4.DRV:lptest.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,
DEFPRTR2.PPD,ICONLIB.DLL"'
cmd = adddriver "Windows 4.0"
"lptest:ADOBEPS4.DRV:lptest.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,
DEFPRTR2.PPD,ICONLIB.DLL"
result was NT_STATUS_UNSUCCESSFUL
#
Why adddriver doesn' work ? Someone can help me? Thanks in advance.
PS: I don't use Sources of CUPS drivers / PPDs like ESP PrintPro or I had To
use it absolutely to work it fine????
More information about the samba
mailing list