summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-21 19:15:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:48 -0500
commit42238c78bb8820a21cfb08fc29a5109ee1a62bab (patch)
tree7b794df2ecfb47779e70b30e24f288e2eca53bdf /source3/smbd
parent56c777882f0e9fc64e69290db8f6db5fe90225fd (diff)
downloadsamba-42238c78bb8820a21cfb08fc29a5109ee1a62bab.tar.gz
samba-42238c78bb8820a21cfb08fc29a5109ee1a62bab.tar.bz2
samba-42238c78bb8820a21cfb08fc29a5109ee1a62bab.zip
r21917: Start to do the gss versions of sign+seal.
Jeremy. (This used to be commit a226645353a40047b72de1b96c3a7676a2bf1034)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/seal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c
index 64965d4272..9fa35601f8 100644
--- a/source3/smbd/seal.c
+++ b/source3/smbd/seal.c
@@ -180,8 +180,8 @@ NTSTATUS srv_encrypt_buffer(char *buffer, char **buf_out)
Until success we do everything on the partial enc ctx.
******************************************************************************/
-#if defined(HAVE_GSSAPI_SUPPORT) && defined(HAVE_KRB5)
-static NTSTATUS srv_enc_spnego_gss_negotiate(char **ppdata, size_t *p_data_size, DATA_BLOB secblob)
+#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5)
+static NTSTATUS srv_enc_spnego_gss_negotiate(unsigned char **ppdata, size_t *p_data_size, DATA_BLOB secblob)
{
return NT_STATUS_NOT_SUPPORTED;
}
@@ -246,8 +246,8 @@ static NTSTATUS srv_enc_spnego_negotiate(unsigned char **ppdata, size_t *p_data_
srv_free_encryption_context(&partial_srv_trans_enc_ctx);
-#if defined(HAVE_GSSAPI_SUPPORT) && defined(HAVE_KRB5)
- if (got_kerberos_mechanism && lp_use_kerberos_keytab()) ) {
+#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5)
+ if (got_kerberos_mechanism && lp_use_kerberos_keytab() ) {
status = srv_enc_spnego_gss_negotiate(ppdata, p_data_size, secblob);
} else
#endif