summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-22 22:09:10 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-22 22:09:10 +0000
commite79e6bc4726dc96d553e245e34e94e39de7c2da3 (patch)
tree7f30f01f8f4223795f7daa5e35723c11155b2d95 /source4/librpc
parent277322b9d4b9d009782f1a47baf09ee4033c8328 (diff)
downloadsamba-e79e6bc4726dc96d553e245e34e94e39de7c2da3.tar.gz
samba-e79e6bc4726dc96d553e245e34e94e39de7c2da3.tar.bz2
samba-e79e6bc4726dc96d553e245e34e94e39de7c2da3.zip
added support for 'const' in IDL files. This makes it easy to define
symbolic names for bitfields etc. (This used to be commit 344a6e1682cc1afab24735e73d05cf15f6eb9816)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/samr.idl16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index f73ad9a8ea..8b349123fb 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -732,16 +732,16 @@
/************************/
/* Function 0x2c */
-/*
-const ULONG DOMAIN_PASSWORD_COMPLEX = 0x00000001;
-const ULONG DOMAIN_PASSWORD_NO_ANON_CHANGE = 0x00000002;
-const ULONG DOMAIN_PASSWORD_NO_CLEAR_CHANGE = 0x00000004;
-const ULONG DOMAIN_PASSWORD_STORE_CLEARTEXT = 0x00000010;
-const ULONG DOMAIN_REFUSE_PASSWORD_CHANGE = 0x00000020;
-*/
+ /* password properties flags */
+ const uint32 DOMAIN_PASSWORD_COMPLEX = 0x00000001;
+ const uint32 DOMAIN_PASSWORD_NO_ANON_CHANGE = 0x00000002;
+ const uint32 DOMAIN_PASSWORD_NO_CLEAR_CHANGE = 0x00000004;
+ const uint32 DOMAIN_PASSWORD_STORE_CLEARTEXT = 0x00000010;
+ const uint32 DOMAIN_REFUSE_PASSWORD_CHANGE = 0x00000020;
+
typedef struct {
uint16 min_pwd_len;
- uint32 passwd_properties;
+ uint32 password_properties;
} samr_PwInfo;
NTSTATUS samr_GetUserPwInfo(