2 Unix SMB/Netbios implementation.
4 SMB parameters and setup
10 /* the client asks for a smaller buffer to save ram and also to get more
11 overlap on the wire. This size gives us a nice read/write size, which
12 will be a multiple of the page size on almost any system */
13 #define CLI_BUFFER_SIZE (0xFFFF)
16 * These definitions depend on smb.h
19 typedef struct file_info
25 /* these times are normally kept in GMT */
76 * The following strings are the
77 * ones returned by the server if
82 fstring server_domain
;
86 struct nmb_name called
;
87 struct nmb_name calling
;
88 fstring full_dest_host_name
;
89 struct in_addr dest_ip
;
92 unsigned char cryptkey
[8];
96 int readbraw_supported
;
97 int writebraw_supported
;
98 int timeout
; /* in milliseconds. */
109 * Only used in NT domain calls.
112 uint32 nt_error
; /* NT RPC error code. */
113 uint16 nt_pipe_fnum
; /* Pipe handle. */
114 unsigned char sess_key
[16]; /* Current session key. */
115 unsigned char ntlmssp_hash
[258]; /* ntlmssp data. */
116 uint32 ntlmssp_cli_flgs
; /* ntlmssp client flags */
117 uint32 ntlmssp_srv_flgs
; /* ntlmssp server flags */
118 uint32 ntlmssp_seq_num
; /* ntlmssp sequence number */
119 DOM_CRED clnt_cred
; /* Client credential. */
120 fstring mach_acct
; /* MYNAME$. */
121 fstring srv_name_slash
; /* \\remote server. */
122 fstring clnt_name_slash
; /* \\local client. */
123 uint16 max_xmit_frag
;
124 uint16 max_recv_frag
;
127 #endif /* _CLIENT_H */