summaryrefslogtreecommitdiff
path: root/source3/auth/auth_rhosts.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-16 12:13:07 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-16 12:13:07 +0000
commita8c95d79f83b4097ee20d5f3f1005c38ccf00186 (patch)
tree266efebe2aa517548513d2eee9a673f16b79d5af /source3/auth/auth_rhosts.c
parentcf00ce3e87a0d714fb38f709f9635b8a045866e3 (diff)
downloadsamba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.tar.gz
samba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.tar.bz2
samba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.zip
Add support for the new modules system to auth/ (merge from HEAD)
(This used to be commit c7a1de090db35835be1a1623bfc80c04065c5dd9)
Diffstat (limited to 'source3/auth/auth_rhosts.c')
-rw-r--r--source3/auth/auth_rhosts.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/auth/auth_rhosts.c b/source3/auth/auth_rhosts.c
index 5451f7d930..db37193579 100644
--- a/source3/auth/auth_rhosts.c
+++ b/source3/auth/auth_rhosts.c
@@ -242,3 +242,10 @@ NTSTATUS auth_init_rhosts(struct auth_context *auth_context, const char *param,
(*auth_method)->name = "rhosts";
return NT_STATUS_OK;
}
+
+int auth_rhosts_init(void)
+{
+ smb_register_auth("rhosts", auth_init_rhosts, AUTH_INTERFACE_VERSION);
+ smb_register_auth("hostsequiv", auth_init_hostsequiv, AUTH_INTERFACE_VERSION);
+ return True;
+}