summaryrefslogtreecommitdiff
path: root/source4/auth/auth.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-14 22:23:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:48 -0500
commit31ded4901b4529ad2e49871502cab5ecba71483a (patch)
tree9ee5bf3ede7f672060e843c3c09cf5e9ad5f0fb4 /source4/auth/auth.c
parente856a8d83c18820a270ef865d2d7869849ce4e20 (diff)
downloadsamba-31ded4901b4529ad2e49871502cab5ecba71483a.tar.gz
samba-31ded4901b4529ad2e49871502cab5ecba71483a.tar.bz2
samba-31ded4901b4529ad2e49871502cab5ecba71483a.zip
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)
Diffstat (limited to 'source4/auth/auth.c')
-rw-r--r--source4/auth/auth.c20
1 files changed, 1 insertions, 19 deletions
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;