Bug 15319 - idmap_hash doesn't use ID_TYPE_BOTH for reverse mappings
Summary: idmap_hash doesn't use ID_TYPE_BOTH for reverse mappings
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 4.18.0rc3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL: https://gitlab.com/samba-team/samba/-...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-23 07:43 UTC by Stefan Metzmacher
Modified: 2023-05-11 07:10 UTC (History)
1 user (show)

See Also:


Attachments
git-am fix for 4.18.next, 4.17.next (26.15 KB, patch)
2023-03-11 00:28 UTC, Jeremy Allison
metze: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2023-02-23 07:43:32 UTC
While sids_to_unixids returns ID_TYPE_BOTH mappings,
unixids_to_sids() returns the callers asked for.
Comment 1 Samba QA Contact 2023-03-10 11:36:19 UTC
This bug was referenced in samba master:

9a24570d3d69f51b6d50bb04b739815ec67c1a3d
0f96c4b419a59ea884e68a460910e5c8a45bfcec
2cfcff3101fce94b365eccde114432dfa980bbd0
0da13ab3ad7278eafdcd988f39e891242eb46d37
14102b05f3744c67178bd719d41e67fc3e049ee4
57150b463fb8e27c048670f7b4902bd091ee3ae9
c158b075b0b5035615fa8848f1f3d8ef27696861
42dcb3db05530179a991fe58e7b96b52bbbcc607
ede88d9f83fb77fa8eff226fb6a85ac71e415098
ee820553fd2c6ada966a0160cbb0240049f9d9f7
7ee725f2860d835e9619fa594a2ee6faedbc6d21
Comment 2 Jeremy Allison 2023-03-11 00:28:58 UTC
Created attachment 17803 [details]
git-am fix for 4.18.next, 4.17.next

Cherry-picked from master.
Comment 3 Jule Anger 2023-03-29 19:00:07 UTC
Pushed to autobuild-v4-{18,17}-test.
Comment 4 Samba QA Contact 2023-03-30 16:11:47 UTC
This bug was referenced in samba v4-17-test:

bac09f85daa6f610347fd467c27d1b5197b3a662
1e6eeb8efb21a836c08d203d379817598d6ea447
5a754810dead1225554b5a9c5c5265079ae5c0a9
a19fe9301999a0ce308f06643ff3be1bbac7beb7
61f3e6740765c92cd84c28ee69fe410c18b548fc
da2706429185ec6724d91f409f78ffbf10f7208c
e5c9a3597af05da7236e284422adca5294ff31c4
13a593254afa9cfdfbcefb51da88b1a8309ef723
182410af7de4fdfb8100cc83e53d0371e59d6a81
f27cff23350dc332515a66d98335418d20e94a0e
bf5ccd5a14062dc31c09e167dadff9782ba1caba
Comment 5 Samba QA Contact 2023-04-05 11:42:20 UTC
This bug was referenced in samba v4-18-test:

e804feaf76d3609e0f69a4bb1cc9d42934c221d3
00909630b0d609f694ee078562d59dd43cdbdd60
bbd1f56b78cfd0a644016db88ee0eb2a4b2dbc3d
678c66f1327988fe4ad0def6a3a43d789ae42387
54e872cdf051e718b6ba186ab80b4e7974cd13cf
31cedf58e695128509215e5e5e5e0bec53531832
da9634962783ddb3fcd7daca8cf1631b012189bf
e79be5ed069cb4efda859792b43fe7d4c044c2a7
eb4129d3cc75833554f26f31ef91b164d9a3b2e8
750865aca3ae44c8b949babb4c77175d8917543c
f968514c4d45cd89ea94196ef1b9487447262915
Comment 6 Jule Anger 2023-04-05 11:54:17 UTC
Closing out bug report.

Thanks!
Comment 7 Samba QA Contact 2023-04-19 10:23:40 UTC
This bug was referenced in samba v4-18-stable (Release samba-4.18.2):

e804feaf76d3609e0f69a4bb1cc9d42934c221d3
00909630b0d609f694ee078562d59dd43cdbdd60
bbd1f56b78cfd0a644016db88ee0eb2a4b2dbc3d
678c66f1327988fe4ad0def6a3a43d789ae42387
54e872cdf051e718b6ba186ab80b4e7974cd13cf
31cedf58e695128509215e5e5e5e0bec53531832
da9634962783ddb3fcd7daca8cf1631b012189bf
e79be5ed069cb4efda859792b43fe7d4c044c2a7
eb4129d3cc75833554f26f31ef91b164d9a3b2e8
750865aca3ae44c8b949babb4c77175d8917543c
f968514c4d45cd89ea94196ef1b9487447262915
Comment 8 Samba QA Contact 2023-05-11 07:10:39 UTC
This bug was referenced in samba v4-17-stable (Release samba-4.17.8):

bac09f85daa6f610347fd467c27d1b5197b3a662
1e6eeb8efb21a836c08d203d379817598d6ea447
5a754810dead1225554b5a9c5c5265079ae5c0a9
a19fe9301999a0ce308f06643ff3be1bbac7beb7
61f3e6740765c92cd84c28ee69fe410c18b548fc
da2706429185ec6724d91f409f78ffbf10f7208c
e5c9a3597af05da7236e284422adca5294ff31c4
13a593254afa9cfdfbcefb51da88b1a8309ef723
182410af7de4fdfb8100cc83e53d0371e59d6a81
f27cff23350dc332515a66d98335418d20e94a0e
bf5ccd5a14062dc31c09e167dadff9782ba1caba