diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/smb.h | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 1245b21039..e26c1889a1 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -114,7 +114,7 @@ BOOL cli_send_trans_request(char *outbuf,int trans, int ldata,int lparam,int lsetup, int mdata,int mparam,int msetup); BOOL cli_send_session_request(char *inbuf,char *outbuf); -BOOL cli_send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setup); +BOOL cli_send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setup, struct connection_options *options); void cli_send_logout(void ); BOOL cli_open_sockets(int port ); BOOL cli_reopen_connection(char *inbuf,char *outbuf); diff --git a/source3/include/smb.h b/source3/include/smb.h index 401459becc..ebf0945855 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1628,6 +1628,25 @@ struct connect_record time_t start; }; +/* This is used by smbclient to send it to a smbfs mount point */ +struct connection_options { + int protocol; + /* Connection-Options */ + uint32 max_xmit; + uint16 server_uid; + uint16 tid; + /* The following are LANMAN 1.0 options */ + uint16 sec_mode; + uint16 max_mux; + uint16 max_vcs; + uint16 rawmode; + uint32 sesskey; + /* The following are NT LM 0.12 options */ + uint32 maxraw; + uint32 capabilities; + uint16 serverzone; +}; + #ifndef LOCKING_VERSION #define LOCKING_VERSION 4 #endif /* LOCKING_VERSION */ |