summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/netlogon/srv_netlog_nt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/netlogon/srv_netlog_nt.c b/source3/rpc_server/netlogon/srv_netlog_nt.c
index 00d64a8aeb..f640a2e81f 100644
--- a/source3/rpc_server/netlogon/srv_netlog_nt.c
+++ b/source3/rpc_server/netlogon/srv_netlog_nt.c
@@ -506,7 +506,8 @@ static NTSTATUS samr_find_machine_account(TALLOC_CTX *mem_ctx,
{
NTSTATUS status;
NTSTATUS result = NT_STATUS_OK;
- struct policy_handle connect_handle, domain_handle;
+ struct policy_handle connect_handle;
+ struct policy_handle domain_handle = { 0, };
struct lsa_String domain_name;
struct dom_sid2 *domain_sid;
struct lsa_String names;