Add support for the new modules system to auth/ (merge from HEAD)
[jra/samba/.git] / source3 / auth / auth_winbind.c
index 5e1567d3c1975dc3adbe1cdceaa679948e5f1328..e2a292dd01505efca9900f5bb4df28f6ae2b7d13 100644 (file)
@@ -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);
+}