From 5a571296b8a314c52698391b8fbc032fc1e47de9 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Fri, 5 Jul 2024 04:22:13 -0700 Subject: [PATCH] Fix groupmap test for nsswitch changes (#13980) Auto-generated winbind groups will no longer resolve into unix groups when generating verbose groupmap output because winbind is no longer by default in the nsswitch.conf due to product improvements allowed by newer GCC in electric eel. --- tests/api2/test_210_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api2/test_210_group.py b/tests/api2/test_210_group.py index fd3f6162c7a54..790abe502fb5e 100644 --- a/tests/api2/test_210_group.py +++ b/tests/api2/test_210_group.py @@ -283,7 +283,7 @@ def test_27_full_groupmap_check(request): gid, sid = i entry = gm['builtins'][gid] assert entry['sid'] == sid, str(entry) - assert entry['unix_group'] == f'BUILTIN\\{entry["nt_name"].lower()}', str(entry) + assert entry['unix_group'] == gid, str(entry) assert entry['group_type_int'] == 4, str(entry) assert int(gid) == entry['gid'], str(entry)