will be a multiple of the page size on almost any system */
#define CLI_BUFFER_SIZE (0xFFFF)
+
/*
* These definitions depend on smb.h
*/
time_t atime;
time_t ctime;
pstring name;
+ char short_name[13*3]; /* the *3 is to cope with multi-byte */
} file_info;
struct print_job_info
struct in_addr dest_ip;
struct pwd_info pwd;
- unsigned char cryptkey[8];
+ DATA_BLOB secblob; /* cryptkey or negTokenInit */
uint32 sesskey;
int serverzone;
uint32 servertime;
int win95;
uint32 capabilities;
+ TALLOC_CTX *mem_ctx;
+
/*
* Only used in NT domain calls.
*/
- uint32 nt_error; /* NT RPC error code. */
uint16 nt_pipe_fnum; /* Pipe handle. */
unsigned char sess_key[16]; /* Current session key. */
unsigned char ntlmssp_hash[258]; /* ntlmssp data. */
fstring clnt_name_slash; /* \\local client. */
uint16 max_xmit_frag;
uint16 max_recv_frag;
+ vuser_key key;
+ uint32 ntlmssp_flags;
+ BOOL use_kerberos;
+ BOOL use_spnego;
BOOL use_oplocks; /* should we use oplocks? */
+ BOOL use_level_II_oplocks; /* should we use level II oplocks? */
+
+ /* a oplock break request handler */
+ BOOL (*oplock_handler)(struct cli_state *cli, int fnum, unsigned char level);
+
+ BOOL force_dos_errors;
};
#endif /* _CLIENT_H */