diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-18 11:59:11 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-18 14:33:43 +0200 |
commit | 85e49953641fc9ddece3f4a08df8c96cf41e06dc (patch) | |
tree | 228dfdf726bd82ebbe88f3ae200deb6be06ed1fc /source4/cldap_server/netlogon.c | |
parent | 5d4093a937a39243c0c8ca1215297d26a67ba64b (diff) | |
download | samba-85e49953641fc9ddece3f4a08df8c96cf41e06dc.tar.gz |
s4:sites - get the server site (name) from DSDB
Diffstat (limited to 'source4/cldap_server/netlogon.c')
-rw-r--r-- | source4/cldap_server/netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c index b06fd609f29..c565f2fb1ad 100644 --- a/source4/cldap_server/netlogon.c +++ b/source4/cldap_server/netlogon.c @@ -251,8 +251,8 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx, dns_domain); flatname = lp_sam_name(lp_ctx); - /* FIXME: Hardcoded site names */ - server_site = "Default-First-Site-Name"; + server_site = samdb_server_site_name(sam_ctx, mem_ctx); + /* FIXME: Hardcoded site name */ client_site = "Default-First-Site-Name"; load_interfaces(mem_ctx, lp_interfaces(lp_ctx), &ifaces); pdc_ip = iface_best_ip(ifaces, src_address); |