summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-15 20:00:41 +0000
committerJeremy Allison <jra@samba.org>1998-04-15 20:00:41 +0000
commit041a292c439189206f1c35de94893dd51a1fda33 (patch)
treec8094c539cfd9ea401997b819ec4967f41970766 /source3/include
parent6de5509a458627814696bc3d58bb1d58a4a53dc4 (diff)
downloadsamba-041a292c439189206f1c35de94893dd51a1fda33.tar.gz
samba-041a292c439189206f1c35de94893dd51a1fda33.tar.bz2
samba-041a292c439189206f1c35de94893dd51a1fda33.zip
ipc.c: Fix for printer queue spinning with Win95.
nmbd.c: Fix for always overwriting log despite append setting. smb.h: Addition of last time password changed entry to account info. smbpass.c: Changes to support last time changed field in smbpasswd file. smbpasswd.c: Changes to support last time changed field in smbpasswd file. util.c: Fix for always overwriting log despite append setting. Jeremy. (This used to be commit eb4fe9ecdf539209efab07dc992447ea7370cf93)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/include/smb.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 07df90e1bd..c5c7c1e846 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1697,6 +1697,7 @@ unsigned long getsmbpwpos(void *vp);
BOOL setsmbpwpos(void *vp, unsigned long tok);
struct smb_passwd *getsmbpwnam(char *name);
struct smb_passwd *getsmbpwuid(unsigned int uid);
+char *encode_acct_ctrl(uint16 acct_ctrl);
BOOL add_smbpwd_entry(struct smb_passwd *newpwd);
BOOL mod_smbpwd_entry(struct smb_passwd* pwd);
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 95521217e9..46e282b2ba 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -287,6 +287,7 @@ struct smb_passwd
unsigned char *smb_nt_passwd; /* Null if no password */
/* Other fields / flags may be added later */
uint16 acct_ctrl;
+ time_t last_change_time;
};
struct cli_state {