summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-29 11:40:09 +0100
committerStefan Metzmacher <metze@samba.org>2009-12-29 12:13:29 +0100
commit27349a68ea11493029bf0dbdf7399b70d7fe6ea4 (patch)
tree270a252ea43eef91449cf25c971d3d4fe07c72ab /source4/auth
parentaf25fb55c0adb8ca0b552ace607ee285023c2652 (diff)
downloadsamba-27349a68ea11493029bf0dbdf7399b70d7fe6ea4.tar.gz
samba-27349a68ea11493029bf0dbdf7399b70d7fe6ea4.tar.bz2
samba-27349a68ea11493029bf0dbdf7399b70d7fe6ea4.zip
s4:auth: make auth_challenge_may_be_modified() public
metze
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth.h2
-rw-r--r--source4/auth/ntlm/auth.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h
index 28b955a516..f4e3b2038c 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -284,7 +284,7 @@ NTSTATUS auth_check_password_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info **server_info);
-
+bool auth_challenge_may_be_modified(struct auth_context *auth_ctx);
NTSTATUS auth_context_set_challenge(struct auth_context *auth_ctx, const uint8_t chal[8], const char *set_by);
NTSTATUS samba_server_gensec_start(TALLOC_CTX *mem_ctx,
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c
index fafaf9cbb2..d5df387d80 100644
--- a/source4/auth/ntlm/auth.c
+++ b/source4/auth/ntlm/auth.c
@@ -43,7 +43,7 @@ _PUBLIC_ NTSTATUS auth_context_set_challenge(struct auth_context *auth_ctx, cons
/***************************************************************************
Set a fixed challenge
***************************************************************************/
-bool auth_challenge_may_be_modified(struct auth_context *auth_ctx)
+_PUBLIC_ bool auth_challenge_may_be_modified(struct auth_context *auth_ctx)
{
return auth_ctx->challenge.may_be_modified;
}