summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-09 21:07:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:12 -0500
commit35d2856ae34c4c4231f604227c4a23e023b8699c (patch)
tree1e3a7ffbb3ede4af75afec57bced0b9c6a2cbca3 /source3/utils
parentd95efac94d6ea0ed539f3f6bde762dd479dbd599 (diff)
downloadsamba-35d2856ae34c4c4231f604227c4a23e023b8699c.tar.gz
samba-35d2856ae34c4c4231f604227c4a23e023b8699c.tar.bz2
samba-35d2856ae34c4c4231f604227c4a23e023b8699c.zip
r14101: Fix a segfault in trustdom establish, cli is NULL here.
(This used to be commit 1df58c7a00b00242ee3eda09de92335d5dabe9c4)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
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)