idmap_autorid: add new function idmap_autorid_setrange()
authorMichael Adam <obnox@samba.org>
Wed, 4 Sep 2013 15:43:28 +0000 (17:43 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 1 Oct 2013 08:49:16 +0000 (10:49 +0200)
commitc27cf26e200eee62aa6bd6fcf3e890ea66950b04
treed6ae5304ea0233b8c85b5f65b92c2c01bd421d8c
parent876a279937c6b6328cc9594b09426ceec1f819c8
idmap_autorid: add new function idmap_autorid_setrange()

This allows to directly set a range for a domsid#index pair.
It fails if a stored range is found which is different from
the requested one.

Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
source3/include/idmap_autorid.h
source3/winbindd/idmap_autorid_tdb.c