summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-12-01 12:53:59 +0100
committerGünther Deschner <gd@samba.org>2008-12-02 00:37:39 +0100
commitc3798208526b2ce15fe22991424dcb5b1910eebd (patch)
tree671e5c8b79ef28601a0eb4ca91cc986ac0692d60 /librpc
parentdb369b5567b2359af1c185555f63e9fe02b617c5 (diff)
downloadsamba-c3798208526b2ce15fe22991424dcb5b1910eebd.tar.gz
samba-c3798208526b2ce15fe22991424dcb5b1910eebd.tar.bz2
samba-c3798208526b2ce15fe22991424dcb5b1910eebd.zip
samr: add samr_DomainServerState.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/samr.idl9
1 files changed, 7 insertions, 2 deletions
diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl
index 140782cdae..46478ee9e8 100644
--- a/librpc/idl/samr.idl
+++ b/librpc/idl/samr.idl
@@ -337,6 +337,11 @@ import "misc.idl", "lsa.idl", "security.idl";
DOMAIN_REFUSE_PASSWORD_CHANGE = 0x00000020
} samr_PasswordProperties;
+ typedef [v1_enum] enum {
+ DOMAIN_SERVER_ENABLED = 1,
+ DOMAIN_SERVER_DISABLED = 2
+ } samr_DomainServerState;
+
typedef struct {
uint16 min_password_length;
uint16 password_history_length;
@@ -352,7 +357,7 @@ import "misc.idl", "lsa.idl", "security.idl";
lsa_String domain_name;
lsa_String primary; /* PDC name if this is a BDC */
udlong sequence_num;
- uint32 unknown2;
+ samr_DomainServerState domain_server_state;
samr_Role role;
uint32 unknown3;
uint32 num_users;
@@ -386,7 +391,7 @@ import "misc.idl", "lsa.idl", "security.idl";
} samr_DomInfo8;
typedef struct {
- uint32 unknown; /* w2k3 returns 1 */
+ samr_DomainServerState domain_server_state;
} samr_DomInfo9;
typedef struct {