summaryrefslogtreecommitdiff
path: root/source3/include/rpcclient.h
AgeCommit message (Collapse)AuthorFilesLines
2001-03-14set of changes in the beginning of bringing rpcclient changesGerald Carter1-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 (This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518)
2001-01-11Merge of various fixes from the tng headers.Tim Potter1-133/+12
(This used to be commit a6d4aad391d2a9e38cbb28d9ddc3e4ff454a759d)
2000-12-11type for client_info structGerald Carter1-2/+2
(This used to be commit 2c03b91d6041082bba6ba4322ed41b4378af7ef3)
2000-08-29added -P (for no prompt) and -A <authfile> optionsGerald Carter1-0/+1
jerry (This used to be commit 2d95c38f7e65a0379cbaadd57b8eb41d830b5a6b)
2000-07-03first pass at merging rpcclient from TNG to HEAD. You can get aGerald Carter1-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 (This used to be commit cd7f0b0b91afd3331c0607ba2fcb3ccdd41ecebf)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-16/+38
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-12-08ABOUT TIME!!!!!!!!Luke Leighton1-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. (This used to be commit 30c7fdd6ef10ecd35594311c1b250b95ff895489)
1999-11-27further abstraction involving client states. main client-side codeLuke Leighton1-2/+12
is pretty much independent of SMB client states, which will make it easier to add other transports. (This used to be commit a1ff7e8fc3129ba4a04722f977bc2d3725d13624)
1999-11-26whoa. _major_ restructure of rpcclient. fixed some buuugs, created a few.Luke Leighton1-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... (This used to be commit 29c480085e786905bfd92ea3cd93658f94e96e47)
1999-10-29rpcclient regenum key client code rewritten to use higher order functions.Luke Leighton1-4/+0
(This used to be commit 6a759c57dcb851aa19d1d4156249a3df112aefd0)
1999-10-28removed samr_* variables from info struct.Luke Leighton1-10/+0
(This used to be commit 4d5b860802528a9d74c2722dc996d6d8fd0b51ef)
1999-09-12- initialising mach_passwd_file locks to zero (prev. uninit.)Luke Leighton1-0/+2
- cleanup - #defined report to sprintf as it's #defined to another function in other uses of cmd_lsarpc.c (This used to be commit 8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae)
1998-11-30- adding builtin[alias]db.Luke Leighton1-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. (This used to be commit e4930f5f48f8246ceec8add8bf769954a963190c)
1998-11-11changed syntax of registry commands so keys can start with HKLM or HKU.Luke Leighton1-3/+2
sorted lookupsids command (This used to be commit 13a0ee851fe0ce9acddfe57f9aba19fc78085c39)
1998-11-10rpcclient registry commands.Luke Leighton1-2/+7
(This used to be commit 36fcb4a6e643a05d06a2a273d74318fee7f2c647)
1998-09-25Added missing display enum.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 535ac8a7c204a223a57d561bb12f1934b852a579)
1998-09-25Moved the extra struct definitions Luke added to smb.h into rpcclient.hJeremy Allison1-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. (This used to be commit 2831e5c9c46e05ecd8c858fac2d93e8baa96d102)