From 8b6c6fd17ca48695783d12bf10a01f3c8e9ddce3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 14 Apr 2021 12:31:27 +0200 Subject: auth3: Remove auth_skel.c Authentication is a very complex topic, and someone who is able to write a custom auth module turning a struct auth_usersupplied_info into a struct auth_serversupplied_info should be able to live without this skeleton module. This module also gave an example to load a secondary authentication module via a module parameter (the call to load_module()). We have abandoned this practice, and since the "auth methods" parameter has gone we don't use this anymore internally. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- testsuite/unittests/test_lib_util_modules.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'testsuite/unittests/test_lib_util_modules.c') diff --git a/testsuite/unittests/test_lib_util_modules.c b/testsuite/unittests/test_lib_util_modules.c index ca62857d86d..647fc1fb82d 100644 --- a/testsuite/unittests/test_lib_util_modules.c +++ b/testsuite/unittests/test_lib_util_modules.c @@ -22,14 +22,6 @@ static int teardown(void **state) return 0; } -static void test_samba_module_probe(void **state) -{ - NTSTATUS status; - - status = smb_probe_module("auth", "skel"); - assert_true(NT_STATUS_IS_OK(status)); -} - static void test_samba_module_probe_dummy(void **state) { const char *module_env; @@ -63,8 +55,6 @@ static void test_samba_module_probe_slash(void **state) int main(void) { const struct CMUnitTest tests[] = { - cmocka_unit_test_teardown(test_samba_module_probe, - teardown), cmocka_unit_test_teardown(test_samba_module_probe_dummy, teardown), cmocka_unit_test_teardown(test_samba_module_probe_slash, -- cgit v1.2.1