Displaying 20 results from an estimated 5000 matches similar to: "incorrect rpcclient usage"
2001 Nov 08
2
Command line DB reads
Is there a way to get information on a print job from the command line? For
example:
> smb_print_query smbprn.00002.a12345
jobid = pr1000-555
filename = Notepad - sample.txt
owner = dan_thibadeau
machine = mylaptop
size = 1234 bytes
or something like that?
Thanks,
Dan Thibadeau
2001 Dec 07
1
Printer Driver Managment
I have a few questions concerning driver managment in Samba.
1) Can you delete a driver once added into Samba? How?
2) How do you tell the difference between a Windows NT and 2000
driver? They all have an <arch> type of "Windows NT x86" that I can tell.
When using "rpcclient adddriver" command how do you set it as NT or 2000?
3) I notice that when I use
2002 May 15
3
connections always mapped to guest
I have setup Samba 2.2.4 on HPUX 11.0. I'm using it only as a print server.
It appears that ALL connections are being mapped to "pcguest" regardless
whether they are valid or not. I do not have a "username map" defined,
"guest ok = yes" is set for my printer share. I am running winbindd, which
seems to be working correctly. I ran the following command 5 times,
2001 Mar 08
1
cancel with a large number of queues
I'm using Samba 1.9.18p10 in our print environment. We have
about 1200 print queues at one of our sites and discovered that we
couldn't cancel print jobs in the 250'th queue or beyond. We solved
the problem by not having more then 250 queues per "netbios alias"
and having a seperate included file for each, but this is inconvienient.
My question is, is this still the case
2014 Jul 09
1
DFS queries via rpcclient to Windows 2012 Server fails
Hello,
We previously had Win2008 R2 DCs which we have begun to replace with Win2012 servers (forest is still at 2008 level however). I was able to query DFS via rpcclient but now I find that I am unable to.
I know that SMB3 was introduced in Win2012 but I believe that it should auto-negotiate earlier versions. I did however test from v4.1.9 as well, unfortunately that still fails.
From Samba3
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 "Windows NT x86" "My
2005 Feb 07
1
rpcclient error / printer driver issue
SUSE 9.1
samba-3.0.9-2.6
samba-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
2002 Aug 07
3
Removing Printer Driver on Samba 2.2.5 using rpcclient
Hi All.
Can anyone give me a hand here?
I'm trying to remove some printer drivers from my samba server running on
FreeBSD 4.6 using rpcclient.
'enumdrivers' shows:
rpcclient $> enumdrivers
[Windows 4.0]
Printer Driver Info 1:
Driver Name: [hp deskjet 930c series]
[Windows NT x86]
Printer Driver Info 1:
Driver Name: [HP DeskJet 930C Series]
Printer Driver Info
2015 Feb 17
2
Using rpcclient with my NetApp fails
Hello:
I have a Netapp 8.2.2P1 7-Mode connected to my Active Directory domain
and the following rpcclient command on CentOS 6.5 is bailing on the
following error:
could not obtain sid for domain QUEST
error: NT_STATUS_ACCESS_DENIED
I've tested this with all stable version of 3.6 etc. I have not tried
the python based rpcclient command yet though.
But after a bit of debugging, it seems that
2020 Jul 22
3
rpcclient & smbpasswd user PASSWORD_MUST_CHANGE
Hello,
First of all I would like to apologize if my mail is not clear, this is my first time doing this kind of things !
I'm currently working within a small AD environment within a single forest-domain which is the following :
- DC Windows 2016
- Archlinux with samba version 4.12.3
I currently have a standard domain user named 'test' which has the attribute
2002 May 29
2
Will rpcclient ever get better?
I was wondering if anyone has heard of someone trying to improve on
rpcclient, specifically regarding the printer-related commands. Also, it
seems that rpcclient has trouble returning a large list of printers
(enumprinters), like in the range of 200. Has anyone heard about this?
Thanks in advance for replies :-)
Thomas Klopf
MMS - Gulf Region (ACS-GS contractor)
-------------- next part
2003 Apr 05
1
Samba 2.2.8 SEGV in rpcclient getdriver on Solaris 7
Hello
I was trying to figure out how to add printer drivers manually for
downloading to Windows 2000 clients and I came accross this problem.
(The printer drivers were installed some time ago using an earlier
version of samba 2.2.x).
$ dbx /usr/local/samba/bin/rpcclient
(dbx) run xxxxxxx -U yyyyyyy
Running: rpcclient xxxxxxx -U yyyyyyy
(process id 4735)
Password:
rpcclient $> enumprinters
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
2006 May 11
1
rpcclient enumdrivers fails with WERR_UNKNOWN_PRINTER_DRIVER
Hello
I've just updated to Samba version 3.0.22 (previously v3.0.4a)
and get the following problem:
rpcclient enumdrivers fails with WERR_UNKNOWN_PRINTER_DRIVER
while rpcclient getdriver works just fine! Can this be?
$ rpcclient -c enumdrivers GUTENBERG
Password: ********
result was WERR_UNKNOWN_PRINTER_DRIVER
$ rpcclient -c 'getdriver lg403-lj5000' GUTENBERG
Password: ********
2010 Sep 22
1
rpcclient errors
I'm running Ubuntu 10.04 LTS and loaded (via apt-get) Samba version 2:3.4.7
as part of the effort to bring up Sambafax. A dpkg-query gives the
following:
# dpkg-query -l | fgrep samba
ii libcrypt-smbhash-perl 0.12-3
generate LM/NT hash of a password for samba
ii samba 2:3.4.7~dfsg-1ubuntu3.1
SMB/CIFS file, print, and login server for U
ii
2013 Aug 19
3
rpcclient netshareenum 502 causes SEGV
Hello:
I have a Windows 2003 Server that is causing rpcclient to SEGV via the
following command:
$ rpcclient -U Administrator%foobar -c 'netshareenum 502' <server>
...
type: 0x6269: SEC_DESC_OWNER_DEFAULTED SEC_DESC_DACL_DEFAULTED
SEC_DESC_SACL_DEFAULTED SEC_DESC_DACL_TRUSTED
SEC_DESC_SACL_AUTO_INHERIT_REQ SEC_DESC_SACL_PROTECTED
SEC_DESC_RM_CONTROL_VALID
SACL
Segmentation fault
2007 Jun 04
3
Rpcclient adddriver Samba 3.0.25
Hello,
I'm trying to use rpcclient to add a driver to a Samba 3.0.25 running on
Gentoo. When I run the script below, rpcclient prints out the same message
as if "--help" was submitted 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
2000 Apr 18
1
rpcclient Shutdown
I have compile rpcclient using the last CVS, and have some questions
regarding it.
I would like to use rpcclient with perl to do a remote shutdown to NT
Workstations on lan.
>From my linux box ( Running Samba 2.0.6 ) I can successfully connect to
the remote NT4.0 Wks, but
the list of commands that I have access is only
regenum regdeletekey regcreatekey regquerykey regdeleteval
2002 Jun 13
1
does rpcclient support ntlmv2?
Is there a way to make rpcclient support ntlmv2? When
I configure my server to only accept ntlmv2 logins, my
rpcclient stops working. I tried the approach needed
to make TNG's rpcclient use ntlmv2 (a line like
"client ntlmv2 = auto" in smb.conf), but it didn't
work.
Thanks,
Dave
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002
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.
rpcclient $>
This is HEAD, bang up-to-date. I'm trying to figure it