From 723ea68d3b69a9fc31dc02256c4fc323dc9278ce Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 25 May 2010 15:40:35 +1000 Subject: s3:auth Remove AUTH_NTLMSSP_STATE typedef. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit typedefs are no longer preferred Samba style. Andrew Bartlett Signed-off-by: Stefan Metzmacher Signed-off-by: Günther Deschner --- source3/smbd/globals.h | 2 +- source3/smbd/seal.c | 2 +- source3/smbd/sesssetup.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/smbd') 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; -- cgit