idmap_autorid: Use acquire_range directly
authorVolker Lendecke <vl@samba.org>
Fri, 2 Dec 2016 15:25:10 +0000 (15:25 +0000)
committerVolker Lendecke <vl@samba.org>
Fri, 16 Dec 2016 16:38:20 +0000 (17:38 +0100)
commita04cec5c624e4486b5ff56b064443ec3dbdfd181
treea24e65401202e71b6da1c57b269649c7810df3e9
parentba02936032216d8cd774907b1de852e5a0b0ed9d
idmap_autorid: Use acquire_range directly

idmap_autorid_get_domainrange is reading again for an existing mapping. We
know we need to allocate here, so avoid passing down that r/o boolean :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/idmap_autorid.c