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 | cd7f0b0b91afd3331c0607ba2fcb3ccdd41ecebf (patch) | |
tree | 2e32b6c571b5c5f160a59bd5476146b79bec0381 /source/include/ntdomain.h | |
parent | a04ea15f723e559db3c60bed03318cc7be851f69 (diff) | |
download | samba-cd7f0b0b91afd3331c0607ba2fcb3ccdd41ecebf.tar.gz samba-cd7f0b0b91afd3331c0607ba2fcb3ccdd41ecebf.tar.xz samba-cd7f0b0b91afd3331c0607ba2fcb3ccdd41ecebf.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
Diffstat (limited to 'source/include/ntdomain.h')
-rw-r--r-- | source/include/ntdomain.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/include/ntdomain.h b/source/include/ntdomain.h index 71c55c062c4..424a99c700f 100644 --- a/source/include/ntdomain.h +++ b/source/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" |