s3:idmap_rid: remove unused talloc ctx argument from idmap_rid_id_to_sid()
authorMichael Adam <obnox@samba.org>
Tue, 22 Jun 2010 10:29:57 +0000 (12:29 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Jun 2010 10:40:37 +0000 (12:40 +0200)
source3/winbindd/idmap_rid.c

index 10cb98e690779973f4a74dc11a93c725d67bb63e..7cbd4650f3592fc51d211edb04726f7509693301 100644 (file)
@@ -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))) {