summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_ads.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 76b6b043ba..82c57e8723 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -1238,7 +1238,6 @@ static NTSTATUS net_update_dns_internal(TALLOC_CTX *ctx, ADS_STRUCT *ads,
DNS_ERROR dns_err;
fstring dns_server;
const char *dnsdomain;
- name_to_fqdn( machine_name, global_myname() );
if ( (dnsdomain = strchr_m( machine_name, '.')) == NULL ) {
d_printf("No DNS domain configured for %s. "