summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-11-22 13:58:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:30 -0500
commite09cc27d3b0156fd410c1e47cbbb6686819119d4 (patch)
tree85434bf464951ee7a1889c4adbe62d7b4efc7a8b /source3/include
parentcf974b8d609b28b54854dbf765f9169a904bda49 (diff)
downloadsamba-e09cc27d3b0156fd410c1e47cbbb6686819119d4.tar.gz
samba-e09cc27d3b0156fd410c1e47cbbb6686819119d4.tar.bz2
samba-e09cc27d3b0156fd410c1e47cbbb6686819119d4.zip
r11852: Fill in samr_get_dom_pwinfo based on Samba4.
Guenther (This used to be commit a8bc4bc902075cfd009dc92674c4560a44a74277)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_samr.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h
index eff3cd6d4c..ae8bb7a2be 100644
--- a/source3/include/rpc_samr.h
+++ b/source3/include/rpc_samr.h
@@ -1750,14 +1750,18 @@ typedef struct q_samr_get_dom_pwinfo
} SAMR_Q_GET_DOM_PWINFO;
+#define DOMAIN_PASSWORD_COMPLEX 0x00000001
+#define DOMAIN_PASSWORD_NO_ANON_CHANGE 0x00000002
+#define DOMAIN_PASSWORD_NO_CLEAR_CHANGE 0x00000004
+#define DOMAIN_LOCKOUT_ADMINS 0x00000008
+#define DOMAIN_PASSWORD_STORE_CLEARTEXT 0x00000010
+#define DOMAIN_REFUSE_PASSWORD_CHANGE 0x00000020
+
/* SAMR_R_GET_DOM_PWINFO */
typedef struct r_samr_get_dom_pwinfo
{
- /*
- * See Samba4 IDL
- */
- uint16 unk_0;
- uint32 unk_1;
+ uint16 min_pwd_length;
+ uint32 password_properties;
NTSTATUS status;
} SAMR_R_GET_DOM_PWINFO;