summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/misc.idl6
-rw-r--r--source4/librpc/idl/samr.idl6
2 files changed, 7 insertions, 5 deletions
diff --git a/source4/librpc/idl/misc.idl b/source4/librpc/idl/misc.idl
index 5d40753448..2f21b63105 100644
--- a/source4/librpc/idl/misc.idl
+++ b/source4/librpc/idl/misc.idl
@@ -39,5 +39,11 @@ interface misc
SAM_DATABASE_PRIVS = 2 /* Privileges */
} netr_SamDatabaseID;
+ typedef [public,v1_enum] enum {
+ SAMR_REJECT_OTHER = 0,
+ SAMR_REJECT_TOO_SHORT = 1,
+ SAMR_REJECT_COMPLEXITY = 2
+ } samr_RejectReason;
+
}
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 1555dadfeb..c6ad14ce04 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -1141,11 +1141,7 @@
/************************/
/* Function 0x3f */
- typedef [v1_enum] enum {
- SAMR_REJECT_OTHER = 0,
- SAMR_REJECT_TOO_SHORT = 1,
- SAMR_REJECT_COMPLEXITY = 2
- } samr_RejectReason;
+ declare enum samr_RejectReason;
typedef struct {
samr_RejectReason reason;