diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-29 13:24:42 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-29 13:24:42 +0000 |
commit | a2cbf43a6d6166ac35513e2cc78b98736345181e (patch) | |
tree | ee7ec88e8506acc4120976760666d648f473088e /source3/include | |
parent | 87ea4b93ecde16a4156c9c307ad477537a837ef4 (diff) | |
download | samba-a2cbf43a6d6166ac35513e2cc78b98736345181e.tar.gz samba-a2cbf43a6d6166ac35513e2cc78b98736345181e.tar.bz2 samba-a2cbf43a6d6166ac35513e2cc78b98736345181e.zip |
split ntclient.c down into appropriate modules.
(This used to be commit 50d7e4d6f6b5d770742ee83523d6146cf51f8259)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 38 | ||||
-rw-r--r-- | source3/include/smb.h | 2 |
2 files changed, 39 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 944e92e450..a02fa86bb9 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -656,6 +656,44 @@ void sync_browse_lists(struct subnet_record *d, struct work_record *work, BOOL do_nt_login(char *desthost, char *myhostname, int Client, int cnum); +/*The following definitions come from ntclientlsa.c */ + +BOOL do_lsa_open_policy(uint16 fnum, uint32 call_id, + char *server_name, LSA_POL_HND *hnd); +BOOL do_lsa_query_info_pol(uint16 fnum, uint32 call_id, + LSA_POL_HND *hnd, uint16 info_class, + fstring domain_name, pstring domain_sid); +BOOL do_lsa_close(uint16 fnum, uint32 call_id, + LSA_POL_HND *hnd); + +/*The following definitions come from ntclientnet.c */ + +BOOL do_lsa_req_chal(uint16 fnum, uint32 call_id, + char *desthost, char *myhostname, + DOM_CHAL *clnt_chal, DOM_CHAL *srv_chal); +BOOL do_lsa_auth2(uint16 fnum, uint32 call_id, + char *logon_srv, char *acct_name, uint16 sec_chan, char *comp_name, + DOM_CHAL *clnt_chal, uint32 neg_flags, DOM_CHAL *srv_chal); +BOOL do_lsa_sam_logon(uint16 fnum, uint32 call_id, + uint32 sess_key[2], DOM_CRED *sto_clnt_cred, + char *logon_srv, char *comp_name, + DOM_CRED *clnt_cred, DOM_CRED *rtn_cred, + uint16 logon_level, uint16 switch_value, DOM_ID_INFO_1 *id1, + LSA_USER_INFO *user_info, + DOM_CRED *srv_cred); +BOOL do_lsa_sam_logoff(uint16 fnum, uint32 call_id, + uint32 sess_key[2], DOM_CRED *sto_clnt_cred, + char *logon_srv, char *comp_name, + DOM_CRED *clnt_cred, DOM_CRED *rtn_cred, + uint16 logon_level, uint16 switch_value, DOM_ID_INFO_1 *id1, + DOM_CRED *srv_cred); + +/*The following definitions come from ntclientpipe.c */ + +uint16 open_rpc_pipe(char *inbuf, char *outbuf, char *rname, int Client, int cnum); +BOOL bind_rpc_pipe(char *pipe_name, uint16 fnum, uint32 call_id, + RPC_IFACE *abstract, RPC_IFACE *transfer); + /*The following definitions come from params.c */ BOOL pm_process( char *FileName, diff --git a/source3/include/smb.h b/source3/include/smb.h index ab1ff0557f..62c3fec19d 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -584,7 +584,7 @@ typedef struct rpc_iface_info typedef struct rpc_addr_info { uint16 len; /* length of the string including null terminator */ - fstring addr; /* the string above in single byte, null terminated form */ + fstring str; /* the string above in single byte, null terminated form */ } RPC_ADDR_STR; |