Displaying 20 results from an estimated 151 matches for "setdriver".
2003 Jun 26
8
2.2.8a, printer driver download: need to use setdrive r
...load all the drivers.. for all the OS's... how do I tell
which drivers go with which printer?
-----Original Message-----
From: Andreas [mailto:andreas@conectiva.com.br]
Sent: Thursday, June 26, 2003 9:24 AM
To: samba@lists.samba.org
Subject: [Samba] 2.2.8a, printer driver download: need to use setdriver
Hello
I'm setting up the automatic printer driver download feature, and it works
nicelly except for one little thing: I have to use, on the samba machine,
rpcclient's setdriver command to associate a printer with its driver.
I didn't see this requirement in the Samba howto, it only...
2003 Jun 26
1
2.2.8a, printer driver download: need to use setdriver
Hello
I'm setting up the automatic printer driver download feature, and it works
nicelly except for one little thing: I have to use, on the samba machine,
rpcclient's setdriver command to associate a printer with its driver.
I didn't see this requirement in the Samba howto, it only mentions setdriver
as a way to speed up large installations. Am I missing something? Should
windows make this association automatically when it uploads the driver to
the samba [print$] sha...
2003 Mar 10
0
AW: rpcclient setdriver fails: WERR_INVALID_PRINTER_NAME
Hi Kurt,
You are absolutely right (as always). After restarting smb, rpcclient
setdriver works fine.
May be - in the next future release - cupsaddsmb will work.
Thank you very much.
Bernhard
-----Urspr?ngliche Nachricht-----
Von: Kurt Pfeifle [mailto:kpfeifle@danka.de]
Gesendet: Samstag, 8. M?rz 2003 12:06
An: samba@lists.samba.org
Betreff: [Samba] rpcclient setdriver fails: WERR_IN...
2002 Jul 16
1
rpcclient and setdriver
Hello,
I'm trying to use rpcclient 'setdriver' as an unprivileged user; a
special lpadmin user with very limited rights has been created, and
ownership of the location of driver files (/home/PrintDrivers) given to him.
when executing the smbclient and rpc commands like cupsaddsmb does,
nearly everything works fine, except the last com...
2002 Dec 13
0
APW print problems with Samba 2.2.7a & CUPS, enumprinters, setdriver fail.
...= 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_UNSUCCESSFUL
--------------------------------------------------------
Change of settings
--------------------------------------------------------
If I chan...
2004 Jun 21
2
rpcclient setdriver WERR_ACCESS_DENIED
Hello Admins,
We serve printing to XP clients with Samba 3.0.4 and CUPS 1.1.20
I get the following error when trying to issue this command:
xprint-admin:/home/suarezry# rpcclient localhost -N
-U'username%password' -c 'setdriver oa-e108-e2 oa-e108-e2'
result was WERR_ACCESS_DENIED
<snip>
000018 spoolss_io_r_open_printer_ex
000018 smb_io_pol_hnd printer handle
0018 data1: 00000000
001c data2: 00000002
0020 data3: 0000
0022 data4: 0000
0024 data5: 55 df d6 40 fa 01 00 00...
2006 Jul 20
1
setdriver fails with WERR_ACCESS_DENIED
...1:
Driver Name: [hp1]
The user "flavien" has PrintOperator privileges :
$ net rpc rights list flavien -U flavien
Password:
SePrintOperatorPrivilege
SeDiskOperatorPrivilege
I try to set the driver to the printer :
$ rpcclient localhost -U flavien -c 'setdriver hp1 hp1'
Password:
result was WERR_ACCESS_DENIED
Something that looks suspicious to me :
$ rpcclient localhost -U flavien -c 'getdriverdir "Windows NT x86"'
Password:
Directory Name:[\\LOCALHOST\print$\W32X86]
Shouldn't it be the netbios n...
2003 Mar 07
1
rpcclient setdriver fails: WERR_INVALID_PRINTER_NAME
...1.8.
The Microsoft clients (Win9x, Win NT, Win 2k) is downloading the
driver from the server.
I had no problem to install and upload up to 2 printers but now I am
not able to set the driver.
I can install more printers, but when cupsaddsmb is running
rpcclient -N -U 'root%secret' -c 'setdriver zae zae'
I get the "result was NT_STATUS_UNSUCCESSFUL" messages.
This is cut out of the debug-log of rcpclient.
==============================================================
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint32(588)...
2002 Nov 08
0
cusaddsmb and setdriver
...LIB.DLL"'
cmd = adddriver "Windows 4.0"
"infolp:ADOBEPS4.DRV:infolp.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,
DEFPRTR2.PPD,ICONLIB.DLL"
Printer Driver infolp successfully installed.
Running command: rpcclient bouffon -N -U'DOMAINNAME\root%secret' -c
'setdriver infolp infolp'
cmd = setdriver infolp infolp
result was NT_STATUS_UNSUCCESSFUL
And setdriver executable isn't on the server, is it normal??
Or maybe my command is not good?
Someone has an idea?
Thanks a lot for your help, MO
2005 Oct 04
0
rpcclient 'setdriver' problem
...t shares and the Samba server from a windows box. From
rpcclient, I have installed the print driver for the printer using the
'adddriver' command. I can see my printers in 'enumprinters', and can
see the driver from 'enumdrivers'. The problem is when I go try the
'setdriver' command. It fails with a "WERR_ACCESS_DENIED". I've
looked at the debug from this command but nothing pops out at me. Any
advice would be appreciated. I have verified that the 'use client
driver = no' is set in the smb.conf thinking that might be an issue.
I'm...
2005 Oct 14
0
setdriver - Access Denied
Hi, I'm trying to follow through the printing howto and I'm having a bit
of a nightmare trying to use the rpcclient -c 'setdriver ...' utility.
I keep getting WERR_ACCESS_DENIED errors. I tried setting up a root user
with smbpasswd but I get NT_STATUS_LOGON_FAILURE if I try to run
rpcclient with -U root. I think there must be something fundamental to
authentication that I don't understand. Also, I noticed that tes...
2013 Jan 11
0
werr_access_denied when running setdriver for a printer
Hi all,
I'm getting WERR_ACCESS_DENIED error for some of the printers when running
setdriver printer_name printer_driver as part of the cupsaddsmb step.
Weirdly, it works for some printers, and never works for others, while all
the printers have the same settings. Samba 3.5.20 with CUPS 1.5.4.
Does this part of log give any clue of why could this happen?
function print_access_check() --...
2024 Oct 08
1
rpcclient setdriver fails with WERR_ACCESS_DENIED
On Tue, 8 Oct 2024 14:58:11 +0200
Peter Koch via samba <samba at lists.samba.org> wrote:
> Hi Rowland,
>
> Thanks very much for your quick response.
>
> > Have you tried the command with a member of Domain Admins instead of
> > Administrator ?
>
> I just did and I now feel that something is wrong with
> our Administrator-account.
Probably not.
2002 Aug 30
1
cupsaddsmb - problem
...PRTR2.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_00...
2003 May 05
5
Rpcclient - setdriver.
I have done one succesful driver for downloading to my windows 2000-client.
When i try set another with "setdriver " I get a result as : SetPrinter call failed!
The only differens between them is in the desritption-field
flags:[0x800000]
name:[\\localhost\HP4600]
description:[\\localhost\HP4600,HP4600,H4600]
comment:[H4600]
flags:[0x800000]
name:[\\localhost\HP4...
2024 Oct 07
1
rpcclient setdriver fails with WERR_ACCESS_DENIED
...ocally installed drivers.
root at serv00:# rpcclient -Uprtadmin%pass1 SERV00 -c enumprinters
flags:[0x800000]
name:[\\SERV00\]
description:[\\SERV00\,,Edv04K]
comment:[Edv04K]
But setting the driver fails:
root at serv00:# rpcclient -Uprtadmin%pass1 SERV00 -c 'setdriver Edv04K
"Kyocera TASKalfa 5052ci NAEV"'
result was WERR_ACCESS_DENIED
I assume this happens due to missing SePrintOperatorPrivilege for
user prtadmin.
But how do I properly grant SePrintOperatorPrivilege.
The following command is sucessfull on the AD-machine:
root at ns1:# net -U &...
2004 Jun 30
0
Help on rpcclient setdriver
I want to install a driver on a print server, i'm looking at this doc:
http://us1.samba.org/samba/docs/man/howto/CUPS-printing.html#id2563056
i did:
root#rpcclient3 -U'adm%passwd' NT-SERVER -c 'getdriver printer 3'
[Windows NT x86]
Printer Driver Info 3:
Version: [3]
Driver Name: [SHARP AR-M350U PCL5e]
Architecture: [Windows NT x86]
Driver Path:
2002 Aug 06
3
Samba Print Driver Errors
...lient print -U Administrator -c "enumprinters"
Password:
cmd = enumprinters
flags:[0x800000]
name:[\\print\P38HP5SI]
description:[\\print\P38HP5SI,,HP 5Si Laserjet (Tech Team)]
comment:[HP 5Si Laserjet (Tech Team)]
rpcclient print -U Administrator -c "setdriver P38HP5SI \"HP
Laserjet 5Si\""
Password:
cmd = setdriver P38HP5SI "HP LaserJet 5Si"
result was NT_STATUS_UNSUCCESSFUL
rpcclient print -U root -c "setdriver P38HP5SI \"HP LaserJet
5Si\""
Password:
cmd = setdriver P38HP5SI "HP LaserJet 5Si"
SetPr...
2024 Oct 08
1
rpcclient setdriver fails with WERR_ACCESS_DENIED
...0:# rpcclient -Uprtadmin%pass1 SERV00 -c enumprinters
> flags:[0x800000]
> name:[\\SERV00\]
> description:[\\SERV00\,,Edv04K]
> comment:[Edv04K]
>
> But setting the driver fails:
>
> root at serv00:# rpcclient -Uprtadmin%pass1 SERV00 -c 'setdriver Edv04K
> "Kyocera TASKalfa 5052ci NAEV"'
> result was WERR_ACCESS_DENIED
>
> I assume this happens due to missing SePrintOperatorPrivilege for
> user prtadmin.
>
> But how do I properly grant SePrintOperatorPrivilege.
>
> The following command is sucessfu...
2005 Jun 07
0
Cupsaddsmb only running "setdriver"
...AGE-----
Hash: SHA1
Hi All,
I downloaded a fresh cd (Debian 3.1) to install a Printserver with.
I've come to the bit that I can run cupsaddsmb, and expected it to
run smbclient to add the drivers to the print$ share, and then
rpcclient to do the "addriver" part and finaly the "setdriver" part.
Unfortunatly, it is doing only the setdriver part, completely
skipping all the previous steps it should take.
This is the output:
amsprint:/home/mark# cupsaddsmb -U root -v -a
Password for root required to access localhost via SAMBA:
Running command: rpcclient localhost -N -U'roo...