From 31ded4901b4529ad2e49871502cab5ecba71483a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 14 Nov 2004 22:23:23 +0000 Subject: r3737: - Get rid of the register_subsystem() and register_backend() functions. - Re-disable tdbtool (it was building fine on my Debian box but other machines were having problems) (This used to be commit 0d7bb2c40b7a9ed59df3f8944133ea562697e814) --- source4/auth/auth.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'source4/auth/auth.c') diff --git a/source4/auth/auth.c b/source4/auth/auth.c index 58075b4c75..cd59190a42 100644 --- a/source4/auth/auth.c +++ b/source4/auth/auth.c @@ -411,7 +411,7 @@ static int num_backends; The 'name' can be later used by other backends to find the operations structure for this backend. */ -static NTSTATUS auth_register(const void *_ops) +NTSTATUS auth_register(const void *_ops) { const struct auth_operations *ops = _ops; struct auth_operations *new_ops; @@ -477,24 +477,6 @@ const struct auth_critical_sizes *auth_interface_version(void) return &critical_sizes; } -/* - initialise the AUTH subsystem -*/ -NTSTATUS auth_init(void) -{ - NTSTATUS status; - - status = register_subsystem("auth", auth_register); - if (!NT_STATUS_IS_OK(status)) { - return status; - } - - auth_init_static_modules; - - DEBUG(3,("AUTH subsystem version %d initialised\n", AUTH_INTERFACE_VERSION)); - return status; -} - NTSTATUS server_service_auth_init(void) { return NT_STATUS_OK; -- cgit