summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-10 05:22:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:39 -0500
commit8674eaa5cc9b1ddeb65f05527a5b539f15e4afcb (patch)
treefa22e4096076a63a43629945c6b1c5e456dd20e2 /source4/libcli/auth
parentec15008ec703b44ff3073bf074eda8adc8c5d00c (diff)
downloadsamba-8674eaa5cc9b1ddeb65f05527a5b539f15e4afcb.tar.gz
samba-8674eaa5cc9b1ddeb65f05527a5b539f15e4afcb.tar.bz2
samba-8674eaa5cc9b1ddeb65f05527a5b539f15e4afcb.zip
r5300: more uint32 and system/filesys.h build fixes when developer mode is enabled
(This used to be commit 93931b1a741a3722c311ada80c4c9d3d670f91b2)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/gensec_gssapi.c2
-rw-r--r--source4/libcli/auth/gensec_krb5.c6
-rw-r--r--source4/libcli/auth/kerberos.c1
-rw-r--r--source4/libcli/auth/kerberos_verify.c1
4 files changed, 6 insertions, 4 deletions
diff --git a/source4/libcli/auth/gensec_gssapi.c b/source4/libcli/auth/gensec_gssapi.c
index 43113412f7..41f36b2703 100644
--- a/source4/libcli/auth/gensec_gssapi.c
+++ b/source4/libcli/auth/gensec_gssapi.c
@@ -316,7 +316,7 @@ static NTSTATUS gensec_gssapi_unwrap(struct gensec_security *gensec_security,
}
static BOOL gensec_gssapi_have_feature(struct gensec_security *gensec_security,
- uint32 feature)
+ uint32_t feature)
{
struct gensec_gssapi_state *gensec_gssapi_state = gensec_security->private_data;
if (feature & GENSEC_FEATURE_SIGN) {
diff --git a/source4/libcli/auth/gensec_krb5.c b/source4/libcli/auth/gensec_krb5.c
index e5bfd3865a..a0c2a77f4b 100644
--- a/source4/libcli/auth/gensec_krb5.c
+++ b/source4/libcli/auth/gensec_krb5.c
@@ -489,7 +489,7 @@ static NTSTATUS gensec_krb5_update(struct gensec_security *gensec_security,
{
krb5_data inbuf;
krb5_ap_rep_enc_part *repl = NULL;
- uint8 tok_id[2];
+ uint8_t tok_id[2];
DATA_BLOB unwrapped_in;
if (!gensec_gssapi_parse_krb5_wrap(out_mem_ctx, &in, &unwrapped_in, tok_id)) {
@@ -525,7 +525,7 @@ static NTSTATUS gensec_krb5_update(struct gensec_security *gensec_security,
char *principal;
DATA_BLOB unwrapped_in;
DATA_BLOB unwrapped_out = data_blob(NULL, 0);
- uint8 tok_id[2];
+ uint8_t tok_id[2];
if (!in.data) {
*out = unwrapped_out;
@@ -689,7 +689,7 @@ static NTSTATUS gensec_krb5_session_info(struct gensec_security *gensec_security
}
static BOOL gensec_krb5_have_feature(struct gensec_security *gensec_security,
- uint32 feature)
+ uint32_t feature)
{
if (feature & GENSEC_FEATURE_SESSION_KEY) {
return True;
diff --git a/source4/libcli/auth/kerberos.c b/source4/libcli/auth/kerberos.c
index a8d9d75a1e..4bf9e626ce 100644
--- a/source4/libcli/auth/kerberos.c
+++ b/source4/libcli/auth/kerberos.c
@@ -26,6 +26,7 @@
#include "libcli/auth/kerberos.h"
#include "system/time.h"
#include "secrets.h"
+#include "pstring.h"
#ifdef HAVE_KRB5
diff --git a/source4/libcli/auth/kerberos_verify.c b/source4/libcli/auth/kerberos_verify.c
index b089d633ed..2aef38fcd9 100644
--- a/source4/libcli/auth/kerberos_verify.c
+++ b/source4/libcli/auth/kerberos_verify.c
@@ -28,6 +28,7 @@
#include "asn_1.h"
#include "lib/ldb/include/ldb.h"
#include "secrets.h"
+#include "pstring.h"
#ifdef HAVE_KRB5