diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-04-27 16:31:07 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-04-27 18:45:40 +0200 |
commit | a89ba9e21d53ae2c163e6cdaf4198d3148d5019e (patch) | |
tree | acbf9a4bdc830ce479a798075a9ff9f9071a97a9 /source4 | |
parent | 7efb43669838245cd240ac2c5aa443ba0d285b9c (diff) | |
download | samba-a89ba9e21d53ae2c163e6cdaf4198d3148d5019e.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c index 06c61aca24f..e1453bf9558 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, |