summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_samba4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_samba4.c b/source3/auth/auth_samba4.c
index 284a91f30b..0a80d17335 100644
--- a/source3/auth/auth_samba4.c
+++ b/source3/auth/auth_samba4.c
@@ -188,7 +188,7 @@ static NTSTATUS check_samba4_security(const struct auth_context *auth_context,
* token is generated and used in the SMB and LDAP servers, for NTLM
* and for Kerberos.
*/
-static NTSTATUS prepare_gensec(struct auth_context *auth_context,
+static NTSTATUS prepare_gensec(const struct auth_context *auth_context,
TALLOC_CTX *mem_ctx,
struct gensec_security **gensec_context)
{