summaryrefslogtreecommitdiffstats
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-05-16 14:29:43 +1200
committerAndrew Bartlett <abartlet@samba.org>2014-05-16 10:23:26 +0200
commit6c37cd65445f3acf4f41f375017ae7f5f1e34bde (patch)
treeef35b6947e8f0087d03fc6eeb6b8d0f507eca2d3 /source4/auth
parent66c099cc58e3140d08ef0890550c647e51a4a641 (diff)
downloadsamba-6c37cd65445f3acf4f41f375017ae7f5f1e34bde.tar.gz
samba-6c37cd65445f3acf4f41f375017ae7f5f1e34bde.tar.xz
samba-6c37cd65445f3acf4f41f375017ae7f5f1e34bde.zip
auth: Allow auth_samba4 to be forced to run a specific auth module
This will allow new tests to be written to validate winbindd authentication results Andrew Bartlett Change-Id: I008eba1de349b17ee4eb9f11be08338557dffecc Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
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 129f58d31c4..0b6b1d35831 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -130,7 +130,7 @@ NTSTATUS auth_system_session_info(TALLOC_CTX *parent_ctx,
struct loadparm_context *lp_ctx,
struct auth_session_info **_session_info) ;
-NTSTATUS auth_context_create_methods(TALLOC_CTX *mem_ctx, const char **methods,
+NTSTATUS auth_context_create_methods(TALLOC_CTX *mem_ctx, const char * const *methods,
struct tevent_context *ev,
struct imessaging_context *msg,
struct loadparm_context *lp_ctx,
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c
index 16c9666c0a2..642d8684e59 100644
--- a/source4/auth/ntlm/auth.c
+++ b/source4/auth/ntlm/auth.c
@@ -520,7 +520,7 @@ static NTSTATUS auth_generate_session_info_pac(struct auth4_context *auth_ctx,
Make a auth_info struct for the auth subsystem
- Allow the caller to specify the methods to use, including optionally the SAM to use
***************************************************************************/
-_PUBLIC_ NTSTATUS auth_context_create_methods(TALLOC_CTX *mem_ctx, const char **methods,
+_PUBLIC_ NTSTATUS auth_context_create_methods(TALLOC_CTX *mem_ctx, const char * const *methods,
struct tevent_context *ev,
struct imessaging_context *msg,
struct loadparm_context *lp_ctx,