summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-08 21:36:54 +0100
committerVolker Lendecke <vl@samba.org>2011-03-18 15:46:36 +0100
commitd1970a8da9aef3e379bba38bf7d8820cce0d1e6a (patch)
tree316305343af7b1d6cb1c9393ad32d8828649695e /source3/winbindd
parentf0abb3f3f81f213c543b857a74451d84434cdd21 (diff)
downloadsamba-d1970a8da9aef3e379bba38bf7d8820cce0d1e6a.tar.gz
samba-d1970a8da9aef3e379bba38bf7d8820cce0d1e6a.tar.bz2
samba-d1970a8da9aef3e379bba38bf7d8820cce0d1e6a.zip
idmap-autorid: Remove an unused parameter
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_autorid.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c
index 45f61f04b3..786bdfc5f1 100644
--- a/source3/winbindd/idmap_autorid.c
+++ b/source3/winbindd/idmap_autorid.c
@@ -188,8 +188,7 @@ static NTSTATUS idmap_autorid_id_to_sid(TALLOC_CTX * memctx,
Single sid to id lookup function.
**********************************/
-static NTSTATUS idmap_autorid_sid_to_id(TALLOC_CTX * memctx,
- struct autorid_global_config *global,
+static NTSTATUS idmap_autorid_sid_to_id(struct autorid_global_config *global,
struct autorid_domain_config *domain,
struct id_map *map)
{
@@ -330,7 +329,7 @@ static NTSTATUS idmap_autorid_sids_to_unixids(struct idmap_domain *dom,
goto failure;
}
- ret = idmap_autorid_sid_to_id(ctx, global, &domaincfg, ids[i]);
+ ret = idmap_autorid_sid_to_id(global, &domaincfg, ids[i]);
if ((!NT_STATUS_IS_OK(ret)) &&
(!NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED))) {