summaryrefslogtreecommitdiffstats
path: root/source/rpcclient
Commit message (Collapse)AuthorAgeFilesLines
...
* update the ldap support code. it compiles.Jean-François Micouleau2001-12-132-5/+12
| | | | | | | | Ignacio you can update your howto ;-) samsync: a small patch to try chaning challenges. J.F.
* Fix some compiler warnings.Tim Potter2001-12-131-2/+1
|
* added a -V[erbose] option to samsync. Decode a lot of informationJean-François Micouleau2001-12-122-18/+275
| | | | | | I'm looking at chaining the credentials J.F.
* SAMR query sec obj returns different results depending on which sam handleTim Potter2001-12-111-12/+34
| | | | | | | | | | | | it is passed. Not sure what these different contexts are called or what they are used for. - if a rid is specified to samquerysecobj then use the sam user policy handle for that rid - if -d is specified then use the sam domain policy handle - otherwise just use the sam connect policy handle JF, any ideas about this?
* Grr - people who put const everywhere should fix up all the warnings theyTim Potter2001-12-111-1/+2
| | | | generate.
* Removed unused variable.Tim Potter2001-12-111-3/+1
|
* Doing some research into ACLs on the LSA and SAM policy objects.Tim Potter2001-12-114-350/+117
| | | | | | | - added lsaquerysecobj to rpcclient - renamed querysecobj to samquerysecobj - removed duplicated display_sec_acl() code from cmd_spoolss.c and cmd_samr.c and moved it into display_sec.c
* Compile fix.Tim Potter2001-12-111-2/+2
|
* added enum alias groups to rpcclientJean-François Micouleau2001-12-101-2/+62
|
* Added client and server code for the GetPrintProcessorDirectory SPOOLSSTim Potter2001-12-101-0/+32
| | | | | | rpc. This was supposed to fix a printer driver download bug but it didn't but it seemed a shame to trash all this code so I'm commiting it #ifdef'ed out in case someone needs it one day.
* This change reworkes the connection code for both rpcclient and net newAndrew Bartlett2001-12-031-86/+36
| | | | | | | | | | | 'net' untility. This should make it easier to port rpcclient code across to net. It also allows SPNEGO (the NTLMSSP subsystem in particular) to work, becouse it kills off the early destruction of the clear-text password. Andrew Bartlett
* added queryuseraliases to rpcclientJean-François Micouleau2001-12-021-0/+68
| | | | | | | and some comments to the samr server code, to explain what we should return here. J.F.
* added samr_query_sec_obj. and put back some code to display a securityJean-François Micouleau2001-12-021-8/+201
| | | | | | | | | descriptor. added to samr_lookup_name the choice to select the either the builtin (s-1-5-32) domain or our current domain (s-1-5-21-x-y-z) J.F.
* Renamed sid field in SEC_ACE to trustee to be more in line with MS'sTim Potter2001-11-301-1/+1
| | | | definitions.
* dyn_CONFIGFILE fixups.Tim Potter2001-11-261-4/+3
|
* added "net join" commandAndrew Tridgell2001-11-241-2/+0
| | | | this completes the first stage of the smbd ADS support
* added lsaenumprivsaccount and lsalookupprivvalue to rpcclientJean-François Micouleau2001-11-241-7/+97
| | | | | | and more to come ... J.F.
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-232-4/+0
| | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean.
* added lsa_enum_sids to rpcclientJean-François Micouleau2001-11-221-3/+64
| | | | | | | fixed lsa_enum_rpivs server code. This time it works as W2K. fixed smbgroupedit to compile and work. J.F.
* add another command to rpcclient: getdispname. Show the full descriptionJean-François Micouleau2001-11-221-0/+38
| | | | | | of a privilege. J.F.
* add a command to rpcclient: enumprivsJean-François Micouleau2001-11-221-0/+48
| | | | J.F.
* samr_querydom_info level 1: found the meaning of the unknow fields. AndJean-François Micouleau2001-11-211-0/+51
| | | | | | | | | | | discovered that our reply is short by 4 bytes since day 1 of this code. Added a decode function to rpcclient too. splitted the STRING2 fields filling while trying to understand the win9x userlist bug. (didn't fix the bug, but the reply looks closer to NT). J.F.
* Store some path names in global variables initialized to configureMartin Pool2001-11-192-7/+6
| | | | default, rather than in preprocessor macros.
* FALSE -> FalseTim Potter2001-11-151-1/+1
|
* Fixed some compiler warnings.Tim Potter2001-11-051-8/+8
|
* Allow the logon level to be passed to cli_netlogon_sam_logon() rather thanTim Potter2001-10-301-4/+4
| | | | the validation level.
* Display some errors if the initial connection to the server could not beTim Potter2001-10-301-0/+2
| | | | made.
* Added samlogon command to test against win2k native mode server. I thinkTim Potter2001-10-301-0/+58
| | | | there's a bug in the marshalling of net_sam_logon.
* Converted a bunch of functions to use sscanf %i instead of atoi toTim Potter2001-10-291-11/+14
| | | | allow hex or decimal rids to be specified.
* samr querydispinfo can change level, start index and max entries.Jean-François Micouleau2001-10-221-10/+33
| | | | | | added level 4 decoding. J.F.
* allow the samr commands to work back and the help too ;-)Jean-François Micouleau2001-10-222-46/+24
| | | | J.F.
* the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell2001-10-141-6/+0
| | | | | | | and also completes the switch to lang_tdb.c. SWAT should now work with a po file in the lib/ directory also removed useless SYSLOG defines in many files
* Moved from include subdir.Tim Potter2001-10-121-0/+35
|
* Some old stuff hanging around since the CIFS conference. Big cleanup ofTim Potter2001-10-128-1044/+292
| | | | | | rpcclient code. Refactored cmd_* functions to move common mem_ctx and pipe opening stuff up one level. Moved rpcclient.h into rpcclient directory and out of includes/smb.h
* Fixup insure changes for rpcclient.Jeremy Allison2001-10-031-4/+3
| | | | Jeremy.
* Incorrect definition of debugf.Jeremy Allison2001-10-031-1/+1
| | | | Jeremy.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-029-19/+0
|
* return NT_STATUS_NO_MEMORY istead of NT_STATUS_OK if we are out of memory.Simo Sorce2001-09-291-1/+1
|
* Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.Tim Potter2001-09-181-2/+6
|
* move to SAFE_FREE()Simo Sorce2001-09-172-7/+7
|
* Fix up NTSTATUS stuff in rpcclient's help functionAndrew Bartlett2001-09-151-5/+5
|
* Produce correct lanman and nt hashes in samsync smbpasswd output. TheTim Potter2001-09-141-5/+24
| | | | | output from samsync -p produces the same output as running PWDUMP.EXE on the domain controller except it happens via the sam synchronisation protocol.
* Converted to NTSTATUS return codes.Tim Potter2001-09-061-17/+92
| | | | | | | Started on producing smbpasswd output from user account information. Doesn't work yet. Added -U option so samsync can be run interactively.
* oh fooTim Potter2001-09-051-1/+1
|
* Don't crash if run with no command line arguments. (-:Tim Potter2001-09-051-1/+1
|
* it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell2001-09-046-339/+316
| | | | the build farm
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-043-57/+63
| | | | the client code still needs some work
* the next step in our error code handling changeAndrew Tridgell2001-09-031-3/+3
| | | | | | | | - added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there
* Start of samsync program invoked by smbd to perform sam synchronisation andTim Potter2001-08-281-0/+270
| | | | sam replication. It doesn't work yet. (-:
* Merge of sam sync code from TNG.Tim Potter2001-08-281-3/+217
| | | | | | | | | | | | Reverse-engineered the sam replication protocol from staring at hex dumps for a while. It's pretty similar to the sam sync protocol with a couple of different delta header types. I wasn't able to figure out the format of the privilege stuff - needs more time and a whiteboard. (-: The impressive bit is that the sam sync stuff from tng basically just worked thanks mainly to Luke Leighton's efforts in this area.