diff options
author | Michael Adam <obnox@samba.org> | 2014-04-11 17:56:37 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-04-25 15:35:09 +0200 |
commit | e32f6a278dccb14991ba8103876d9a98a585150d (patch) | |
tree | c88591658bfa044eb12c3810b7728540b4d2bde1 | |
parent | 31241beec6f27ce69ff967a717d23d851001cb26 (diff) | |
download | samba-e32f6a278dccb14991ba8103876d9a98a585150d.tar.gz samba-e32f6a278dccb14991ba8103876d9a98a585150d.tar.xz samba-e32f6a278dccb14991ba8103876d9a98a585150d.zip |
autorid: rename idmap_autorid_sid_to_id() -> idmap_autorid_sid_to_id_rid()
For consistency. This is the function that does the calculation
if the sid is treated by a rid range.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/winbindd/idmap_autorid.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c index 4d3736319db..0e7d6d676e4 100644 --- a/source3/winbindd/idmap_autorid.c +++ b/source3/winbindd/idmap_autorid.c @@ -261,7 +261,8 @@ static NTSTATUS idmap_autorid_id_to_sid(struct autorid_global_config *cfg, Single sid to id lookup function. **********************************/ -static NTSTATUS idmap_autorid_sid_to_id(struct autorid_global_config *global, +static NTSTATUS idmap_autorid_sid_to_id_rid( + struct autorid_global_config *global, struct autorid_range_config *range, struct id_map *map) { @@ -511,7 +512,7 @@ static NTSTATUS idmap_autorid_sids_to_unixids(struct idmap_domain *dom, goto failure; } - ret = idmap_autorid_sid_to_id(global, &range, ids[i]); + ret = idmap_autorid_sid_to_id_rid(global, &range, ids[i]); if ((!NT_STATUS_IS_OK(ret)) && (!NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED))) { |