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/smb.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/smb.h')
-rw-r--r-- | source/include/smb.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h index 5af04f6e938..cb53e7b59eb 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -363,10 +363,20 @@ struct sam_disp_info char *full_name; /* user's full name string */ }; +typedef struct +{ + uint32 pid; + uint16 vuid; + +} +vuser_key; + + struct use_info { BOOL connected; char *srv_name; + vuser_key key; char *user_name; char *domain; }; @@ -1647,6 +1657,31 @@ struct ntdom_info int max_recv_frag; int max_xmit_frag; + + vuser_key key; +}; + +struct msrpc_local +{ + fstring pipe_name; + struct ntdom_info nt; +#if 0 + cli_auth_fns *auth; + void *auth_info; +#endif + + int fd; + BOOL initialised; + char *inbuf; + char *outbuf; +}; + +struct ncacn_np +{ + fstring pipe_name; + struct cli_state *smb; + uint16 fnum; + BOOL initialised; }; #include "rpc_creds.h" |