From 39d40892c6bf50fc1ed2a8336b4207b6320eb387 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Sun, 31 Oct 2010 12:30:52 +0100 Subject: [PATCH] s4:netlogon RPC server - point out that the "LogonGetDomainInfo" "servicePrincipalName" generation is still needed --- source4/rpc_server/netlogon/dcerpc_netlogon.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 2f80c1bccea..bfa0e8731f9 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -1431,6 +1431,10 @@ static NTSTATUS dcesrv_netr_LogonGetDomainInfo(struct dcesrv_call_state *dce_cal "dNSHostname", r->in.query->workstation_info->dns_hostname); + /* This manual "servicePrincipalName" generation is + * still needed! Since the update in the samldb LDB + * module does only work if the entries already exist + * which isn't always the case. */ ldb_msg_add_string(new_msg, "servicePrincipalName", talloc_asprintf(new_msg, "HOST/%s", r->in.computer_name)); -- 2.11.4.GIT