summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-06 06:34:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:26 -0500
commit678038a0f25e256acc948845a29b2d25faed69de (patch)
tree6f70088a22145a1705ad4f9ba129fd5f496b6118
parente3fd8743417a655a478f49dd76f7cae6245f150b (diff)
downloadsamba-678038a0f25e256acc948845a29b2d25faed69de.tar.gz
samba-678038a0f25e256acc948845a29b2d25faed69de.tar.bz2
samba-678038a0f25e256acc948845a29b2d25faed69de.zip
r4552: use samr_AcctFlags in netlogon.idl
metze (This used to be commit 3e224575e58436fef71897e62f57bfcf120c0da8)
-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 */