mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
idmap_autorid: Make idmap_autorid_acquire_range public
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
ba231d250a
commit
ba02936032
@ -82,6 +82,9 @@ NTSTATUS idmap_autorid_setrange(struct db_context *db,
|
|||||||
uint32_t domain_range_index,
|
uint32_t domain_range_index,
|
||||||
uint32_t rangenum);
|
uint32_t rangenum);
|
||||||
|
|
||||||
|
NTSTATUS idmap_autorid_acquire_range(struct db_context *db,
|
||||||
|
struct autorid_range_config *range);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Delete a domain#index <-> range maping from the database.
|
* Delete a domain#index <-> range maping from the database.
|
||||||
* The mapping is specified by the sid and index.
|
* The mapping is specified by the sid and index.
|
||||||
|
@ -298,8 +298,8 @@ NTSTATUS idmap_autorid_setrange(struct db_context *db,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
static NTSTATUS idmap_autorid_acquire_range(struct db_context *db,
|
NTSTATUS idmap_autorid_acquire_range(struct db_context *db,
|
||||||
struct autorid_range_config *range)
|
struct autorid_range_config *range)
|
||||||
{
|
{
|
||||||
return idmap_autorid_addrange(db, range, true);
|
return idmap_autorid_addrange(db, range, true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user