summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/netlogon.idl6
-rw-r--r--source4/librpc/idl/samr.idl2
2 files changed, 5 insertions, 3 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index ca867a265c..85ff0b714c 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -16,6 +16,8 @@
interface netlogon
{
+ declare bitmap samr_AcctFlags;
+
typedef [public] struct {
[value(strlen_m(r->string)*2)] uint16 size;
[value(r->size)] uint16 length;
@@ -162,7 +164,7 @@ interface netlogon
netr_String domain;
dom_sid2 *domain_sid;
netr_LMSessionKey LMSessKey;
- uint32 acct_flags;
+ samr_AcctFlags acct_flags;
uint32 unknown[7];
} netr_SamBaseInfo;
@@ -351,7 +353,7 @@ interface netlogon
uint16 logon_count;
NTTIME last_password_change;
NTTIME acct_expiry;
- uint32 acct_flags;
+ samr_AcctFlags acct_flags;
samr_Password lmpassword;
samr_Password ntpassword;
bool8 nt_password_present;
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index df7e019dfd..4e12369d7c 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -16,7 +16,7 @@
] interface samr
{
/* account control (acct_flags) bits */
- typedef bitmap {
+ typedef [public] bitmap {
ACB_DISABLED = 0x00000001, /* 1 = User account disabled */
ACB_HOMDIRREQ = 0x00000002, /* 1 = Home directory required */
ACB_PWNOTREQ = 0x00000004, /* 1 = User password not required */