From 557f830c4fc7e6b0fd0d652b80b724281faacb0c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:44:28 +0100 Subject: source4/auth/ntlm: Fix prototypes for all functions. --- source4/auth/ntlm/auth_anonymous.c | 2 ++ source4/auth/ntlm/auth_developer.c | 2 ++ source4/auth/ntlm/auth_sam.c | 2 ++ source4/auth/ntlm/auth_server.c | 2 ++ source4/auth/ntlm/auth_unix.c | 2 ++ source4/auth/ntlm/auth_util.c | 1 + source4/auth/ntlm/auth_winbind.c | 2 ++ 7 files changed, 13 insertions(+) (limited to 'source4') diff --git a/source4/auth/ntlm/auth_anonymous.c b/source4/auth/ntlm/auth_anonymous.c index 7535777b60..6b21225aad 100644 --- a/source4/auth/ntlm/auth_anonymous.c +++ b/source4/auth/ntlm/auth_anonymous.c @@ -24,6 +24,8 @@ #include "auth/ntlm/auth_proto.h" #include "param/param.h" +_PUBLIC_ NTSTATUS auth_anonymous_init(void); + /** * Return a anonymous logon for anonymous users (username = "") * diff --git a/source4/auth/ntlm/auth_developer.c b/source4/auth/ntlm/auth_developer.c index 255f97fd23..da842c98ba 100644 --- a/source4/auth/ntlm/auth_developer.c +++ b/source4/auth/ntlm/auth_developer.c @@ -24,6 +24,8 @@ #include "auth/ntlm/auth_proto.h" #include "libcli/security/security.h" +_PUBLIC_ NTSTATUS auth_developer_init(void); + static NTSTATUS name_to_ntstatus_want_check(struct auth_method_context *ctx, TALLOC_CTX *mem_ctx, const struct auth_usersupplied_info *user_info) diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c index f9765ff1b9..f76057a6df 100644 --- a/source4/auth/ntlm/auth_sam.c +++ b/source4/auth/ntlm/auth_sam.c @@ -34,6 +34,8 @@ #include "librpc/gen_ndr/ndr_irpc_c.h" #include "lib/messaging/irpc.h" +NTSTATUS auth_sam_init(void); + extern const char *user_attrs[]; extern const char *domain_ref_attrs[]; diff --git a/source4/auth/ntlm/auth_server.c b/source4/auth/ntlm/auth_server.c index 106bc6c15b..7efeb9242a 100644 --- a/source4/auth/ntlm/auth_server.c +++ b/source4/auth/ntlm/auth_server.c @@ -27,6 +27,8 @@ #include "param/param.h" #include "libcli/resolve/resolve.h" +_PUBLIC_ NTSTATUS auth_server_init(void); + /* This version of 'security=server' rewirtten from scratch for Samba4 * libraries in 2008 */ diff --git a/source4/auth/ntlm/auth_unix.c b/source4/auth/ntlm/auth_unix.c index 8b41983eef..743cb8103d 100644 --- a/source4/auth/ntlm/auth_unix.c +++ b/source4/auth/ntlm/auth_unix.c @@ -28,6 +28,8 @@ #include "../libcli/auth/pam_errors.h" #include "param/param.h" +_PUBLIC_ NTSTATUS auth_unix_init(void); + /* TODO: look at how to best fill in parms retrieveing a struct passwd info * except in case USER_INFO_DONT_CHECK_UNIX_ACCOUNT is set */ diff --git a/source4/auth/ntlm/auth_util.c b/source4/auth/ntlm/auth_util.c index d6b53dd4c5..17bfa32167 100644 --- a/source4/auth/ntlm/auth_util.c +++ b/source4/auth/ntlm/auth_util.c @@ -25,6 +25,7 @@ #include "auth/auth.h" #include "libcli/auth/libcli_auth.h" #include "param/param.h" +#include "auth/ntlm/auth_proto.h" /* this default function can be used by mostly all backends * which don't want to set a challenge diff --git a/source4/auth/ntlm/auth_winbind.c b/source4/auth/ntlm/auth_winbind.c index 30a2f01585..dfb8fce2a6 100644 --- a/source4/auth/ntlm/auth_winbind.c +++ b/source4/auth/ntlm/auth_winbind.c @@ -31,6 +31,8 @@ #include "nsswitch/libwbclient/wbclient.h" #include "libcli/security/security.h" +_PUBLIC_ NTSTATUS auth_winbind_init(void); + static NTSTATUS get_info3_from_wbcAuthUserInfo(TALLOC_CTX *mem_ctx, struct wbcAuthUserInfo *info, struct netr_SamInfo3 *info3) -- cgit