git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cc970b
)
smbpasswd: Initialize messaging for messaging_ctdb_conn
author
Volker Lendecke
<vl@samba.org>
Fri, 16 Jun 2017 13:20:39 +0000
(15:20 +0200)
committer
Ralph Boehme
<slow@samba.org>
Tue, 25 Jul 2017 15:43:18 +0000
(17:43 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/smbpasswd.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbpasswd.c
b/source3/utils/smbpasswd.c
index 437a5e551bba45cd24ddcc92ce503abba6ede6e9..aa6b857a2581f00c08323ab227e8eb74214a28ce 100644
(file)
--- a/
source3/utils/smbpasswd.c
+++ b/
source3/utils/smbpasswd.c
@@
-603,6
+603,10
@@
int main(int argc, char **argv)
setup_logging("smbpasswd", DEBUG_STDERR);
+ if (server_messaging_context() == NULL) {
+ return 1;
+ }
+
/*
* Set the machine NETBIOS name if not already
* set from the config file.