summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-10-08 00:34:53 +0200
committerGünther Deschner <gd@samba.org>2009-10-13 12:13:59 +0200
commitc2be185793d66709b0b2ddb92845f4dfd0ab27b6 (patch)
treee861520dd377abd905054700e2821ba1b4215cc3 /librpc
parentebe0e64ba9815b238cccf7d24821bc473d245707 (diff)
downloadsamba-c2be185793d66709b0b2ddb92845f4dfd0ab27b6.tar.gz
samba-c2be185793d66709b0b2ddb92845f4dfd0ab27b6.tar.xz
samba-c2be185793d66709b0b2ddb92845f4dfd0ab27b6.zip
netlogon: add NL_PASSWORD_VERSION to IDL.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/gen_ndr/netlogon.h7
-rw-r--r--librpc/idl/netlogon.idl12
2 files changed, 19 insertions, 0 deletions
diff --git a/librpc/gen_ndr/netlogon.h b/librpc/gen_ndr/netlogon.h
index e8261d02280..402e4a0d290 100644
--- a/librpc/gen_ndr/netlogon.h
+++ b/librpc/gen_ndr/netlogon.h
@@ -17,6 +17,7 @@
#define NETLOGON_NEG_128BIT ( NETLOGON_NEG_STRONG_KEYS )
#define NETLOGON_NEG_SCHANNEL ( NETLOGON_NEG_AUTHENTICATED_RPC )
#define DSGETDC_VALID_FLAGS ( (DS_FORCE_REDISCOVERY|DS_DIRECTORY_SERVICE_REQUIRED|DS_DIRECTORY_SERVICE_PREFERRED|DS_GC_SERVER_REQUIRED|DS_PDC_REQUIRED|DS_BACKGROUND_ONLY|DS_IP_REQUIRED|DS_KDC_REQUIRED|DS_TIMESERV_REQUIRED|DS_WRITABLE_REQUIRED|DS_GOOD_TIMESERV_PREFERRED|DS_AVOID_SELF|DS_ONLY_LDAP_NEEDED|DS_IS_FLAT_NAME|DS_IS_DNS_NAME|DS_RETURN_FLAT_NAME|DS_RETURN_DNS_NAME) )
+#define NETLOGON_PASSWORD_VERSION_NUMBER_PRESENT ( 0x02231968 )
#define DS_GFTI_UPDATE_TDO ( 0x1 )
struct netr_UasInfo {
const char *account_name;/* [unique,charset(UTF16)] */
@@ -1033,6 +1034,12 @@ union netr_DomainInfo {
struct netr_LsaPolicyInformation *lsa_policy_info;/* [unique,case(2)] */
};
+struct NL_PASSWORD_VERSION {
+ uint32_t ReservedField;
+ uint32_t PasswordVersionNumber;
+ uint32_t PasswordVersionPresent;
+};
+
struct netr_CryptPassword {
uint8_t data[512];
uint32_t length;
diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl
index b08a8930dcd..82a60c7c3e4 100644
--- a/librpc/idl/netlogon.idl
+++ b/librpc/idl/netlogon.idl
@@ -1412,6 +1412,18 @@ interface netlogon
/*****************/
/* Function 0x1e */
+
+ /* [MS-NRPC] 2.2.1.3.8 NL_PASSWORD_VERSION */
+
+ /* someone's birthday ? */
+ const int NETLOGON_PASSWORD_VERSION_NUMBER_PRESENT = 0x02231968;
+
+ typedef struct {
+ uint32 ReservedField;
+ uint32 PasswordVersionNumber;
+ uint32 PasswordVersionPresent;
+ } NL_PASSWORD_VERSION;
+
typedef [flag(NDR_PAHEX)] struct {
uint8 data[512];
uint32 length;