summaryrefslogtreecommitdiff
path: root/source4/libads
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-25 17:50:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:16 -0500
commitfcd718c7d8a6850ae8719f23ed044b06b57501cd (patch)
tree78fe8265d44c4644b01963784a37f4505785fb97 /source4/libads
parentf88bf54c7f6d1c2ef833047eb8327953c304b5ff (diff)
downloadsamba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.tar.gz
samba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.tar.bz2
samba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.zip
r890: convert samba4 to use [u]int8_t instead of [u]int8
metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
Diffstat (limited to 'source4/libads')
-rw-r--r--source4/libads/ldap.c2
-rw-r--r--source4/libads/sasl.c8
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);