From ed71c1ef1fbeb5d2ba3aa98954b6a1e018515f46 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 15 Feb 2011 16:30:35 +1100 Subject: s4-auth: rename 'auth' subsystem to 'auth4' this prevents conflicts with the s3 auth modules. The auth modules in samba3 may appear in production smb.conf files, so it is preferable to rename the s4 modules for minimal disruption. Pair-Programmed-With: Andrew Bartlett --- source4/auth/ntlm/auth.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/auth/ntlm/auth.c') diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index 1558cfdebe..e2deab78bc 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -433,7 +433,7 @@ _PUBLIC_ NTSTATUS auth_context_create_methods(TALLOC_CTX *mem_ctx, const char ** int i; struct auth_context *ctx; - auth_init(); + auth4_init(); if (!ev) { DEBUG(0,("auth_context_create: called with out event context\n")); @@ -631,12 +631,12 @@ const struct auth_critical_sizes *auth_interface_version(void) return &critical_sizes; } -_PUBLIC_ NTSTATUS auth_init(void) +_PUBLIC_ NTSTATUS auth4_init(void) { static bool initialized = false; #define _MODULE_PROTO(init) extern NTSTATUS init(void); - STATIC_auth_MODULES_PROTO; - init_module_fn static_init[] = { STATIC_auth_MODULES }; + STATIC_auth4_MODULES_PROTO; + init_module_fn static_init[] = { STATIC_auth4_MODULES }; if (initialized) return NT_STATUS_OK; initialized = true; -- cgit