mirror of
https://github.com/samba-team/samba.git
synced 2025-10-23 11:33:16 +03:00
autorid: rename idmap_autorid_map_sid_to_id() -> idmap_autorid_sid_to_id_alloc()
for consistency. this is the sid->id function for the alloc range. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
@@ -340,7 +340,7 @@ static NTSTATUS idmap_autorid_unixids_to_sids(struct idmap_domain *dom,
|
||||
/*
|
||||
* map a SID to xid using the idmap_tdb like pool
|
||||
*/
|
||||
static NTSTATUS idmap_autorid_map_sid_to_id(struct idmap_domain *dom,
|
||||
static NTSTATUS idmap_autorid_sid_to_id_alloc(struct idmap_domain *dom,
|
||||
struct id_map *map,
|
||||
struct idmap_tdb_common_context *ctx)
|
||||
{
|
||||
@@ -451,7 +451,7 @@ static NTSTATUS idmap_autorid_sids_to_unixids(struct idmap_domain *dom,
|
||||
DEBUG(10, ("SID %s is well-known, using pool\n",
|
||||
sid_string_dbg(ids[i]->sid)));
|
||||
|
||||
ret = idmap_autorid_map_sid_to_id(dom, ids[i],
|
||||
ret = idmap_autorid_sid_to_id_alloc(dom, ids[i],
|
||||
commoncfg);
|
||||
|
||||
if (!NT_STATUS_IS_OK(ret) &&
|
||||
|
Reference in New Issue
Block a user