From 855ac932cf86272aaf02bf68e1fbf0e0a2902982 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 7 Oct 2009 14:34:05 +0200 Subject: [PATCH] s3:rpc_server: we need to make a copy of my_name in serverinfo_to_SamInfo3() This is important for the case the server_info already contains a logon_server. metze --- source/rpc_client/init_netlogon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rpc_client/init_netlogon.c b/source/rpc_client/init_netlogon.c index e4c39e739ee..3972d9b1edc 100644 --- a/source/rpc_client/init_netlogon.c +++ b/source/rpc_client/init_netlogon.c @@ -296,7 +296,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, -- 2.47.2