summaryrefslogtreecommitdiff
path: root/source4/libnet/composite.h
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-07-27 21:46:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:06 -0500
commit5cc8a42a058a6d8850143cae68e87f1395de99cc (patch)
tree5a52fc483286b8f94b113eda351fe52758f054c3 /source4/libnet/composite.h
parent5b94a9583f5fa167729fc6e425ae748c740a1ae1 (diff)
downloadsamba-5cc8a42a058a6d8850143cae68e87f1395de99cc.tar.gz
samba-5cc8a42a058a6d8850143cae68e87f1395de99cc.tar.bz2
samba-5cc8a42a058a6d8850143cae68e87f1395de99cc.zip
r8807: Modifying datetime field using struct timeval argument rather than
text-based, after recent discussion with both Andrews :) Basic test seems to work (at least it doesn't fail now). rafal (This used to be commit 1bc3162e9441aeae1d8c4b4f03b5b75eb848f4bf)
Diffstat (limited to 'source4/libnet/composite.h')
-rw-r--r--source4/libnet/composite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libnet/composite.h b/source4/libnet/composite.h
index 6fc0886cb3..256590bc5b 100644
--- a/source4/libnet/composite.h
+++ b/source4/libnet/composite.h
@@ -64,6 +64,7 @@ struct libnet_rpc_userdel {
#define USERMOD_FIELD_DESCRIPTION ( 0x00000010 )
#define USERMOD_FIELD_LOGON_SCRIPT ( 0x00000100 )
#define USERMOD_FIELD_PROFILE_PATH ( 0x00000200 )
+#define USERMOD_FIELD_ACCT_EXPIRY ( 0x00004000 )
struct libnet_rpc_usermod {
struct {
@@ -78,6 +79,7 @@ struct libnet_rpc_usermod {
const char *description;
const char *logon_script;
const char *profile_path;
+ struct timeval *acct_expiry;
} change;
} in;
};