summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-04-27 16:31:07 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-04-27 18:45:40 +0200
commita89ba9e21d53ae2c163e6cdaf4198d3148d5019e (patch)
treeacbf9a4bdc830ce479a798075a9ff9f9071a97a9 /source4
parent7efb43669838245cd240ac2c5aa443ba0d285b9c (diff)
downloadsamba-a89ba9e21d53ae2c163e6cdaf4198d3148d5019e.tar.gz
samba-a89ba9e21d53ae2c163e6cdaf4198d3148d5019e.tar.bz2
samba-a89ba9e21d53ae2c163e6cdaf4198d3148d5019e.zip
s4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short netbios domainname
This call is only for the DC mode.
Diffstat (limited to 'source4')
-rw-r--r--source4/cldap_server/netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index 06c61aca24..e1453bf955 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -280,7 +280,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
lp_netbios_name(lp_ctx)),
dns_domain);
NT_STATUS_HAVE_NO_MEMORY(pdc_dns_name);
- flatname = lp_sam_name(lp_ctx);
+ flatname = lp_workgroup(lp_ctx);
server_site = samdb_server_site_name(sam_ctx, mem_ctx);
NT_STATUS_HAVE_NO_MEMORY(server_site);
client_site = samdb_client_site_name(sam_ctx, mem_ctx,