From: Jelmer Vernooij Date: Fri, 18 Mar 2011 23:44:28 +0000 (+0100) Subject: source4/auth/ntlm: Fix prototypes for all functions. X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba.git;a=commitdiff_plain;h=557f830c4fc7e6b0fd0d652b80b724281faacb0c;ds=sidebyside source4/auth/ntlm: Fix prototypes for all functions. --- diff --git a/source4/auth/ntlm/auth_anonymous.c b/source4/auth/ntlm/auth_anonymous.c index 7535777b606..6b21225aadf 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 255f97fd239..da842c98baf 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 f9765ff1b92..f76057a6df1 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 106bc6c15bc..7efeb9242ad 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 8b41983eef7..743cb8103d8 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 d6b53dd4c5e..17bfa321673 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 30a2f01585c..dfb8fce2a6b 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)