diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-15 16:30:35 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-18 15:09:46 +1100 |
commit | ed71c1ef1fbeb5d2ba3aa98954b6a1e018515f46 (patch) | |
tree | bcaa70fc8231ef661c45bc15d38bfdbd763674ce /source4/auth/ntlm/auth.c | |
parent | 35a11630c1727677df24cdaa42526e89f7614172 (diff) | |
download | samba-ed71c1ef1fbeb5d2ba3aa98954b6a1e018515f46.tar.gz samba-ed71c1ef1fbeb5d2ba3aa98954b6a1e018515f46.tar.bz2 samba-ed71c1ef1fbeb5d2ba3aa98954b6a1e018515f46.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'source4/auth/ntlm/auth.c')
-rw-r--r-- | source4/auth/ntlm/auth.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |