summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/provision.c4
-rw-r--r--source4/param/provision.h1
-rw-r--r--source4/torture/libnet/libnet_BecomeDC.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/source4/param/provision.c b/source4/param/provision.c
index 5d1f01c59a..a15993ffc8 100644
--- a/source4/param/provision.c
+++ b/source4/param/provision.c
@@ -61,8 +61,8 @@ NTSTATUS provision_bare(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx,
return NT_STATUS_UNSUCCESSFUL;
}
- DEBUG(0,("New Server[%s] in Site[%s]\n", settings->dns_name,
- settings->site_name));
+ DEBUG(0,("New Server in Site[%s]\n",
+ settings->site_name));
DEBUG(0,("DSA Instance [%s]\n"
"\tobjectGUID[%s]\n"
diff --git a/source4/param/provision.h b/source4/param/provision.h
index 323159d417..38a66966c8 100644
--- a/source4/param/provision.h
+++ b/source4/param/provision.h
@@ -21,7 +21,6 @@
#define _PROVISION_H_
struct provision_settings {
- const char *dns_name;
const char *site_name;
const char *root_dn_str;
const char *domain_dn_str;
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c
index bb5e8fe061..07dd0ddd81 100644
--- a/source4/torture/libnet/libnet_BecomeDC.c
+++ b/source4/torture/libnet/libnet_BecomeDC.c
@@ -76,7 +76,6 @@ static NTSTATUS test_become_dc_prepare_db(void *private_data,
return NT_STATUS_NO_MEMORY;
}
- settings.dns_name = p->dest_dsa->dns_name;
settings.site_name = p->dest_dsa->site_name;
settings.root_dn_str = p->forest->root_dn_str;
settings.domain_dn_str = p->domain->dn_str;