summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-25 15:40:35 +1000
committerGünther Deschner <gd@samba.org>2010-05-31 15:10:44 +0200
commit723ea68d3b69a9fc31dc02256c4fc323dc9278ce (patch)
tree997a1b55d56dca352a50904e322c8c871b26655b /source3/smbd
parent3b706865f6bae7a2b04590da160bda939a3bafe5 (diff)
downloadsamba-723ea68d3b69a9fc31dc02256c4fc323dc9278ce.tar.gz
samba-723ea68d3b69a9fc31dc02256c4fc323dc9278ce.tar.bz2
samba-723ea68d3b69a9fc31dc02256c4fc323dc9278ce.zip
s3:auth Remove AUTH_NTLMSSP_STATE typedef.
typedefs are no longer preferred Samba style. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/globals.h2
-rw-r--r--source3/smbd/seal.c2
-rw-r--r--source3/smbd/sesssetup.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index bb4f695010..cd4516501b 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -419,7 +419,7 @@ struct smbd_smb2_session {
struct smbd_server_connection *sconn;
NTSTATUS status;
uint64_t vuid;
- AUTH_NTLMSSP_STATE *auth_ntlmssp_state;
+ struct auth_ntlmssp_state *auth_ntlmssp_state;
struct auth_serversupplied_info *server_info;
DATA_BLOB session_key;
bool do_signing;
diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c
index 4662507c90..4acf5b09b5 100644
--- a/source3/smbd/seal.c
+++ b/source3/smbd/seal.c
@@ -32,7 +32,7 @@
struct smb_srv_trans_enc_ctx {
struct smb_trans_enc_state *es;
- AUTH_NTLMSSP_STATE *auth_ntlmssp_state; /* Must be kept in sync with pointer in ec->ntlmssp_state. */
+ struct auth_ntlmssp_state *auth_ntlmssp_state; /* Must be kept in sync with pointer in ec->ntlmssp_state. */
};
/******************************************************************************
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index ec82406349..4ac13988a5 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -624,7 +624,7 @@ static void reply_spnego_kerberos(struct smb_request *req,
static void reply_spnego_ntlmssp(struct smb_request *req,
uint16 vuid,
- AUTH_NTLMSSP_STATE **auth_ntlmssp_state,
+ struct auth_ntlmssp_state **auth_ntlmssp_state,
DATA_BLOB *ntlmssp_blob, NTSTATUS nt_status,
const char *OID,
bool wrap)
@@ -779,7 +779,7 @@ static void reply_spnego_downgrade_to_ntlmssp(struct smb_request *req,
static void reply_spnego_negotiate(struct smb_request *req,
uint16 vuid,
DATA_BLOB blob1,
- AUTH_NTLMSSP_STATE **auth_ntlmssp_state)
+ struct auth_ntlmssp_state **auth_ntlmssp_state)
{
DATA_BLOB secblob;
DATA_BLOB chal;
@@ -856,7 +856,7 @@ static void reply_spnego_negotiate(struct smb_request *req,
static void reply_spnego_auth(struct smb_request *req,
uint16 vuid,
DATA_BLOB blob1,
- AUTH_NTLMSSP_STATE **auth_ntlmssp_state)
+ struct auth_ntlmssp_state **auth_ntlmssp_state)
{
DATA_BLOB auth = data_blob_null;
DATA_BLOB auth_reply = data_blob_null;