idmap_autorid: fix failure in reverse lookup if ID is from domain range index #0
commit7346e39f5407d0b5d4fc949f8c291ac4e8ed4411
authorAbhidnya Joshi <achirmul@in.ibm.com>
Fri, 25 Oct 2013 05:06:01 +0000 (25 07:06 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 6 May 2014 09:35:35 +0000 (6 11:35 +0200)
tree9580e2a72bdfacbe9a2e3cf73ab967df2b4458ae
parentc5737207a0ad59eecfa54e05e4cc9198a08189e3
idmap_autorid: fix failure in reverse lookup if ID is from domain range index #0

Domain range index #0 is not included in the database record.
So in this special case we only have the SID, not SID#IDX...

Signed-off-by: Abhidnya Joshi <achirmul@in.ibm.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit ebc9ff616fefbf10b31e4e097f28fa17a1abc2f8)

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10547
source3/winbindd/idmap_autorid.c