diff options
author | Christof Schmitt <cs@samba.org> | 2018-08-20 14:44:28 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-09-07 17:26:14 +0200 |
commit | 8c3b62e6231e62feafacf2a7ee4c9d41cd27a4a1 (patch) | |
tree | b3350bd98d32515f5ae6d2d1a43fa1ce4b766419 /source3/wscript_build | |
parent | b7464fd89bc22b71c82bbaa424bcbfcf947db651 (diff) | |
download | samba-8c3b62e6231e62feafacf2a7ee4c9d41cd27a4a1.tar.gz |
s3:lib: Introduce cmdline context wrapper
Command line tools need acccess to the same messaging context provided
by server_messaging_context, as common code for db_open uses that
context. We want to have additional checking for command line tools
without having that code part of the servers. Introduce a wrapper
library to use for command line tools with the additional checks, that
then acquires the server_messaging_context.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rw-r--r-- | source3/wscript_build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index d96c03078e1..5f6fce391c4 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -278,6 +278,11 @@ bld.SAMBA3_LIBRARY('util_cmdline', deps='secrets3', private_library=True) +bld.SAMBA3_LIBRARY('cmdline_contexts', + source='lib/cmdline_contexts.c', + deps='samba3core', + private_library=True) + bld.SAMBA3_SUBSYSTEM('KRBCLIENT', source='libads/kerberos.c libads/ads_status.c', public_deps='krb5samba asn1util k5crypto gssapi LIBTSOCKET CLDAP LIBNMB') |