diff options
author | Gerald Carter <jerry@samba.org> | 2000-07-03 04:26:37 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-07-03 04:26:37 +0000 |
commit | 8d429db41075618372b6a18e7d4eb064f7839467 (patch) | |
tree | 49448a09ab85e0437d42ee55bd0da075673d7400 /source3/include/ntdomain.h | |
parent | 098b7b378c72632d8c3df0b795ac1e4c5dbfb04a (diff) | |
download | samba-8d429db41075618372b6a18e7d4eb064f7839467.tar.gz samba-8d429db41075618372b6a18e7d4eb064f7839467.tar.xz samba-8d429db41075618372b6a18e7d4eb064f7839467.zip |
first pass at merging rpcclient from TNG to HEAD. You can get a
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)
Diffstat (limited to 'source3/include/ntdomain.h')
-rw-r--r-- | source3/include/ntdomain.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 71c55c062c4..424a99c700f 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -221,6 +221,28 @@ struct acct_info uint32 smb_userid; /* domain-relative RID */ }; +struct cli_connection; + +typedef struct cli_auth_fns +{ + /* these three will do for now. they *should* match with server-side */ + BOOL (*create_bind_req) (struct cli_connection *, prs_struct *, + uint32, RPC_IFACE *, RPC_IFACE *); + BOOL (*decode_bind_resp) (struct cli_connection *, prs_struct *); + BOOL (*create_bind_cont) (struct cli_connection *, prs_struct *, + uint32); + /* creates an authenticated PDU */ + BOOL (*cli_create_pdu) (struct cli_connection *, uint8, + prs_struct *, int, int *, + prs_struct *, uint8 *); + /* decodes an authenticated PDU */ + BOOL (*cli_decode_pdu) (struct cli_connection *, prs_struct *, + int, int); + +} +cli_auth_fns; + + /* security descriptor structures */ #include "rpc_secdes.h" |