#define NDR_LITTLE_ENDIAN LIBNDR_FLAG_LITTLE_ENDIAN
#define NDR_BIG_ENDIAN LIBNDR_FLAG_BIGENDIAN
-
-/*
- these are used by the epmapper and mgmt interfaces
-*/
-#define error_status_t uint32
-#define boolean32 uint32
-#define unsigned32 uint32
-
/*
this is used to control formatting of uint8 arrays
*/
#define NDR_PAHEX LIBNDR_PRINT_ARRAY_HEX
-
-#define bool8 uint8
} netr_USER_KEYS;
typedef struct {
- bool8 SensitiveDataFlag;
+ boolean8 SensitiveDataFlag;
uint32 DataLength;
/* netr_USER_KEYS encrypted with the session key */
samr_AcctFlags acct_flags;
samr_Password lmpassword;
samr_Password ntpassword;
- bool8 nt_password_present;
- bool8 lm_password_present;
- bool8 password_expired;
+ boolean8 nt_password_present;
+ boolean8 lm_password_present;
+ boolean8 password_expired;
lsa_String comment;
lsa_String parameters;
uint16 country_code;
typedef struct {
uint32 maxlogsize;
NTTIME auditretentionperiod;
- bool8 auditingmode;
+ boolean8 auditingmode;
uint32 maxauditeventcount;
[size_is(maxauditeventcount+1)] uint32 *eventauditoptions;
lsa_String primary_domain_name;
pointer file_handle;
/* we need a per-entry delete on close, as well as a per-file
one, to cope with strange semantics on open */
- bool8 delete_on_close;
+ boolean8 delete_on_close;
uint32 oplock_level;
} opendb_entry;
} opendb_pending;
typedef [public] struct {
- bool8 delete_on_close;
+ boolean8 delete_on_close;
utf8string path;
uint32 num_entries;
opendb_entry entries[num_entries];
*/
NTSTATUS samr_ChangePasswordUser(
[in,ref] policy_handle *user_handle,
- [in] bool8 lm_present,
+ [in] boolean8 lm_present,
[in] samr_Password *old_lm_crypted,
[in] samr_Password *new_lm_crypted,
- [in] bool8 nt_present,
+ [in] boolean8 nt_present,
[in] samr_Password *old_nt_crypted,
[in] samr_Password *new_nt_crypted,
- [in] bool8 cross1_present,
+ [in] boolean8 cross1_present,
[in] samr_Password *nt_cross,
- [in] bool8 cross2_present,
+ [in] boolean8 cross2_present,
[in] samr_Password *lm_cross
);
[in,ref] lsa_String *account,
[in] samr_CryptPassword *nt_password,
[in] samr_Password *nt_verifier,
- [in] bool8 lm_change,
+ [in] boolean8 lm_change,
[in] samr_CryptPassword *lm_password,
[in] samr_Password *lm_verifier
);
[in,ref] lsa_String *account,
[in] samr_CryptPassword *nt_password,
[in] samr_Password *nt_verifier,
- [in] bool8 lm_change,
+ [in] boolean8 lm_change,
[in] samr_CryptPassword *lm_password,
[in] samr_Password *lm_verifier,
[in] samr_CryptPassword *password3,