summaryrefslogtreecommitdiff
path: root/source3/include/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/client.h')
-rw-r--r--source3/include/client.h30
1 files changed, 29 insertions, 1 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 6d0be057ae..dde377f484 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -28,6 +28,34 @@
* These definitions depend on smb.h
*/
+typedef struct
+{
+ SMB_OFF_T size;
+ int mode;
+ uid_t uid;
+ gid_t gid;
+ /* these times are normally kept in GMT */
+ time_t mtime;
+ time_t atime;
+ time_t ctime;
+ pstring name;
+} file_info;
+
+struct pwd_info
+{
+ BOOL null_pwd;
+ BOOL cleartext;
+ BOOL crypted;
+
+ fstring password;
+
+ uchar smb_lm_pwd[16];
+ uchar smb_nt_pwd[16];
+
+ uchar smb_lm_owf[24];
+ uchar smb_nt_owf[24];
+};
+
struct cli_state {
int fd;
int cnum;
@@ -52,7 +80,7 @@ struct cli_state {
struct in_addr dest_ip;
struct pwd_info pwd;
- char cryptkey[8];
+ unsigned char cryptkey[8];
uint32 sesskey;
int serverzone;
uint32 servertime;