The Samba-Bugzilla – Bug 10547
idmap_autorid: idmap_autorid: failure to do reverse lookup if ID is from domain range index #0
Last modified: 2014-05-19 09:02:54 UTC
With 4.1, multi-range-support was introduced to idmap_autorid.
We can now have a domain range index associated to sids. Hence
domain ranges are associated to pairs of the form: "<sid>#<idx>"
A missing #<idx> is interpreted as 0 for backward compatibility.
In the reverse lookup code, this "special" case was originally
forgotten, so that the common case of the first range associated
to a domain fails reverse lookups in Samba 4.1.
This has been fixed long ago in master by Abhidnya,
but it was forgotten to create a bug report.
Created attachment 9844 [details]
patch for 4.1, cherry-picked from master
Patch from master,
with cherry-pick and bug info added.
Pushed to autobuild-v4-1-test.
(In reply to comment #2)
> Pushed to autobuild-v4-1-test.
Pushed to v4-1-test.
Closing out bug report.