summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-31 12:30:52 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-31 18:44:06 +0000
commit39d40892c6bf50fc1ed2a8336b4207b6320eb387 (patch)
treeb8fd05f2554316804da4996de69b997c5da00a96
parent11687316b49af138d0e8c42ca170d12aa0665df0 (diff)
downloadsamba-39d40892c6bf50fc1ed2a8336b4207b6320eb387.tar.gz
samba-39d40892c6bf50fc1ed2a8336b4207b6320eb387.tar.bz2
samba-39d40892c6bf50fc1ed2a8336b4207b6320eb387.zip
s4:netlogon RPC server - point out that the "LogonGetDomainInfo" "servicePrincipalName" generation is still needed
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index 2f80c1bcce..bfa0e8731f 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));