summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-11-17 11:56:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:55 -0500
commit9aec081fd9f8fb46e7d97090f97a75ee5cbebde3 (patch)
tree07f753612d05307ced80b59dacd7912bbab96906 /source4/librpc
parentdb95baf55ece57a884b9fdf5342348cc4948e26e (diff)
downloadsamba-9aec081fd9f8fb46e7d97090f97a75ee5cbebde3.tar.gz
samba-9aec081fd9f8fb46e7d97090f97a75ee5cbebde3.tar.bz2
samba-9aec081fd9f8fb46e7d97090f97a75ee5cbebde3.zip
r3804: Add more comparison tests in RPC-SAMSYNC.
This compares values for the domain and for secrets. We still have some problems we need to sort out for secrets. Also rename a number of structures in samr.idl and netlogon.idl, to better express their consistancy. Andrew Bartlett (This used to be commit 3f52fa3a42b030c9aef21c8bd88aad87a0aae078)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/netlogon.idl13
-rw-r--r--source4/librpc/idl/samr.idl19
2 files changed, 15 insertions, 17 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index 4735d3f725..ab07a5705d 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -374,12 +374,13 @@ interface netlogon
typedef struct {
netr_String domain_name;
- netr_String OEMInfo;
- NTTIME forcedlogoff;
- uint16 min_password_len;
- uint16 password_history_len;
- uint64 password_must_change_time;
- uint64 password_can_change_time;
+ netr_String comment;
+ NTTIME force_logoff_time;
+ uint16 min_password_length;
+ uint16 password_history_length;
+ /* yes, these are signed. They are in negative 100ns */
+ int64 max_password_age;
+ int64 min_password_age;
uint64 sequence_num;
NTTIME domain_create_time;
uint32 SecurityInformation;
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index efd812ba0d..80295bb252 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -128,8 +128,8 @@
/* Function 0x08 */
typedef struct {
- uint16 min_password_len;
- uint16 password_history;
+ uint16 min_password_length;
+ uint16 password_history_length;
uint32 password_properties;
/* yes, these are signed. They are in negative 100ns */
int64 max_password_age;
@@ -137,7 +137,7 @@
} samr_DomInfo1;
typedef struct {
- uint64 force_logoff_time;
+ NTTIME force_logoff_time;
samr_String comment;
samr_String domain; /* domain name */
samr_String primary; /* PDC name if this is a BDC */
@@ -151,18 +151,15 @@
} samr_DomInfo2;
typedef struct {
- uint64 force_logoff_time;
+ NTTIME force_logoff_time;
} samr_DomInfo3;
typedef struct {
- /* I'm not entirely sure this is a comment. win2003
- allows it to be set, and it seems harmless (like a
- comment) but I haven't seen it show up anywhere */
samr_String comment;
} samr_DomInfo4;
typedef struct {
- samr_String domain;
+ samr_String domain_name;
} samr_DomInfo5;
typedef struct {
@@ -175,7 +172,7 @@
typedef struct {
HYPER_T sequence_num;
- NTTIME last_xxx_time;
+ NTTIME domain_create_time;
} samr_DomInfo8;
typedef struct {
@@ -197,7 +194,7 @@
typedef struct {
HYPER_T sequence_num;
- NTTIME last_xxx_time;
+ NTTIME domain_create_time;
uint32 unknown1;
uint32 unknown2;
} samr_DomInfo13;
@@ -948,7 +945,7 @@
const uint32 DOMAIN_REFUSE_PASSWORD_CHANGE = 0x00000020;
typedef struct {
- uint16 min_password_len;
+ uint16 min_password_length;
uint32 password_properties;
} samr_PwInfo;