summaryrefslogtreecommitdiffstats
path: root/source3/auth/auth_sam.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_sam.c
parentcf00ce3e87a0d714fb38f709f9635b8a045866e3 (diff)
downloadsamba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.tar.gz
samba-a8c95d79f83b4097ee20d5f3f1005c38ccf00186.tar.xz
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_sam.c')
-rw-r--r--source3/auth/auth_sam.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c
index b309833440e..1fc8aa51bb8 100644
--- a/source3/auth/auth_sam.c
+++ b/source3/auth/auth_sam.c
@@ -518,4 +518,9 @@ NTSTATUS auth_init_samstrict(struct auth_context *auth_context, const char *para
return NT_STATUS_OK;
}
-
+int auth_sam_init(void)
+{
+ smb_register_auth("samstrict", auth_init_samstrict, AUTH_INTERFACE_VERSION);
+ smb_register_auth("sam", auth_init_sam, AUTH_INTERFACE_VERSION);
+ return True;
+}