Skip to content

Commit

Permalink
Fix groupmap test for nsswitch changes (#13980)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
anodos325 authored Jul 5, 2024
1 parent 14e92b6 commit 5a57129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api2/test_210_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5a57129

Please sign in to comment.