git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8823aea
)
source4/auth/ntlm: Fix prototypes for all functions.
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 18 Mar 2011 23:44:28 +0000
(
00:44
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sat, 19 Mar 2011 02:20:05 +0000
(
03:20
+0100)
source4/auth/ntlm/auth_anonymous.c
patch
|
blob
|
history
source4/auth/ntlm/auth_developer.c
patch
|
blob
|
history
source4/auth/ntlm/auth_sam.c
patch
|
blob
|
history
source4/auth/ntlm/auth_server.c
patch
|
blob
|
history
source4/auth/ntlm/auth_unix.c
patch
|
blob
|
history
source4/auth/ntlm/auth_util.c
patch
|
blob
|
history
source4/auth/ntlm/auth_winbind.c
patch
|
blob
|
history
diff --git
a/source4/auth/ntlm/auth_anonymous.c
b/source4/auth/ntlm/auth_anonymous.c
index 7535777b6066f8a65bfd4fc2866d2c97fc69074a..6b21225aadf4bb24281b8c82c62827776122ebf9 100644
(file)
--- 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"
#include "auth/ntlm/auth_proto.h"
#include "param/param.h"
+_PUBLIC_ NTSTATUS auth_anonymous_init(void);
+
/**
* Return a anonymous logon for anonymous users (username = "")
*
/**
* 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 255f97fd239c343dfe44a1aa312ac200efc94c63..da842c98baf4bbab936952bc47ffec7cee7eb999 100644
(file)
--- 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"
#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)
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 f9765ff1b927078e0a5b956c7a9eaff2fbbc7b91..f76057a6df1d793a549b6f32477c124c972aa507 100644
(file)
--- 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"
#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[];
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 106bc6c15bc771a4b69bc007c2b9fdc576169666..7efeb9242ade938a37e2db69f416de489e337843 100644
(file)
--- 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"
#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 */
/* 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 8b41983eef72d106c73e5e12fd071bfc8d11813d..743cb8103d84c2f66e628a303624eedd9d0add95 100644
(file)
--- 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"
#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
*/
/* 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 d6b53dd4c5eb98a51a558f2dab0eba1d94f603cf..17bfa321673abc445f1832b06f4fa0a546e5d8ad 100644
(file)
--- 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/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
/* 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 30a2f01585cb3fdeab5118b915816f2a083fab1b..dfb8fce2a6b10bdc9c3be90ff81446f9fe6ee31b 100644
(file)
--- 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"
#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)
static NTSTATUS get_info3_from_wbcAuthUserInfo(TALLOC_CTX *mem_ctx,
struct wbcAuthUserInfo *info,
struct netr_SamInfo3 *info3)