summaryrefslogtreecommitdiff
path: root/source3/auth/auth_winbind.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_winbind.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_winbind.c')
-rw-r--r--source3/auth/auth_winbind.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 5e1567d3c1..e2a292dd01 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -134,3 +134,8 @@ NTSTATUS auth_init_winbind(struct auth_context *auth_context, const char *param,
(*auth_method)->auth = check_winbind_security;
return NT_STATUS_OK;
}
+
+int auth_winbind_init(void)
+{
+ return smb_register_auth("winbind", auth_init_winbind, AUTH_INTERFACE_VERSION);
+}