1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/libcli/auth
Andrew Bartlett 6107c79c90 build: Do not build selftest binaries for builds without --enable-selftest
Add new for_selftest option to SAMBA_BINARY() and SAMBA3_BINARY()

This allows us to be much more consistent (at least in the core Samba)
and documents clearly why the binary should not be installed.

Not modified are
 - test_lp_load
 - notifyd-tests
 - gendrandperf
 - test* from examples/libsmbclient
 - dbwrap_torture
 - split_tokens
 - locktest2
 - msgtest
 - msg_sink
 - msg_source
 - versiontest
 - rpc_open_tcp
 - test_headers

As these are not tested in selftest so any change would also be
untested.  Of course they probably should be added in a different
MR.

Also not modified (because they are not tests, nor part of the
build system) are:
 - smb2mount
 - notifydd
 - log2pacp
 - debug2html
 - smbfilter
 - destroy_netlogon_creds_cli
 - spotlight2*
 - tevent_glib_tracker

These do however appear to be untested.

For now, the source4 forked client tools are left unchanged:
 - smbclient4
 - nmblookup4

Finally, the heimdal binaries are left as install=False as
they are either part of the build system or end-user tools
that we just don't want to install.  These are however tested.

The motivation is commit like c34ec003b7
and da87fa998a, which are both totally
correct but are not needed if the selftest is not run on MacOS.

There are likely other platforms or build environments where building
our test binaries is more pain than valuable, see for example also
https://lists.samba.org/archive/samba/2019-November/227137.html

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>

Autobuild-User(master): Isaac Boukris <iboukris@samba.org>
Autobuild-Date(master): Fri Nov 22 11:48:59 UTC 2019 on sn-devel-184
2019-11-22 11:48:59 +00:00
..
tests libcli/auth: add gnutls test for aes-128-cfb8 cipher bug 2019-10-07 09:31:35 +00:00
credentials.c libcli:auth Check return code of netlogon_creds_aes_encrypt() 2019-11-14 09:25:36 +00:00
credentials.h s4:librpc/rpc/dcerpc_schannel: just append NETLOGON_NEG_RODC_PASSTHROUGH as rodc 2012-07-17 10:58:38 +02:00
libcli_auth.h
msrpc_parse.c libcli/auth: remove unused variable in msrpc_parse() 2016-07-06 19:07:16 +02:00
msrpc_parse.h libcli/auth/msrpc_parse.h: fix licence/copyright 2011-06-10 15:11:30 +02:00
netlogon_creds_cli.c libcli:auth Check return code of netlogon_creds_aes_encrypt() 2019-11-14 09:25:36 +00:00
netlogon_creds_cli.h libcli/auth: add netlogon_creds_cli_LogonGetDomainInfo() 2019-09-20 01:14:43 +00:00
ntlm_check.c libcli:auth: Check return code of SMBOWFencrypt_ntv2() 2019-11-14 08:01:43 +00:00
ntlm_check.h param: Add new "disabled" value to "ntlm auth" to disable NTLM totally 2017-07-04 06:57:20 +02:00
pam_errors.c pam: map more NT password errors to PAM errors 2016-12-13 14:12:06 +01:00
pam_errors.h pam: share pam errors in a common location. 2011-02-08 14:05:36 +01:00
proto.h libcli:auth: Remove unused E_md5hash() 2019-11-19 04:48:29 +00:00
schannel_proto.h auth/gensec: move libcli/auth/schannel_sign.c into schannel.c 2014-01-07 00:27:11 +01:00
schannel_state_tdb.c lib: Fix an error path memleak in schannel_get_creds_state() 2019-11-14 22:26:30 +00:00
schannel_state.h rpc_server:netlogon Move from memcache to a tdb cache 2016-12-14 20:12:13 +01:00
schannel.h libcli/auth/schannel: make struct schannel_state private 2013-08-10 09:19:02 +02:00
session.c
smbdes.c libcli/auth: Remove des_crypt64() from smbdes 2019-05-22 05:59:13 +00:00
smbencrypt.c libcli:auth: Remove unused E_md5hash() 2019-11-19 04:48:29 +00:00
spnego_parse.c CVE-2016-2110: libcli/auth: use enum spnego_negResult instead of uint8_t 2016-04-12 19:25:22 +02:00
spnego_proto.h libcli/auth: add more const to spnego_negTokenInit->mechTypes 2013-08-10 11:11:53 +02:00
spnego.h CVE-2016-2110: libcli/auth: add SPNEGO_REQUEST_MIC to enum spnego_negResult 2016-04-12 19:25:22 +02:00
wscript_build build: Do not build selftest binaries for builds without --enable-selftest 2019-11-22 11:48:59 +00:00