s3-net: avoid confusing output in net_rpc_oldjoin() if NET_FLAGS_EXPECT_FALLBACK...
authorStefan Metzmacher <metze@samba.org>
Mon, 15 Jul 2013 11:28:34 +0000 (13:28 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 5 Aug 2013 08:30:01 +0000 (10:30 +0200)
commit05d9b4165af9e7f03d3fbeb64db4fc305fcec4df
treea86496018341a936d363b2dc703b59c25e9aab83
parent3e4ded48bbeacdcd128f3c667cbdd12a3efca312
s3-net: avoid confusing output in net_rpc_oldjoin() if NET_FLAGS_EXPECT_FALLBACK is passed

"net rpc join" tries net_rpc_oldjoin() first and falls back to
net_rpc_join_newstyle(). We should not print the join failed
if just net_rpc_oldjoin() failed.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/utils/net.h
source3/utils/net_proto.h
source3/utils/net_rpc.c