summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-22 12:44:22 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:55 +0200
commita75822836719f17b74cb009c482482bd78349cc7 (patch)
treec09a1b19283f3904ab35ff76904894a6932debb9
parent2916b302f35e434a1f9dfe329a146cb815bcda7e (diff)
downloadsamba-a75822836719f17b74cb009c482482bd78349cc7.tar.gz
samba-a75822836719f17b74cb009c482482bd78349cc7.tar.bz2
samba-a75822836719f17b74cb009c482482bd78349cc7.zip
s3:idmap_rid: remove unused domain_name from the idmap_rid_context.
-rw-r--r--source3/winbindd/idmap_rid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_rid.c b/source3/winbindd/idmap_rid.c
index e4490ded16..b0beb271ad 100644
--- a/source3/winbindd/idmap_rid.c
+++ b/source3/winbindd/idmap_rid.c
@@ -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);