search for: rpcclient

Displaying 20 results from an estimated 706 matches for "rpcclient".

2002 Mar 13
0
rpcclient man page and "--help"
There seems to be some discrepancy between rpcclient's man page and "rpcclient --help" in regards to the servername. It seems that the proper usage of rpcclient is rpcclient [options] server this is the format that is specified in "rpcclient --help." rpcclient's man page, however specifies that the servername should...
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 ...
2002 Nov 04
0
2.2.6+acl - strange behaviour
...ot@wolf # -bash 513 ~ root@wolf # sh /rbin/test --- w2kdomain == dom w2kpdc == e231pdc sambahost == wolf winbind separator == + winbind use default domain == no --- => getent group dom+e231 DOM+e231:x:24006:DOM+pichwo,DOM+atest -> rpcclient e231pdc cmd = lookupnames e231 e231 S-1-5-21-507921405-1957994488-839522115-1109 (2) --> rpcclient wolf cmd = lookupnames e231 result was NT_STATUS_NONE_MAPPED -> rpcclient e231pdc cmd = lookupnames dom\e231 dom\e231 S-1-5-21-507921405-1957994488-839522115-1109 (2) --> rpcclient wolf cmd =...
2004 Jan 17
0
Trouble installing Samba 3.0.0 on Linux Slackware 9.0
Hello: I tried to install samba 3.0.0 in slackware 9.0, but 'make' failed: # ... # Compiling rpcclient/rpcclient.c # Compiling rpcclient/cmd_lsarpc.c # Compiling rpcclient/cmd_samr.c # Compiling rpcclient/cmd_spoolss.c # rpcclient/cmd_spoolss.c: In function `get_driver_3_param': # rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards # qualifiers from pointer target type...
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 tools: $ rpcclient -V Version 3.0.33-3.39.el5_8 rpcclient $> dfsenum...
1998 Nov 08
2
make failure
Howdy: I've fumbled my way and un-tarred samba whilst at /. Samba ended up at /samba-1.9.18p10/ I cd /usr/src and made a soft link ln -s /samba-1.9.18p10 samba I changed directory to ...source and edited Makefile uncommenting the #CC=gcc to CC=gcc I then ran 'make' and follows the first line of the ensuing error report: "You forgot to uncomment a host type and flags in
2020 Jul 22
3
rpcclient & smbpasswd user PASSWORD_MUST_CHANGE
...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 PASSWORD_MUST_CHANGE set and my goal is to change this password. During my test is used the following client - rpcclient 4.12.3 -smbpasswd When trying to change the password of the user 'test' with smbpasswd i have no issue and this is behaving like expected (smbpasswd -r 10.10.10.2 -U "CORP.LOCAL\TEST" ) Commands: smbpasswd -r 10.10.10.193 -U "CORP.LOCAL\test" Old SMB password: Ne...
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) -------...
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 tri...
2003 Jul 28
3
Problem with rpcclient command
Hi, I am trying to query a W2K PDC for info on a print driver by issuing the following command: rpcclient -Uxxx%yyy -d 3 -c 'getdriver "HP LaserJet 8000 Series PS"' abert The response I get is: Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" added interface ip=10.219.255.249 b...
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_CO...
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 the f...
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 1: Driver Name: [AGFA-AccuSet v52.3]...
2004 Mar 03
0
rpcclient addprinter error
Hi I am trying to use rpcclient's addprinter to install a printer automatically in a large number of XP workstations (+100) But I get the following: 1) connecting to a XP workstation works fine rpcclient -U root sim31%xxxx rpcclient $> 2) adddriver also works fine. Enumdrivers shows this: rpcclient $> enumdrivers...
2020 Jul 22
0
rpcclient & smbpasswd user PASSWORD_MUST_CHANGE
...not allowed to perform any method on the IPC$ neither to list the share etc.. on the DC with this session(if not allowed) but you're allowed to change your password. Nevertheless my problem do not lie here since the first connection to the IP$ is established but rather on the inner working of rpcclient vs smbpasswd. My question is why do rpcclient perform a 'Connect5/4/2' before performing the 'ChangeUserPassword' is performed in contrary of smbpasswd. In the end this is perfectly working with smbpasswd but the behavior of rpcclient over this method piqued my curiosity Best rega...
2005 Feb 07
1
rpcclient error / printer driver issue
...m 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-print\hin-magi2300]...
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 flags:[0x800000] name:[\\xxxxxxx\hpem] description:[\\xxxxxxx\hpem,HP LaserJet 4050 Series PS,HP LaserJet 4050N PS] comment:[HP LaserJet 40...
2010 Sep 22
1
rpcclient errors
...: W32X86 WIN40 /etc/samba/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...
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...
2005 Feb 08
1
About rpcclient and adddriver command
Hi all!! We have 2 printers shared via samba 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 d...