auth: Fix an incompatible pointer assignment
authorVolker Lendecke <vl@samba.org>
Thu, 3 Jul 2014 13:58:17 +0000 (13:58 +0000)
committerVolker Lendecke <vl@samba.org>
Mon, 7 Jul 2014 08:58:30 +0000 (10:58 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jul  7 10:58:30 CEST 2014 on sn-devel-104

source3/auth/auth_samba4.c

index 284a91f30b11c97a7df63dd0353ebdb151f308e1..0a80d173355d8e401ba905e239fa48f2eb7c2504 100644 (file)
@@ -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)
 {