summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-25 13:39:08 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-25 13:39:08 +0000
commit863c787b020eaf2dc648f51087f5ce3d2c82ab2c (patch)
tree45b60bf41d0e66146a88490c943dba32b5015edd /source3/include
parentef46e64510c8625f0c7c0fdfa2ccde79218d079b (diff)
downloadsamba-863c787b020eaf2dc648f51087f5ce3d2c82ab2c.tar.gz
samba-863c787b020eaf2dc648f51087f5ce3d2c82ab2c.tar.bz2
samba-863c787b020eaf2dc648f51087f5ce3d2c82ab2c.zip
added set logon, logoff, kickoff etc time functions.
(This used to be commit dab9728a4376cc52d6e53b09b5f42d08712330d6)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9af21c5637..48cda04561 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1593,6 +1593,11 @@ struct sam_disp_info *pdb_sam_to_dispinfo(struct sam_passwd *user);
struct smb_passwd *pdb_sam_to_smb(struct sam_passwd *user);
struct sam_passwd *pdb_smb_to_sam(struct smb_passwd *user);
time_t pdb_get_last_set_time(char *p);
+void pdb_set_logon_time(char *p, int max_len, time_t t);
+void pdb_set_logoff_time(char *p, int max_len, time_t t);
+void pdb_set_kickoff_time(char *p, int max_len, time_t t);
+void pdb_set_can_change_time(char *p, int max_len, time_t t);
+void pdb_set_must_change_time(char *p, int max_len, time_t t);
void pdb_set_last_set_time(char *p, int max_len, time_t t);
char *pdb_encode_acct_ctrl(uint16 acct_ctrl);
uint16 pdb_decode_acct_ctrl(char *p);