Rev 629: we need to connect to ctdbd in the net command in
http://samba.org/~tridge/3_0-ctdb
tridge at samba.org
tridge at samba.org
Mon Sep 24 00:01:00 GMT 2007
------------------------------------------------------------
revno: 629
revision-id: tridge at samba.org-20070924000059-4t0o3lkzcd8o30au
parent: tridge at samba.org-20070921081126-06vqtzq09xzwllg4
committer: Andrew Tridgell <tridge at samba.org>
branch nick: s3-ctdb-tridge
timestamp: Mon 2007-09-24 10:00:59 +1000
message:
we need to connect to ctdbd in the net command
modified:
source/utils/net.c net.c-20070210173807-1wjifrbwaz6xnmgl-1118
=== modified file 'source/utils/net.c'
--- a/source/utils/net.c 2007-04-09 11:05:31 +0000
+++ b/source/utils/net.c 2007-09-24 00:00:59 +0000
@@ -1029,6 +1029,9 @@
if (!opt_password) {
opt_password = getenv("PASSWD");
}
+
+ if (!NT_STATUS_IS_OK(message_ctdb_init(event_context_init(NULL), True)))
+ exit(1);
rc = net_run_function(argc_new-1, argv_new+1, net_func, net_help);
More information about the samba-cvs
mailing list