diff options
Diffstat (limited to 'source4/libads')
-rw-r--r-- | source4/libads/ldap.c | 2 | ||||
-rw-r--r-- | source4/libads/sasl.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/libads/ldap.c b/source4/libads/ldap.c index 1e109ea5f2..b2afe8db26 100644 --- a/source4/libads/ldap.c +++ b/source4/libads/ldap.c @@ -1110,7 +1110,7 @@ struct uuid { uint32_t i1; uint16_t i2; uint16_t i3; - uint8 s[8]; + uint8_t s[8]; }; static void dump_guid(const char *field, struct berval **values) diff --git a/source4/libads/sasl.c b/source4/libads/sasl.c index e4c33aec4c..7604414365 100644 --- a/source4/libads/sasl.c +++ b/source4/libads/sasl.c @@ -31,8 +31,8 @@ static ADS_STATUS ads_sasl_spnego_ntlmssp_bind(ADS_STRUCT *ads) const char *mechs[] = {OID_NTLMSSP, NULL}; DATA_BLOB msg1; DATA_BLOB blob, chal1, chal2, auth; - uint8 challenge[8]; - uint8 nthash[24], lmhash[24], sess_key[16]; + uint8_t challenge[8]; + uint8_t nthash[24], lmhash[24], sess_key[16]; uint32_t neg_flags; struct berval cred, *scred; ADS_STATUS status; @@ -245,7 +245,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads) struct berval *scred; int i=0; int gss_rc, rc; - uint8 *p; + uint8_t *p; uint32_t max_msg_size; char *sname; unsigned sec_layer; @@ -343,7 +343,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads) gss_release_buffer(&minor_status, &input_token); - p = (uint8 *)output_token.value; + p = (uint8_t *)output_token.value; file_save("sasl_gssapi.dat", output_token.value, output_token.length); |