1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4
Tim Beale 4f21f1ca8d tests: Remove explicit SOCKET_WRAPPER usage from auth_log tests
The auth-logging tests are an odd combination of server and client
behaviour. On the one hand we want a IRPC connection to see the auth
events being logged on the server. On the other hand, we want the auth
events to appear to be happening on a client. Currently we hardcode in
the use of a SOCKET_WRAPPER interface to make this happen.

We can avoid this explicit socket wrapper usage by using the server
smb.conf instead in the one place we actually want to act like the
server (creating the IRPC connection). Then we can switch from using
the 'ad_dc*:local' testenvs to use 'ad_dc*', in order to act like a
client by default. The SERVERCONFFILE environment variable has already
been added for the few cases where a test needs explicit access to the
server's smb.conf.

However, for samba.tests.auth_log, the samlogon test cases are still
reliant on being run on the :local testenv, and so we can't switch them
over just yet. This is because the samlogon is using the DC's machine
creds underneath, which will fail on the non-local testenv. We could
create separate machine creds for the client and use those, but this is
a non-trivial rework of the test code.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-03-04 21:41:16 +00:00
..
auth winbind: Generate and pass logon ID 2019-02-20 06:03:09 +01:00
build/pasn1
cldap_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
client s4:cifsdd: Use C99 initializers for cifsdd argdef 2019-01-28 10:29:26 +01:00
cluster dbwrap: Remove calls to loadparm 2018-04-24 01:53:19 +02:00
dns_server source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
dsdb source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
echo_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
heimdal PY3: fix "TabError: inconsistent use of tabs and spaces" 2018-09-27 01:54:27 +02:00
heimdal_build wscript: separate embedded_heimdal from system_heimdal 2019-01-29 22:09:07 +01:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc kdc hdb: Generate and pass logon ID 2019-02-20 06:03:09 +01:00
ldap_server CVE-2018-16851 ldap_server: Check ret before manipulating blob 2018-11-28 08:22:24 +01:00
lib source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
libcli source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
libnet libnet: Use dom_sid_str_buf 2019-02-27 01:35:19 +01:00
librpc s4/librpc/py_misc: ParseTuple format should match actual types 2019-02-08 13:31:39 +01:00
nbt_server source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
ntp_signd ntpd: Use dom_sid_str_buf 2019-01-08 03:40:28 +01:00
ntvfs s4:ntvfs: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:24 +01:00
param s4/param: Fix provision_get_schema leaking python object 2019-02-21 04:09:19 +01:00
rpc_server source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
script PY3: change shebang to python3 in source4/dsdb dir 2018-12-14 14:40:20 +01:00
scripting selftest: Remove unused environment variables 2019-02-18 05:42:09 +01:00
selftest tests: Remove explicit SOCKET_WRAPPER usage from auth_log tests 2019-03-04 21:41:16 +00:00
setup s4:setup: register ${NTDSGUID}._msdcs.${DNSFOREST} first in dns_update_list 2019-02-14 02:18:28 +01:00
smb_server spelling of associated 2019-02-13 04:15:14 +01:00
smbd samba: Change default process model to prefork 2019-02-01 03:36:16 +01:00
torture s4:torture: add a test with additional bits in SEC_FLAG_MAXIMUM_ALLOWED 2019-03-04 18:11:16 +00:00
utils s4/utils/test: PY3 make sure we call correct python version for samba-tool 2018-12-10 10:38:20 +01:00
web_server source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
winbind winbind4: Use dom_sid_str_buf 2019-01-08 03:40:28 +01:00
wrepl_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
.clang_complete
.valgrind_suppressions
wscript_build Do not install smbclient4 and nmblookup4 2014-04-15 03:25:13 +02:00