summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-22 12:31:41 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:54 +0200
commit376e2bcc6e6f8c8b032d83116dc742c5975f042e (patch)
tree15334ba88b3907ba0f81ca7b3683f7d5c2c8f27a /source3
parent597292a819450866a28e8a46091a0287db9631c1 (diff)
downloadsamba-376e2bcc6e6f8c8b032d83116dc742c5975f042e.tar.gz
samba-376e2bcc6e6f8c8b032d83116dc742c5975f042e.tar.bz2
samba-376e2bcc6e6f8c8b032d83116dc742c5975f042e.zip
s3:idmap_rid: remove unused talloc context arg from idmap_rid_sid_to_id()
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_rid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_rid.c b/source3/winbindd/idmap_rid.c
index 5b7073c1d1..f2b0609f50 100644
--- a/source3/winbindd/idmap_rid.c
+++ b/source3/winbindd/idmap_rid.c
@@ -136,7 +136,7 @@ static NTSTATUS idmap_rid_id_to_sid(struct idmap_rid_context *ctx, struct id_map
Single sid to id lookup function.
**********************************/
-static NTSTATUS idmap_rid_sid_to_id(TALLOC_CTX *memctx, struct idmap_rid_context *ctx, struct id_map *map)
+static NTSTATUS idmap_rid_sid_to_id(struct idmap_rid_context *ctx, struct id_map *map)
{
uint32_t rid;
@@ -218,7 +218,7 @@ static NTSTATUS idmap_rid_sids_to_unixids(struct idmap_domain *dom, struct id_ma
for (i = 0; ids[i]; i++) {
- ret = idmap_rid_sid_to_id(ctx, ridctx, ids[i]);
+ ret = idmap_rid_sid_to_id(ridctx, ids[i]);
if (( ! NT_STATUS_IS_OK(ret)) &&
( ! NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED))) {