AW: [Samba] cupsaddsmb: cli_pipe: return critical error. Error was SUCCESS - 0

Marco Horstmann m.horstmann at research.paion.de
Fri Nov 22 14:56:23 GMT 2002


Okay... I found out that rpcclient needs the domainname to work properly
(but smbclient doesnt need it).

cupsaddsmb -v -U DOMAIN//root -a
runs without any error...

Bye
M.
-- 
PAION GmbH Forschungszentrum Berlin
Marco Horstmann - IT Systems Administrator
Tegeler Weg 33 - 10589 Berlin, Germany
Tel. +49 30 34358715 - Fax +49 30 34358733
m.horstmann at research.paion.de - http://www.paion.de

> -----Ursprüngliche Nachricht-----
> Von: samba-admin at lists.samba.org 
> [mailto:samba-admin at lists.samba.org] Im Auftrag von Marco Horstmann
> Gesendet: Mittwoch, 6. November 2002 12:02
> An: samba at lists.samba.org
> Betreff: [Samba] cupsaddsmb: cli_pipe: return critical error. 
> Error was SUCCESS - 0
> 
> 
> hi list,
> 
> We got the following problem:
> 
> We try to use samba 2.2.5 as a printserver for windoze 
> clients (samba 2.2.5 on RH linux 8 w/ CUPS 1.1.15).
> 
> CUPS works w/o any problems, but when we try to generate the 
> drivers for the windoze clients (by using cupsaddsmb), we get 
> the following error:
> 
> >>
> cli_pipe: return critical error. Error was SUCCESS - 0
> 
> result was NT_STATUS_UNSUCCESSFUL
> <<
> 
> 
> Does anybody know this problem, and can point me to a solution?
> 
> Thanx in advance.
> 
> Marco
> 
> PS:
> 
> Here's the complete output of cupsaddsmb -v -U root phaser:
> 
> [stdout]
> 
> added interface ip=192.168.0.12 bcast=192.168.0.255 
> nmask=255.255.255.0
> 
> Domain=[PAION-BERLIN] OS=[Unix] Server=[Samba 2.2.5]
> 
> NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
> 
> putting file /var/spool/cups/tmp/3dc809fc30b6f as 
> \W32X86/phaser.PPD (2189.4
> kb/s) (average 2189.5 kb/s)
> 
> putting file /usr/share/cups/drivers/ADOBEPS5.DLL as 
> \W32X86/ADOBEPS5.DLL (20312.4 kb/s) (average 14649.0 kb/s)
> 
> putting file /usr/share/cups/drivers/ADOBEPSU.DLL as 
> \W32X86/ADOBEPSU.DLL (15115.3 kb/s) (average 14783.8 kb/s)
> 
> putting file /usr/share/cups/drivers/ADOBEPSU.HLP as 
> \W32X86/ADOBEPSU.HLP (6549.6 kb/s) (average 14269.1 kb/s)
> 
> added interface ip=192.168.0.12 bcast=192.168.0.255 
> nmask=255.255.255.0
> 
> Domain=[PAION-BERLIN] OS=[Unix] Server=[Samba 2.2.5]
> 
> NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
> 
> putting file /var/spool/cups/tmp/3dc809fc30b6f as 
> \WIN40/phaser.PPD (1990.4
> kb/s) (average 1990.4 kb/s)
> 
> putting file /usr/share/cups/drivers/ADFONTS.MFM as 
> \WIN40/ADFONTS.MFM (20817.8 kb/s) (average 15367.8 kb/s)
> 
> putting file /usr/share/cups/drivers/ADOBEPS4.DRV as 
> \WIN40/ADOBEPS4.DRV (20109.1 kb/s) (average 18325.3 kb/s)
> 
> putting file /usr/share/cups/drivers/ADOBEPS4.HLP as 
> \WIN40/ADOBEPS4.HLP (17529.0 kb/s) (average 18234.5 kb/s)
> 
> putting file /usr/share/cups/drivers/DEFPRTR2.PPD as 
> \WIN40/DEFPRTR2.PPD (4392.1 kb/s) (average 17879.6 kb/s)
> 
> putting file /usr/share/cups/drivers/ICONLIB.DLL as 
> \WIN40/ICONLIB.DLL (14419.7 kb/s) (average 17658.1 kb/s)
> 
> putting file /usr/share/cups/drivers/PSMON.DLL as 
> \WIN40/PSMON.DLL (11199.8
> kb/s) (average 17409.8 kb/s)
> 
> cmd = adddriver "Windows NT x86" 
> "phaser:ADOBEPS5.DLL:phaser.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL
> :RAW:NULL"
> 
> cli_pipe: return critical error. Error was SUCCESS - 0
> 
> result was NT_STATUS_UNSUCCESSFUL
> 
> cmd = adddriver "Windows 4.0" 
> "phaser:ADOBEPS4.DRV:phaser.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
> W:ADFONTS.
> MFM,
> DEFPRTR2.PPD,ICONLIB.DLL"
> 
> cli_pipe: return critical error. Error was SUCCESS - 0
> 
> result was NT_STATUS_UNSUCCESSFUL
> 
> cmd = setdriver phaser phaser
> 
> Succesfully set phaser to driver phaser.
> 
> Running command: smbclient file://192.168.0.12/print\$ -N 
> -U'root%SECRET' -c 'mkdir W32X86;put 
> /var/spool/cups/tmp/3dc809fc30b6f W32X86/phaser.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'
> 
> Running command: smbclient file://192.168.0.12/print\$ -N 
> -U'root%SECRET' -c 'mkdir WIN40;put 
> /var/spool/cups/tmp/3dc809fc30b6f WIN40/phaser.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;'
> 
> Running command: rpcclient 192.168.0.12 -N -U'root%SECRET' -c 
> 'adddriver "Windows NT x86" 
> "phaser:ADOBEPS5.DLL:phaser.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL
> :RAW:NULL"
> '
> 
> Running command: rpcclient 192.168.0.12 -N -U'root%SECRET' -c 
> 'adddriver "Windows 4.0" 
> "phaser:ADOBEPS4.DRV:phaser.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RA
> W:ADFONTS.
> MFM,
> DEFPRTR2.PPD,ICONLIB.DLL"'
> 
> Running command: rpcclient 192.168.0.12 -N -U'root%SECRET' -c 
> 'setdriver phaser phaser'
> 
> [end stdout]
> 
> Now the smbd.log (debug level 10):
> 
> >>>
> 
> [2002/11/05 19:37:39, 2] param/loadparm.c:do_section(3042)
> 
> Processing section "[phaser]"
> 
> doing parameter printer = phaser
> 
> doing parameter browseable = yes
> 
> doing parameter printable = yes
> 
> doing parameter path = /var/spool/cups
> 
> doing parameter public = yes
> 
> doing parameter guest ok = yes
> 
> doing parameter writeable = no
> 
> doing parameter printer admin = root
> 
> [2002/11/05 19:37:39, 2] param/loadparm.c:do_section(3042)
> 
> Processing section "[print$]"
> 
> doing parameter printable = yes
> 
> doing parameter path = /etc/samba/drivers
> 
> doing parameter browseable = no
> 
> doing parameter guest ok = yes
> 
> doing parameter read only = yes
> 
> doing parameter write list = root
> 
> [2002/11/05 19:37:39, 4] param/loadparm.c:lp_load(3472)
> 
> pm_process() returned Yes
> 
> [2002/11/05 19:37:39, 7] param/loadparm.c:lp_servicenumber(3581)
> 
> lp_servicenumber: couldn't find homes
> 
> [2002/11/05 19:37:39, 3] param/loadparm.c:lp_add_ipc(2011)
> 
> adding IPC service IPC$
> 
> [2002/11/05 19:37:39, 3] param/loadparm.c:lp_add_ipc(2011)
> 
> adding IPC service ADMIN$
> 
> [2002/11/05 19:37:39, 10] param/loadparm.c:set_server_role(3423)
> 
> set_server_role: ROLE_DOMAIN_PDC
> 
> [2002/11/05 19:37:39, 7] param/loadparm.c:lp_servicenumber(3581)
> 
> lp_servicenumber: couldn't find printers
> 
> [2002/11/05 19:37:39, 7] param/loadparm.c:lp_servicenumber(3581)
> 
> lp_servicenumber: couldn't find printers
> 
> <<<
> 
> *sigh*
> 
>  -- 
> PAION GmbH Research Center Berlin
> Marco Horstmann - IT Systems Administrator
> Tegeler Weg 33 - 10589 Berlin, Germany
> Tel. +49 30 34358715 - Fax +49 30 34358733 
> m.horstmann at research.paion.de - http://www.paion.de
> --
> NOTE: The contents of this communication are not intended to 
> create any legally binding obligation or contract whatsoever. 
> This e-mail is for the use of the person/company named only. 
> Its contents are confidential and may be privileged 
> information. If you have received this email in error, please 
> contact us immediately, delete the email and ensure its 
> contents are not disclosed or used. Thank you.
> 
> 
> 




More information about the samba mailing list