From b61cf684c1a2188780fca73462353918c68b4a8e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 Sep 2009 06:38:08 +0200 Subject: [PATCH] s3:rpc_server: we need to make a copy of my_name in serverinfo_to_SamInfo_base() This is important for the case the server_info already contains a logon_server. metze (This is similar to commit 9ef39406d8072a1a102813fb4448af76e9020fcd) --- source3/rpc_client/init_netlogon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source3/rpc_client/init_netlogon.c b/source3/rpc_client/init_netlogon.c index 793b9c7..e7c2d06 100644 --- a/source3/rpc_client/init_netlogon.c +++ b/source3/rpc_client/init_netlogon.c @@ -310,7 +310,7 @@ NTSTATUS serverinfo_to_SamInfo3(struct auth_serversupplied_info *server_info, groups, NETLOGON_EXTRA_SIDS, user_session_key, - my_name, + talloc_strdup(sam3, my_name), talloc_strdup(sam3, pdb_get_domain(sampw)), sid, lm_session_key, -- 1.5.4.3