From 041a292c439189206f1c35de94893dd51a1fda33 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 15 Apr 1998 20:00:41 +0000 Subject: 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) --- source3/include/proto.h | 1 + source3/include/smb.h | 1 + 2 files changed, 2 insertions(+) (limited to 'source3/include') 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 { -- cgit