summaryrefslogtreecommitdiffstats
path: root/source/include/rpcclient.h
Commit message (Collapse)AuthorAgeFilesLines
* set of changes in the beginning of bringing rpcclient changesGerald Carter2001-03-141-1/+1
| | | | | | | | | | | | | | | | | back to working order. The main change is that the cli_*() RPC functions from libsmb/*.c now should accept a struct cli_state*. The reason for this is that rpcclient should establish the connection to the server at startup so that it is not necessary to keep the clear test or password hash in memory for each command. enumports and enumprinters now works as well. lsa* functions have been tested. SAMR calls may or may not work (one of the core dumps I know), but it compiles :-) jerry
* Merge of various fixes from the tng headers.Tim Potter2001-01-111-133/+12
|
* type for client_info structGerald Carter2000-12-111-2/+2
|
* added -P (for no prompt) and -A <authfile> optionsGerald Carter2000-08-291-0/+1
| | | | jerry
* first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter2000-07-031-1/+29
| | | | | | | | | | | | | | semi-connection and a rpcclient prompt, but no functionality there yet. Will be a few more days on that. The changes to the header files were minor. A few struct's and a few additional fields to existing ones. No deletions. **minimal change necessary** :-) Well, maybe not minimal, but I tried. All other programs compile, link and run ok from what I can tell so I don;t think I broke anything. --jerry
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-16/+38
|
* ABOUT TIME!!!!!!!!Luke Leighton1999-12-081-0/+3
| | | | | | | | | | | | | | | damn, this one is bad. started, at least two days ago, to add an authentication mechanism to the smbd<->msrpc redirector/relay, such that sufficient unix / nt information could be transferred across the unix socket to do a become_user() on the other side of the socket. it is necessary that the msrpc daemon inherit the same unix and nt credentials as the smbd process from which it was spawned, until such time as the msrpc daemon receives an authentication request of its own, whereupon the msrpc daemon is responsible for authenticating the new credentials and doing yet another become_user() etc sequence.
* further abstraction involving client states. main client-side codeLuke Leighton1999-11-271-2/+12
| | | | | is pretty much independent of SMB client states, which will make it easier to add other transports.
* whoa. _major_ restructure of rpcclient. fixed some buuugs, created a few.Luke Leighton1999-11-261-24/+0
| | | | | | found out that getopt() _must_ have optind set to 0 before reuse. still haven't decided what to do with the net* api yet...
* rpcclient regenum key client code rewritten to use higher order functions.Luke Leighton1999-10-291-4/+0
|
* removed samr_* variables from info struct.Luke Leighton1999-10-281-10/+0
|
* - initialising mach_passwd_file locks to zero (prev. uninit.)Luke Leighton1999-09-121-0/+2
| | | | | | | - cleanup - #defined report to sprintf as it's #defined to another function in other uses of cmd_lsarpc.c
* - adding builtin[alias]db.Luke Leighton1998-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | - lib/sids.c: generate_sam_sid() modified to take a domain name: it now generates "DOMAIN_NAME.SID". reasons: 1) if you run multiple samba servers on the same machine under different netbios names as members of a domain, they won't all use the same SID, which is a _big_ mistake but it would happen _by default_. 2) we have (had) a problem with sid_to_string() and string_to_sid() which cause SIDs to be incorrectly read. one of the major reasons for *NOT* making this change was so as not to disrupt existing users. but as they will be anyway by this bug, we might as well go ahead. - passdb/smbpass.c: wanted to change the meaning of the name in the smbpasswd file to an "nt" name not a "unix" name. this is probably not a good idea: reverted this. - output formatting / bug-fixing in rpcclient query_useraliases code.
* changed syntax of registry commands so keys can start with HKLM or HKU.Luke Leighton1998-11-111-3/+2
| | | | sorted lookupsids command
* rpcclient registry commands.Luke Leighton1998-11-101-2/+7
|
* Added missing display enum.Jeremy Allison1998-09-251-0/+2
| | | | Jeremy.
* Moved the extra struct definitions Luke added to smb.h into rpcclient.hJeremy Allison1998-09-251-0/+118
and client.h. They are still included from smb.h so nothing should change (or break) but this keeps the new definitions easier to maintain. This is similar to what I did with ntdomain.h Jeremy.