diff options
author | Volker Lendecke <vl@samba.org> | 2021-04-14 12:31:27 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2021-04-19 18:18:31 +0000 |
commit | 8b6c6fd17ca48695783d12bf10a01f3c8e9ddce3 (patch) | |
tree | 0cd0075d4f859478c7e25e4153d68e1d3db1e938 /testsuite/unittests/test_lib_util_modules.c | |
parent | 1a696c9ae28453bbf40f14c8f0175664a4ddf3b8 (diff) | |
download | samba-8b6c6fd17ca48695783d12bf10a01f3c8e9ddce3.tar.gz |
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 <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'testsuite/unittests/test_lib_util_modules.c')
-rw-r--r-- | testsuite/unittests/test_lib_util_modules.c | 10 |
1 files changed, 0 insertions, 10 deletions
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, |