[SCM] Samba Shared Repository - branch master updated - de5edb1d0c0d60b337d2cbb7151db47d31bfa8d4

Andrew Tridgell tridge at samba.org
Sun Oct 5 04:49:29 GMT 2008


The branch, master has been updated
       via  de5edb1d0c0d60b337d2cbb7151db47d31bfa8d4 (commit)
      from  fe67306fc626333da4f03f6f2a823de9cc2b6cc2 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit de5edb1d0c0d60b337d2cbb7151db47d31bfa8d4
Author: Andrew Tridgell <tridge at samba.org>
Date:   Sun Oct 5 15:48:46 2008 +1100

    remove dependencies on my home domain
    
    (in other words, don't do commits in airports)

-----------------------------------------------------------------------

Summary of changes:
 source4/rpc_server/netlogon/dcerpc_netlogon.c |    5 +++--
 1 files changed, 3 insertions(+), 2 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 64d0f77..d5f7d2a 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -918,7 +918,8 @@ static NTSTATUS fill_domain_trust_info(TALLOC_CTX *mem_ctx,
 		/* MS-NRPC 3.5.4.3.9 - must be set to NULL for trust list */
 		info->forest.string = NULL;
 	} else {
-		info->forest.string = "bludom.tridgell.net"; /* need ldb search */
+		/* TODO: we need a common function for pulling the forest */
+		info->forest.string = samdb_result_string(ref_res, "dnsRoot", NULL);
 	}
 
 	if (is_local) {
@@ -1026,7 +1027,7 @@ static NTSTATUS dcesrv_netr_LogonGetDomainInfo(struct dcesrv_call_state *dce_cal
 					true, true);
 	NT_STATUS_NOT_OK_RETURN(status);
 
-	info1->dns_hostname.string = "blu.bludom.tridgell.net";
+	info1->dns_hostname.string = samdb_result_string(ref_res[0], "dnsRoot", NULL);
 	info1->workstation_flags = 
 		NETR_WS_FLAG_HANDLES_INBOUND_TRUSTS | NETR_WS_FLAG_HANDLES_SPN_UPDATE;
 	info1->supported_enc_types = 0; /* w2008 gives this 0 */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list