From 31241beec6f27ce69ff967a717d23d851001cb26 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 10 Apr 2014 18:33:20 +0200 Subject: [PATCH] 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 Reviewed-by: Stefan Metzmacher --- source3/winbindd/idmap_autorid.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c index ae001984c80..4d3736319db 100644 --- a/source3/winbindd/idmap_autorid.c +++ b/source3/winbindd/idmap_autorid.c @@ -340,9 +340,9 @@ 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, - struct id_map *map, - struct idmap_tdb_common_context *ctx) +static NTSTATUS idmap_autorid_sid_to_id_alloc(struct idmap_domain *dom, + struct id_map *map, + struct idmap_tdb_common_context *ctx) { NTSTATUS ret; int res; @@ -451,8 +451,8 @@ 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], - commoncfg); + ret = idmap_autorid_sid_to_id_alloc(dom, ids[i], + commoncfg); if (!NT_STATUS_IS_OK(ret) && !NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED)) { -- 2.11.4.GIT