Author: ekohl
Date: Mon Mar 18 15:16:10 2013
New Revision: 58552
URL:
http://svn.reactos.org/svn/reactos?rev=58552&view=rev
Log:
[SAMSRV]
- Add missing flags for SamrQueryInformationUser.UserAllInformation.
Modified:
trunk/reactos/include/ddk/ntsam.h
Modified: trunk/reactos/include/ddk/ntsam.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntsam.h?rev=58…
==============================================================================
--- trunk/reactos/include/ddk/ntsam.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntsam.h [iso-8859-1] Mon Mar 18 15:16:10 2013
@@ -224,6 +224,19 @@
#define USER_ALL_SECURITYDESCRIPTOR 0x10000000
#define USER_ALL_OWFPASSWORD 0x20000000
#define USER_ALL_UNDEFINED_MASK 0xC0000000
+
+#define USER_ALL_READ_GENERAL_MASK 0x0000003F
+#define USER_ALL_READ_LOGON_MASK 0x0003FFC0
+#define USER_ALL_READ_ACCOUNT_MASK 0x003C0000
+#define USER_ALL_READ_PREFERENCES_MASK 0x00C00000
+#define USER_ALL_READ_TRUSTED_MASK 0x1F000000
+#define USER_ALL_READ_CANT_MASK 0xC0000000
+
+#define USER_ALL_WRITE_ACCOUNT_MASK 0x003827DB
+#define USER_ALL_WRITE_PREFERENCES_MASK 0x00C00020
+#define USER_ALL_WRITE_FORCE_PASSWORD_CHANGE_MASK 0x0B000000
+#define USER_ALL_WRITE_TRUSTED_MASK 0x1404D800
+#define USER_ALL_WRITE_CANT_MASK 0xC0030004
/* Values used by USER_PWD_CHANGE_FAILURE_INFORMATION.ExtendedFailureReason */
#define SAM_PWD_CHANGE_NO_ERROR 0