search for: enumprint

Displaying 20 results from an estimated 114 matches for "enumprint".

Did you mean: enumprinter
2001 May 09
2
enumprinters
The "printer drivers download" feature of SAMBA-2.2 is great. Thanks to the SAMBA team. I'm using SAMBA-2.2.0 and everything works fine except one command: $ ./rpcclient sdprint -U root -c 'enumprinters' Enter Password: rpc_api_pipe: cmd 26 on pipe 703e failed to return data. result was NT_STATUS_UNSUCCESSFUL $ I can't say that rpcclient log file is useful for me but if you want I can send it. Any ideas? Thanks Peter
2002 Jul 17
1
rpcclient enumdrivers enumprinters
...nd. Then I used the command install_printer_drivers.pl to install the files in the appropriate directories. So now i'd like to check the drivers available and the printers available too in order to run the rpcclient's command named setdriver. The enumdrivers command displays nothing and the enumprinters command displays this : result was NT_STATUS_BUFFER_TOO_SMALL Thanks in advance for your help Thibault PASTOR Cemagref Lyon
2002 Dec 13
0
APW print problems with Samba 2.2.7a & CUPS, enumprinters, setdriver fail.
...the workstation crashes. In troubleshooting the problem I've found this much out. With the following settings in my smb.conf file: printcap name = cups load printers = yes printing = cups enumdrivers works as expected it even lists the driver I attempted to add from the NT4 workstations. enumprinters however does this: rpcclient $> enumprinters rpc_api_pipe: cmd 26 on pipe 7679 failed to return data. result was NT_STATUS_UNSUCCESSFUL setdriver also fails as seen here: rpcclient $> setdriver A_CC_HP4300 "HP LaserJet 4300 PCL6" SetPrinter call failed! result was NT_STATUS_UNSU...
2015 May 18
1
[Samba 3.0.37] EnumPrinters memory consumption
Hello, i discovered a bug in EnumPrinters. It seems that it allocates many mega of memory, corrupting memory and taking control of a memcpy in parse_prs.c:398 It leads to memory corruption, fatal (and fast) exhaustion of resources and, probably, remote code execution. I attach a file that can be used as a proof of concept. Gabriele...
2001 Oct 05
0
rpcclient with enumprinters command
...uot;printer drivers download" feature. After download from new printer drivers to the samba machine everything works fine. Always when i reboot my linux box i can?t install a printer driver on my nt boxes because the printer has no available printer driver. When i use rpcclient with the enumprinters command i get the following error: $ ./rpcclient swk-rint -U admin -c 'enumprinters' Enter Password: rpc_api_pipe: cmd 26 on pipe 703e failed to return data. result was NT_STATUS_UNSUCCESSFUL $ When i use rpcclient with the setdriver command and set the right driver to the printer it...
2002 Aug 15
2
WERR_INSUFFICIENT_BUFFER if more than 21 printers on enumprinters
If I have more then 21 printers in smb.conf I get [2002/08/15 12:30:50, 5] rpc_parse/parse_prs.c:prs_werror(618) 000c status: WERR_INSUFFICIENT_BUFFER with the rpc "enumprinters". What the heck is this ? I did check samba.mbox, samba-technical.mbox and groups.google.com yet, but as far as my grep brings me, without success. Other problems I'm fighting with is: - removing printerdrivers from a remote maschine (let's say XP) the button "remove dr...
2003 Feb 20
3
cupsaddsmb - why the heck can't I get rpcclient-addprinter to work?
I can't seem to get the rpcclient-addprinter to work - grrrrrr It looks like the drivers files are copied correctly and the NT drivers are added correctly but the addprinter command says it's unsuccessful! rpcclient localhost -N -U JOHNSON\\root -c 'enumprinters' shows the printer!! What's going on? I've tried removing /var/cache/samba/ntdrivers.tdb /var/cache/samba/ntprinters.tdb and reissuing cupsaddsmb -v -U root -a but I still get the addprinter error! I also get a list of printers when I do a rpcclient-enumprinters after I delete the...
2002 Jun 09
1
CUPS & client driver download
...nter with cupsaddsmb-tool (as root, after failing as printer admin!!?!?!). The W32X86 and WIN40 directories have been created as they should and also did the PPD files. But if I connect to the printer from Win (as printer admin) I get the message that no driver could be found. RPCclient CALL "enumprinters" gives me: >INFO: Debug class all level = 2 (pid 6470 from pid 6470) >session setup ok >Domain=[VALIKTALS] OS=[Unix] Server=[Samba 2.2.3a] >cmd = enumprinters >enumprinters > flags:[0x800000] > name:[\\localhost\HP690C] > description:[localhos...
2001 May 10
0
rpcclient & enumprinters for large printcap files
Here's the scoop, Well Jeremy and I found the bug last night. Unfortunately it will not be fixed soon. The problem is a bug in our client side code wrt oversized PDUs. When the needed size > MAX_PDU_SIZE in a parsing struct, we need to fragment the PDU and use SMBwrite instead of a single SMBtrans. Fortunately, this has not gotten us into big trouble yet. Jeremy knows how to fix it,
2003 Nov 17
1
samba (2.2.8a) driver download fails
...river Info 1: Driver Name: [hp1200] Printer Driver Info 1: Driver Name: [hp4050n] [Windows NT x86] Printer Driver Info 1: Driver Name: [hp1200] Printer Driver Info 1: Driver Name: [hp4050n] Printer Driver Info 1: Driver Name: [hp4p] <end> enumprinters is ok too <begin> atlas# rpcclient -U root%sukt19wk -c 'enumprinters' atlas cmd = enumprinters flags:[0x800000] name:[\\atlas\HP_1200N_Kas] description:[\\atlas\HP_1200N_Kas,hp1200,HP LJ 1200 Kastler] comment:[HP LJ 1200 Kastler] flags:...
2016 Dec 13
2
Semaphore timeout hardcoded at 12 seconds somewhere?
Hi team, I use Samba 4.3.12 as a printserver with ~900 printers, and it takes about 20 seconds for rpcclient enumprinters command to finish. However, sometimes it gets stuck and returns WERR_SEM_TIMEOUT for no apparent reason, and this timeout always takes exactly 12 seconds. I was thinking maybe there is a hardcoded timeout somewhere that is shorter than expected 20 sec time for returning my list of printers? Al...
2003 May 23
5
"Additional Drivers" and Print Window Refresh
...as this is an M$ error, I've been having trouble figuring it out as far as Samba goes. Does anyone know why I wouldn't be able to add Win 95-98 drivers with Win2k Professional to a Samba PRINT$ share? The Win2k driver I added first was fine. A possibly related problem is my inability to use enumprinters: # /products/samba/bin/rpcclient //localhost -U novosirj -c "enumprinters" Password: cmd = enumprinters rpc_api_pipe: cmd 26 on pipe 7530 failed to return data. result was NT_STATUS_UNSUCCESSFUL 2) I have an NT4 machine that I'm using as a print monitor, to show users the queue w...
2005 Feb 07
1
rpcclient error / printer driver issue
...client-3.0.9-2.6 I am getting some errors that I can't seem to track down in any of the archives. I came across this problem when trying to delete a driver none of the printers are listed in the smb.conf - it is all being generated from the cups and the printcap that cups makes on load First enumprinters works: rpcclient $> enumprinters flags:[0x800000] name:[\\prupref-print\ccc-tosh35] description:[\\prupref-print\ccc-tosh35,TOSHIBA e-STUDIO28-45 GL-PSL3,Call Center Toshiba 35] comment:[Call Center Toshiba 35] flags:[0x800000] name:[\\prupref...
2003 Jun 18
1
'Little' problems with Samba v2.2.3a-12.3 (Debian Woody) and PRINTERS !!
...l Is it a problem ? Must I define the same directory ? 2.) As I have added manually, my printers, in the samba 'smb.conf' file, why there is one printer with 'Samba Printer Port' as portname and the other with '\\MYSRV\nss.1er' as portname when I use the rpcclient's enumprinters command ? Which is the good one : Samba Printer Port or \\MYSRV\nss... ? How is it possible to change it ? ---> # rpcclient MYSRV -U root%ROOTPASSWD -c "enumprinters 2" INFO: Debug class all level = 1 (pid 32337 from pid 32337) session setup ok Domain=[MYDOM] OS=[Unix] Server=[...
2002 Sep 10
1
Re: How do I force Samba to update shared printer list? (2.2.6-pre2)
...st > dissappearing for the same timespan, and while "tail -f log.smbd" seems to > indicate that Samba is processing the update request. > >* It is also not visible through the "rpcclient" command: > "rpcclient localhost -N -U'root%root' -c 'enumprinters'" too shows the old > list... > >* BTW, the "cupsaddsmb -v" command also fails for that printer: > --> it says "Printer Driver... successfully installed" (for WIN40 and > W32X86), > but... > --> it says "cmd = setdriver......
2009 May 20
2
Client driver installation
I've an OpenSuSE based server installed at work that uses Samba to share out the prrinters for our users on the AD that will be replacing our aging Windows 2000 print server. I'm in the process of getting the printer drivers installed for Windows clients. At present, I'm installing the drivers for the RICOH Aficio we have. When I run the following command:?
2003 Dec 11
1
No joy adding a CUPS printer
...lhost -N -U'root%xxxx' -c 'setdriver lp lp' cmd = setdriver lp lp Succesfully set lp to driver lp. Now, testing that things went well (the above indicates it did): ================================================================ [root samba]# rpcclient localhost -Uroot%xxxx -c 'enumprinters' cmd = enumprinters flags:[0x800000] name:[\\localhost\lp] description:[\\localhost\lp,lp,HP OfficeJet 6110 Foomatic/hpijs (recommended)] comment:[HP OfficeJet 6110 Foomatic/hpijs (recommended)] [root samba]# rpcclient localhost -Uroot%xxxx -c 'getprinter...
2003 Aug 08
3
Samba + Cups: don't succeed to print from Windows 2000 station
Hello, I have configured cups (1.1.18) on a Suse 8.2 Pro Linux server. I have also configured samba (2.2.7a), and joined a domain. I have created printers with cups and declared them to samba with cupsaddsmb command. All seems to be ok. I can print from my Linux server. But, when I want to print from ny windows2000 station: - I can find my linux server - I can find and connect printers
2003 May 13
2
cli_pipe: return critical error. Error was Call returnedzerobyte(EOF),hilfe!
|................. | This would *possibly* map to the files of your | driver like this: | | Long Printer Name:\ --> lp:\ |........................... | missing: should be "RAW" !! ##### | | Yeah, you're right. I've missed the RAW DDT. Now | when I complied I got the error from the subject | line. | | Sorry? I didn't
2003 Apr 08
4
Fail to "Connect to printer"
...me command = /usr/sbin/lpc start %p [IBM Infoprint 1222] comment = IBM Infoprint 1222 path = /var/spool/lpd/samba/2ndflbw printable = yes browseable = yes writable = no printer = IBM Infoprint 1222 >From the samba server: [root@ka W32X86]# rpcclient ka -U root -c "enumprinters" Password: cmd = enumprinters flags:[0x800000] name:[\\ka\IBM Infoprint 1222] description:[\\ka\IBM Infoprint 1222,,IBM Infoprint 1222] comment:[IBM Infoprint 1222] [root@ka W32X86]# rpcclient ka -U root -c "enumdrivers" Password: cmd = enumdrivers...