diff options
author | Ralph Boehme <slow@samba.org> | 2018-07-10 15:26:40 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-09-07 17:26:15 +0200 |
commit | 2c63ce94ef3a55ab0aa1aae4f6fee88e29ac2efe (patch) | |
tree | 9bddb184322dbf93f7f4c3d6f7148233374c03f9 /source3/wscript_build | |
parent | 10e1a6ebb3d95b8a1584a9b90c2584536aa9c96d (diff) | |
download | samba-2c63ce94ef3a55ab0aa1aae4f6fee88e29ac2efe.tar.gz |
s3:popt_common: use cmdline_messaging_context() in popt_common_credentials_callback()
This adds a call to cmdline_messaging_context() to the popt
popt_common_credentials_callback() hook and ensures that any client tool
that uses POPT_COMMON_CREDENTIALS gets an implicit messaging context,
ensuring it doesn't crash in the subsequent lp_load_client() with
include=registry in a cluster.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rw-r--r-- | source3/wscript_build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 5f6fce391c4..9c6200a2b74 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -270,7 +270,7 @@ bld.SAMBA3_LIBRARY('popt_samba3', bld.SAMBA3_LIBRARY('popt_samba3_cmdline', source='lib/popt_common_cmdline.c', - deps='popt_samba3 util_cmdline', + deps='popt_samba3 util_cmdline cmdline_contexts', private_library=True) bld.SAMBA3_LIBRARY('util_cmdline', |