summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-20 11:29:03 +0200
committerKai Blin <kai@samba.org>2010-05-20 11:36:14 +0200
commit29629b93907fd32e48d347c109333e9c0ad244eb (patch)
tree3144055687bd6139d75860e5e98ab21d5292c05b /source3/smbd
parent33c96e6d3a04a8e2f4a4b794081fe2d2a5dcc742 (diff)
downloadsamba-29629b93907fd32e48d347c109333e9c0ad244eb.tar.gz
samba-29629b93907fd32e48d347c109333e9c0ad244eb.tar.bz2
samba-29629b93907fd32e48d347c109333e9c0ad244eb.zip
s3 smb2: Fix the build without kerberos
Jeremy, please check
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_sesssetup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c
index 966289429d..ed5818951d 100644
--- a/source3/smbd/smb2_sesssetup.c
+++ b/source3/smbd/smb2_sesssetup.c
@@ -143,6 +143,7 @@ static int smbd_smb2_session_destructor(struct smbd_smb2_session *session)
return 0;
}
+#ifdef HAVE_KRB5
static NTSTATUS smbd_smb2_session_setup_krb5(struct smbd_smb2_session *session,
struct smbd_smb2_request *smb2req,
uint8_t in_security_mode,
@@ -511,6 +512,7 @@ static NTSTATUS smbd_smb2_session_setup_krb5(struct smbd_smb2_session *session,
data_blob_free(&secblob_out);
return status;
}
+#endif
static NTSTATUS smbd_smb2_spnego_negotiate(struct smbd_smb2_session *session,
struct smbd_smb2_request *smb2req,