From 35d2856ae34c4c4231f604227c4a23e023b8699c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 9 Mar 2006 21:07:15 +0000 Subject: r14101: Fix a segfault in trustdom establish, cli is NULL here. (This used to be commit 1df58c7a00b00242ee3eda09de92335d5dabe9c4) --- source3/utils/net_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/net_rpc.c') diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index ada246e117..1ba6794272 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -5551,7 +5551,7 @@ static int rpc_trustdom_establish(int argc, const char **argv) /* store who we connected to */ - saf_store( domain_name, cli->desthost ); + saf_store( domain_name, pdc_name ); /* * Connect to \\server\ipc$ again (this time anonymously) -- cgit