[PATCH] fix output of new "net idmap get ranges" if id mappings are present

Andreas Schneider asn at samba.org
Mon Oct 21 09:55:49 MDT 2013


On Monday 21 October 2013 15:45:45 Michael Adam wrote:
> Hi,
> 
> the new "net idmap get ranges" command did not take into account
> the case of a mapping of an ID mapping (as opposed to a range
> mapping), e.g. for well known sids. The problem is that for the
> sid->id direction of the mapping the key looks the same as the
> the key for a domsid->range mapping.
> 
> The result were "ranges" printed for the id mappings:
> 
> RANGE 541346119: S-1-5-10
> 
> This patch fixes this by implementing an appropriate filter.
> 
> Review and push appreciated.
> 
> Thanks - Michael

Pushed to autobuild.

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org



More information about the samba-technical mailing list