diff options
| author | Christof Schmitt <cs@samba.org> | 2014-09-17 13:28:19 -0700 |
|---|---|---|
| committer | Christof Schmitt <cs@samba.org> | 2014-10-01 19:20:50 +0200 |
| commit | 7f17e017b5fba4a9a83457c83c0c2d6bb88c7381 (patch) | |
| tree | 481ed61f68f0b822dde8b2f9614cd0b316ca860c /source3/winbindd | |
| parent | 304e3904f0bfca468862e576fde9b0922c66de07 (diff) | |
| download | samba-7f17e017b5fba4a9a83457c83c0c2d6bb88c7381.tar.gz samba-7f17e017b5fba4a9a83457c83c0c2d6bb88c7381.tar.xz samba-7f17e017b5fba4a9a83457c83c0c2d6bb88c7381.zip | |
idmap_rfc2307: Remove unsed parameter and variable
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Wed Oct 1 19:20:50 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
| -rw-r--r-- | source3/winbindd/idmap_rfc2307.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/source3/winbindd/idmap_rfc2307.c b/source3/winbindd/idmap_rfc2307.c index db8bab6335..c04dfac5d1 100644 --- a/source3/winbindd/idmap_rfc2307.c +++ b/source3/winbindd/idmap_rfc2307.c @@ -551,7 +551,6 @@ static struct id_map* idmap_rfc2307_find_map(struct idmap_rfc2307_map *maps, static void idmap_rfc2307_map_xid_results(struct idmap_rfc2307_context *ctx, TALLOC_CTX *mem_ctx, - struct id_map **ids, struct idmap_rfc2307_map *maps, LDAPMessage *result, struct idmap_domain *dom, @@ -622,7 +621,7 @@ static NTSTATUS idmap_rfc2307_sids_to_unixids(struct idmap_domain *dom, struct idmap_rfc2307_context *ctx; TALLOC_CTX *mem_ctx; struct idmap_rfc2307_map *int_maps; - int cnt_usr = 0, cnt_grp = 0, idx = 0, bidx = 0; + int cnt_usr = 0, cnt_grp = 0, idx = 0; char *fltr_usr = NULL, *fltr_grp = NULL; NTSTATUS ret; int i; @@ -722,9 +721,8 @@ again: goto out; } - idmap_rfc2307_map_xid_results(ctx, mem_ctx, &ids[bidx], - int_maps, result, dom, - attrs, ID_TYPE_UID); + idmap_rfc2307_map_xid_results(ctx, mem_ctx, int_maps, + result, dom, attrs, ID_TYPE_UID); cnt_usr = 0; TALLOC_FREE(fltr_usr); @@ -746,9 +744,8 @@ again: goto out; } - idmap_rfc2307_map_xid_results(ctx, mem_ctx, &ids[bidx], - int_maps, result, dom, - attrs, ID_TYPE_GID); + idmap_rfc2307_map_xid_results(ctx, mem_ctx, int_maps, result, + dom, attrs, ID_TYPE_GID); cnt_grp = 0; TALLOC_FREE(fltr_grp); } |
