summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-22 12:29:57 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:54 +0200
commit62833871bc5e2efe203d8f0a1efaf7c9fa62ff94 (patch)
tree1d4d86d7652aea55f475a34e3bb306e3de2ff2d2
parent622bda8a67083af2b1d0821e5cffcce4a50ea0b8 (diff)
downloadsamba-62833871bc5e2efe203d8f0a1efaf7c9fa62ff94.tar.gz
samba-62833871bc5e2efe203d8f0a1efaf7c9fa62ff94.tar.bz2
samba-62833871bc5e2efe203d8f0a1efaf7c9fa62ff94.zip
s3:idmap_rid: remove unused talloc ctx argument from idmap_rid_id_to_sid()
-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 10cb98e690..7cbd4650f3 100644
--- a/source3/winbindd/idmap_rid.c
+++ b/source3/winbindd/idmap_rid.c
@@ -106,7 +106,7 @@ failed:
return ret;
}
-static NTSTATUS idmap_rid_id_to_sid(TALLOC_CTX *memctx, struct idmap_rid_context *ctx, struct id_map *map)
+static NTSTATUS idmap_rid_id_to_sid(struct idmap_rid_context *ctx, struct id_map *map)
{
struct winbindd_domain *domain;
@@ -187,7 +187,7 @@ static NTSTATUS idmap_rid_unixids_to_sids(struct idmap_domain *dom, struct id_ma
for (i = 0; ids[i]; i++) {
- ret = idmap_rid_id_to_sid(ctx, ridctx, ids[i]);
+ ret = idmap_rid_id_to_sid(ridctx, ids[i]);
if (( ! NT_STATUS_IS_OK(ret)) &&
( ! NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED))) {