[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Tue Apr 20 01:33:59 MDT 2010
The branch, master has been updated
via 41716a8... s4:netlogon RPC - "fill_one_domain_info" - use "lp_workgroup" for the DC short domainname discovery
from 39d612f... s4:torture/rpc/netlogon.c - fix typo
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 41716a8c137946728085b897cd2217e0d0431e7f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Apr 18 18:49:51 2010 +0200
s4:netlogon RPC - "fill_one_domain_info" - use "lp_workgroup" for the DC short domainname discovery
Here we don't need to use "lp_sam_name" since in this function we are always a
DC.
-----------------------------------------------------------------------
Summary of changes:
source4/rpc_server/netlogon/dcerpc_netlogon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index 596a2ee..b920c13 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -1131,7 +1131,7 @@ static NTSTATUS fill_one_domain_info(TALLOC_CTX *mem_ctx,
}
if (is_local) {
- info->domainname.string = lp_sam_name(lp_ctx);
+ info->domainname.string = lp_workgroup(lp_ctx);
info->dns_domainname.string = lp_dnsdomain(lp_ctx);
info->domain_guid = samdb_result_guid(res, "objectGUID");
info->domain_sid = samdb_result_dom_sid(mem_ctx, res, "objectSid");
--
Samba Shared Repository
More information about the samba-cvs
mailing list