s3:idmap_rid: remove unused domain_name from the idmap_rid_context.
authorMichael Adam <obnox@samba.org>
Tue, 22 Jun 2010 10:44:22 +0000 (12:44 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 14 Aug 2010 00:10:55 +0000 (02:10 +0200)
source3/winbindd/idmap_rid.c

index e4490ded1661d7adee3f82b77ae3c0e3d50e81c0..b0beb271ad9d2198035a23857c6b57a826ad1cc0 100644 (file)
@@ -25,7 +25,6 @@
 #define DBGC_CLASS DBGC_IDMAP
 
 struct idmap_rid_context {
-       const char *domain_name;
        uint32_t base_rid;
 };
 
@@ -55,8 +54,7 @@ static NTSTATUS idmap_rid_initialize(struct idmap_domain *dom,
        }
 
        ctx->base_rid = lp_parm_int(-1, config_option, "base_rid", 0);
-       ctx->domain_name = talloc_strdup( ctx, dom->name );
-       
+
        dom->private_data = ctx;
 
        talloc_free(config_option);