Displaying 20 results from an estimated 172 matches for "adddriv".
Did you mean:
adddiv
2007 Jun 06
3
string overflow in rpcclient add "printer" driver command
Hello,
I get the folowing error msg in rpcclient -c 'adddriver' command:
ERROR: string overflow by 1 (1024 - 1023) in safe_strcpy [adddriver "Windows NT x86" "My Driver Name 001:aaa]
Printer Driver My Driver Name 001 successfully installed.
My command is like this:
rpcclient MYSRV -s /etc/samba/smb.conf -A auth.txt -c 'adddriver &qu...
2004 May 18
1
Having issues with rpcclient's adddriver
Hi,
I'm trying to add a Windows NT/2000 OKI C5100 print driver to a Samba
2.2.3a server. I've been told that this driver does some server-side
stuff, so I'll have to use 'adddriver' in rpcclient.
I've read the manual page for rpcclient, and I printed out a 'Windows
2000 Printer Test Page' to get all the relevant information.
This is probably just something simple, but I've checked this out a
couple of times and keep getting a syntax error. Do I have...
2003 Aug 06
1
adddriver rpc command generates segmentation fault
....PPD]
Configfile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\PS5UI.DLL]
Helpfile: [C:\WINNT\system32\spool\DRIVERS\W32X86\3\PSCRIPT.HLP]
Dependentfiles:
[C:\WINNT\system32\spool\DRIVERS\W32X86\3\PSCRIPT.NTF]
Monitorname: [b]
Defaultdatatype: [b]
This is the adddriver command and its output:
rpcclient -Uroot%wDs1Tl0c -d3 -c 'adddriver "Windows NT x86" \
"mhx lab hp ps:PSCRIPT5.DLL: \
HP8000_7.PPD:ps5ui.dll,pscript.hlp: \
NULL:RAW:pscript.ntf"' socra...
2003 Jun 29
2
rpcclient returns NT_STATUS_NO_SUCH_DEVICE on adddriver
Hi,
samba 2.2.8a freshly compiled
cups 1.1.19final-1 (debian)
while using cupsaddsmb, all runs well until adddriver, when rpcclient
returns a cryptic NT_STATUS_NO_SUCH_DEVICE. I've followed the
SambaPrintHowto 3.0 from 7.11.6.1 to 7.11.6.6, and it fails on the
latest as well.
Here is some more information.
===8<===
cupsaddsmb -a -v
Running command: smbclient //localhost/print\$ -N -U'root%password...
2003 Dec 09
1
rpcclient / adddriver returns WERR_ACCESS_DENIED
...rivers for Windows-Clients
with Samba 3.0.0-final. Everything worked fine so far. But I found no
way to add the printer driver files to the samba database. The method
using the Add Printer Wizard in W2k did not work for me.
This is what I tried:
linux4:/# rpcclient -U'root%secret' -c 'adddriver "Windows NT x86"
"LJ6:HPBLEF2.DLL:HPBLEF49.PMD:HPBLEF0.DLL:HPBLEFJE.HLP:NULL:RAW:HPBLEF1.DLL,HPBLEF3.DLL,HPBLEF7.DLL,hpbafd32.dll,hpbftm32.dll,HPBLEF41.DLL,HPBLEF42.DLL,HPDCMON.DLL" ' localhost
result was WERR_ACCESS_DENIED
Any "hints" are very welcome!!
Have...
2006 Apr 19
2
adddriver: too many files - string overflow
Hello,
I need adddriver to samba network printer, but I have problem with too
many driver depend files in it. String with files is 1928 char long
I am receiving this message:
ERROR: string overflow by 1 (1024 - 1023) in safe_strcpy [adddriver
"Windows NT x86" "Canon PIXMA iP4000":CN]
this is my at...
2003 Apr 23
1
rpcclient (adddriver: move_driver to_download_area, fail)
...re/cups/drivers/
and a directory in /etc/samba/drivers for the targetdrivers after i run
cupsaddsmb.
But when i run cupsaddsmb, directorys named Win40 and W32X86 in /etc/samba/drivers
is created. And the files from /usr/share/cups/drivers in the directorys.
But when cupsaddsmb is running "adddriver..." it fails. This
is what is written in the logfile when adddriver is executed :
--SNIP-- move_driver_to_download_area: Unable to rename [WIN40/ADOBEPS4.DRV]
to [WIN40/0/ADOBEPS4.DRV] move_driver_to_download_area: Unable to rename
[W32X86/ADOBEPS5.DLL] to [W32X8 6/2/ADOBEPS5.DLL]
------...
2004 Aug 16
1
Rpcclient "adddriver" issue
Hi All,
I am experiencing a problem with using the rpcclient "adddriver" command,
the error response says something like:
" lsa_io_sec_qos: length c does not match size 8"
I received this message with debug level 3 and the adddriver command.
How should I interpret this message? I thought it might be a dos filename
(i.e., 8.3) issue since my driver f...
2007 May 25
3
adddriver issue
I'm trying to adddriver using rpcclient but this error happens:
ERROR: string overflow by 1 (1024 - 1023) in safe_strcpy [adddriver "Windows NT
x86" "HP LaserJet 4250 PCL5e]
The "server properties" add driver button is disable.... yes, I'm print operator:
printserver:~ # net rpc rights li...
2003 May 20
4
error with cupsaddsmb - adddriver
Hello,
I have installed cups on a linux server (running with RH 9.0).
When executing "cupsaddsmb -a -v", I get an error: NT_STATUS_UNSUCCESSFULL,
when attemping to execute adddriver".
Can someone help on the meaning of this error, and on its reason (cause) ?
Please find hereafter a file with result (and the error) of this commmand
"cupsaddsmb", for a printer:
(See attached file: extrait)
Thanks,
Best regards,
Nadine
2005 Feb 08
1
About rpcclient and adddriver command
...a with good results. Nowadays, we have
the cups postscript driver in the server for windowsNT/2000/XP and it works
fine, but i want to put the hp postscript driver as we have 2 hp printers.
I put the postscript driver via rpcclient without no problem:
rpcclient -U'admin%pass' -c 'adddriver \
"Windows NT x86" \
"printer1:driver: config:help:NULL:RAW:NULL" ' \
localhost
It worked okay, but when i wanted to put the hp drivers downloaded from
their
homepage it doesn't. The error with debug level 3 after some text... is:
lsa_i...
2002 Nov 21
1
rpcclient: adddriver: lsa_io_sec_qos: length c does not match size 8
Hello,
My commandline looks like this:
rpcclient localhost -d4 -c 'adddriver "Windows NT x86"
"HPLJ4050:PSCRIPT5.DLL:HPLJ4050.PPD:PS5UI.DLL:PSCRIPT.HLP:NULL:RAW:PSCRIPT.NTF,PSCRPTFE.NTF"'
The output is:
Serverzone is -3600
Initialising global parameters
params.c:pm_process() - Processing configuration file "//etc/samba/smb.conf"
Proces...
2004 Jun 30
0
Help on " rpcclient3 adddriver "
I've a more 'normal' error, first error posted was due to a bad IP :/
now when i do:
rpcclient3 -Uadm%passwd -c 'adddriver "Windows NT x86" \
"SHARP AR-M350U PCL5e:tiger5k.dll: \
tiger5k.dll:tiger5u.dll:tiger5.hlp: \
NULL:RAW:tiger5l.dll,tiger5p.dll, \
tiger5c.dll,tiger5j.dll,tiger5q.exe,\
tiger5x.dll,tiger5s.dll,tiger5wu.dll,\
tiger5wk.dll,tiger5z.exe"' 172.21.161.10
i've got... :
par...
2008 Feb 12
0
rpcclient adddriver WERR_BADFILE
I'm not having any luck using the rpcclient adddriver functions to
install windows point-and-print drivers into print$.
The add printer wizard fails after copying the files to \\SERVERX\print
$\W32X86 so I am trying to install using rpcclient to see if it tells
me anything more.
I'm using the cups v6 drivers to test with. I get the same...
2008 Jul 09
1
rpcclient 'adddriver issue HP Deskjet 1220C
On Wednesday 09 July 2008 05:40:19 am Andreas Oster wrote:
> I have copied the driver files to /var/lib/printers prior to executing
> the adddriver command !
The drivers need to be copied to the directory returned by the "getdriverdir"
rpc command. On my system the output looks like:
rpcclient $> getdriverdir
rpc_pipe_bind: Remote machine localhost pipe \spoolss fnum 0x772d bind request
returned ok.
Directory Name:[\\LOCAL...
2004 Jan 25
1
Samba] Samba3 Printer drivers installation
...t; Hello,
>
> I am having problems installing printer drivers for Samsung ML-4500
> printer, so windows workstation can just fetch them from print$ share.
> When I run rpcclient with -d 4 i get the following error:
>
> whale:/home/samba/home# rpcclient -d 4 -Uroot%xxxx -c 'adddriver
> "Windows NT x86"
> "SSGK2:ssgk2.cnt:ssgk2.dat:ssgk2.dll:ssgk2.hlp:ssgk2.ini:ssgk2.sdd:ssgk2su.dll:ssgk2ui.dll:ssgk2um.dll'
> WHALE
Your command is wrong. I can see this by just counting the "colons" in
it. There must be exactly 7 colons -- yours has 9!...
2003 May 06
3
Problems adding print drivers
...ble using cupsaddsmb.
I isolated the problem to a rpcclient and here is the information I gathered from the various commands.
If I delete all the files in "/var/lib/samba/drivers" cupsaddsmb installs the folders and files, but doesn't move the files in to the WIN40/0 folder with the adddriver command.
I am using SuSE 8.1 with samba 2.2.5
Attached are early revisions of my system configuration instructions with details on how I installed all my services. They aren't finished, but I thught they may help incase I missed something.
Thanks!
*-*-*-*-*-*-*-*-*-*- cupsaddsmb -*-*-*-*...
2010 Sep 22
1
rpcclient errors
...ba/drivers/W32X86:
2
/etc/samba/drivers/W32X86/2:
cups5.hlp cupsdrv5.dll cupsui5.dll sambafax.ppd
/etc/samba/drivers/WIN40:
0
/etc/samba/drivers/WIN40/0:
ADFONTS.MFM ADOBEPS4.HLP ICONLIB.DLL sambafax.ppd
ADOBEPS4.DRV DEFPRTR2.PPD PSMON.DLL
I've tried to run rpcclient with the "adddriver" subcommand which fails with
an different error for these 2 cases, and nothing specific in the error
messages to indicate what really is the problem:
# rpcclient -U 'Name%passwd' -c 'adddriver "Windows NT x86"
"sambafax:cupsdrv5.dll:sambafax.ppd:cupsui5.dll:cups5....
2003 Feb 26
1
more rpcclient weirdness
rpcclient $> adddriver "Windows NT x86" "HP CLJ 8500 - PCL":NULL:NULL:NULL:NULL:NULL:NULL:NULL
result was NT_STATUS_UNSUCCESSFUL
rpcclient $> adddriver "Windows 4.0" "HP CLJ 8500 - PCL":NULL:NULL:NULL:NULL:NULL:NULL:NULL
Printer Driver HP CLJ 8500 - PCL successfully installed....
2007 Jun 04
3
Rpcclient adddriver Samba 3.0.25
...mitted as the only switch.
#!/bin/bash -x
RPC="/usr/local/samba/bin/rpcclient"
ARCH='Windows NT R4000'
#ARCH='Windows NT x86'
DRIVER='HP LaserJet 4Si/4Si MX
PS:pscript.dll:hp4si_v4.ppd:pscriptui.dll:pscript.hlp:NULL:raw:NULL'
SYSTEM=scooby
$RPC -U markg -c adddriver "$ARCH" "$DRIVER" $SYSTEM
The correct files are copied to: /var/lib/samba/printers/W32MIPS. And there
is a directory named "2" under the W32MIPS directory.
I've also tried adding it from the rpcclient prompt, which produced the
following error message:...