1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

source4/auth/ntlm: Fix prototypes for all functions.

This commit is contained in:
Jelmer Vernooij 2011-03-19 00:44:28 +01:00
parent 8823aeaf24
commit 557f830c4f
7 changed files with 13 additions and 0 deletions

View File

@ -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 = "")
*

View File

@ -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)

View File

@ -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[];

View File

@ -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 */

View File

@ -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
*/

View File

@ -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

View File

@ -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)