summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-09 14:55:01 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-04-09 14:55:01 +1000
commit3f990fdf7c8735d3cf34d7407bd844b1c268e23f (patch)
tree850f45ebdb20154597959cc35ef910b5bb1d7897
parente8a3621a8fdf4b76dc64edcd391b71eb4e63adfd (diff)
downloadsamba-3f990fdf7c8735d3cf34d7407bd844b1c268e23f.tar.gz
samba-3f990fdf7c8735d3cf34d7407bd844b1c268e23f.tar.bz2
samba-3f990fdf7c8735d3cf34d7407bd844b1c268e23f.zip
Remove dns_name element
This is only used in the DEBUG() message, so let's remove it. Andrew Bartlett (This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
-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;