summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-03 13:58:17 +0000
committerVolker Lendecke <vl@samba.org>2014-07-07 10:58:30 +0200
commit1dddf6c24ac87baad0d65db3d13d27e651f81499 (patch)
tree6cd6cfbc833d1d5724bd37772c20d33bc27ca02a /source3/auth
parentee32bc2cfbe77c623b60fb44715e324c2cc45952 (diff)
downloadsamba-1dddf6c24ac87baad0d65db3d13d27e651f81499.tar.gz
auth: Fix an incompatible pointer assignment
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
Diffstat (limited to 'source3/auth')
-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 284a91f30b1..0a80d173355 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)
{