diff options
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/net_rpc_join.c | 4 | ||||
-rw-r--r-- | source4/utils/net_rpc_samsync.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/source4/utils/net_rpc_join.c b/source4/utils/net_rpc_join.c index d790584269..43bd56d251 100644 --- a/source4/utils/net_rpc_join.c +++ b/source4/utils/net_rpc_join.c @@ -45,7 +45,7 @@ int net_rpc_join_ok(const char *domain) { struct cli_state *cli; - uchar stored_md4_trust_password[16]; + uint8_t stored_md4_trust_password[16]; int retval = 1; uint32_t channel; NTSTATUS result; @@ -121,7 +121,7 @@ int net_rpc_join_newstyle(int argc, const char **argv) char *clear_trust_password = NULL; fstring ucs2_trust_password; int ucs2_pw_len; - uchar pwbuf[516], sess_key[16]; + uint8_t pwbuf[516], sess_key[16]; SAM_USERINFO_CTR ctr; SAM_USER_INFO_24 p24; SAM_USER_INFO_10 p10; diff --git a/source4/utils/net_rpc_samsync.c b/source4/utils/net_rpc_samsync.c index 1a733b3ab7..7e6f515c29 100644 --- a/source4/utils/net_rpc_samsync.c +++ b/source4/utils/net_rpc_samsync.c @@ -55,8 +55,8 @@ static void display_alias_mem(uint32_t rid, SAM_ALIAS_MEM_INFO *a) static void display_account_info(uint32_t rid, SAM_ACCOUNT_INFO *a) { fstring hex_nt_passwd, hex_lm_passwd; - uchar lm_passwd[16], nt_passwd[16]; - static uchar zero_buf[16]; + uint8_t lm_passwd[16], nt_passwd[16]; + static uint8_t zero_buf[16]; /* Decode hashes from password hash (if they are not NULL) */ @@ -153,7 +153,7 @@ int rpc_samdump(int argc, const char **argv) { NTSTATUS result; struct cli_state *cli = NULL; - uchar trust_password[16]; + uint8_t trust_password[16]; DOM_CRED ret_creds; uint32_t neg_flags = 0x000001ff; @@ -202,8 +202,8 @@ static NTSTATUS sam_account_from_delta(SAM_ACCOUNT *account, SAM_ACCOUNT_INFO *delta) { fstring s; - uchar lm_passwd[16], nt_passwd[16]; - static uchar zero_buf[16]; + uint8_t lm_passwd[16], nt_passwd[16]; + static uint8_t zero_buf[16]; /* Username, fullname, home dir, dir drive, logon script, acct desc, workstations, profile. */ @@ -673,7 +673,7 @@ int rpc_vampire(int argc, const char **argv) { NTSTATUS result; struct cli_state *cli = NULL; - uchar trust_password[16]; + uint8_t trust_password[16]; DOM_CRED ret_creds; uint32_t neg_flags = 0x000001ff; DOM_SID dom_sid; |