summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-07 12:17:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:36 -0500
commit6564fd402d500b1e24f76f63e4335b38ef1164db (patch)
tree83d578a490890c3f9527261d084c6bb1dc589fe8
parentf75210ff9f3cd05e76b78ade826722c3ed07f4be (diff)
downloadsamba-6564fd402d500b1e24f76f63e4335b38ef1164db.tar.gz
samba-6564fd402d500b1e24f76f63e4335b38ef1164db.tar.bz2
samba-6564fd402d500b1e24f76f63e4335b38ef1164db.zip
r1067: fix compiler warnings
metze (This used to be commit e5d338821e590c49947a18a5d5c361122571988d)
-rw-r--r--source4/auth/auth.c2
-rw-r--r--source4/auth/auth.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index 60807deac4..f33330f5de 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -152,7 +152,7 @@ static BOOL check_domain_match(const char *user, const char *domain)
*
**/
-static NTSTATUS check_ntlm_password(const struct auth_context *auth_context,
+static NTSTATUS check_ntlm_password(struct auth_context *auth_context,
const struct auth_usersupplied_info *user_info,
struct auth_serversupplied_info **server_info)
{
diff --git a/source4/auth/auth.h b/source4/auth/auth.h
index dea068f078..386c2f8cd0 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -119,7 +119,7 @@ struct auth_context {
TALLOC_CTX *mem_ctx;
const uint8_t *(*get_ntlm_challenge)(struct auth_context *auth_context);
- NTSTATUS (*check_ntlm_password)(const struct auth_context *auth_context,
+ NTSTATUS (*check_ntlm_password)(struct auth_context *auth_context,
const struct auth_usersupplied_info *user_info,
struct auth_serversupplied_info **server_info);
NTSTATUS (*nt_status_squash)(NTSTATUS nt_status);