summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/samr.idl10
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 84aaa2a10a..89a06112a7 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -1151,12 +1151,14 @@
/************************/
/* Function 0x3f */
- const int SAMR_REJECT_OTHER = 0;
- const int SAMR_REJECT_TOO_SHORT = 1;
- const int SAMR_REJECT_COMPLEXITY = 2;
+ typedef [v1_enum] enum {
+ SAMR_REJECT_OTHER = 0,
+ SAMR_REJECT_TOO_SHORT = 1,
+ SAMR_REJECT_COMPLEXITY = 2
+ } samr_RejectReason;
typedef struct {
- uint32 reason;
+ samr_RejectReason reason;
uint32 unknown1;
uint32 unknown2;
} samr_ChangeReject;