From 8fca274e4748f779d8fb89c40b3ab78b56fafbcc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 24 Apr 2006 10:09:45 +0000 Subject: r15194: We need to be able to join as PDC as well. Thanks to Andrew Bartlett. Guenther (This used to be commit ba81b508caa4ab21a04d142f3621e43a55e859cf) --- source3/utils/net_rpc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/utils/net_rpc.c') diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 0060a39c31..3f534f9412 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -389,9 +389,8 @@ static int rpc_join_usage(int argc, const char **argv) int net_rpc_join(int argc, const char **argv) { - if ((lp_server_role() != ROLE_DOMAIN_MEMBER) && - (lp_server_role() != ROLE_DOMAIN_BDC)) { - d_printf("can only join as domain member or as BDC\n"); + if (lp_server_role() == ROLE_STANDALONE) { + d_printf("cannot join as standalone machine\n"); return -1; } -- cgit