summaryrefslogtreecommitdiff
path: root/source4/cldap_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-13 06:06:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:42 -0500
commit2f315e94f8268880f9fbc1f95d08fdb2518b0479 (patch)
treea2a33e4648e164e451641eafaba5e5f33b2fcdaf /source4/cldap_server
parent04ecea3b1ce9e4fdda5f39368b51ca90364a2496 (diff)
downloadsamba-2f315e94f8268880f9fbc1f95d08fdb2518b0479.tar.gz
samba-2f315e94f8268880f9fbc1f95d08fdb2518b0479.tar.bz2
samba-2f315e94f8268880f9fbc1f95d08fdb2518b0479.zip
r6762: with the zone right we don't need a fully qualified site name at all
(This used to be commit 6f4ad382d445c3cdb8e50727f09d79334076e02d)
Diffstat (limited to 'source4/cldap_server')
-rw-r--r--source4/cldap_server/netlogon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index ea4a8726ef..57606c3930 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -93,8 +93,7 @@ static NTSTATUS cldapd_netlogon_fill(struct cldap_socket *cldap,
pdc_dns_name = talloc_asprintf(mem_ctx, "%s.%s",
lp_netbios_name(), dns_domain);
flatname = samdb_result_string(res[0], "name", lp_workgroup());
- site_name = talloc_asprintf(mem_ctx, "Default-First-Site-Name.%s",
- dns_domain);
+ site_name = "Default-First-Site-Name";
site_name2 = "";
pdc_ip = iface_best_ip(src_address);