1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/selftest
Jamie McClymont bfcbc9be61 selftest: fix samba3.rpc.samba3.netlogon running after an nt4_member test
samba3.rpc.samba3.netlogon is using get_myname to find a username with which to
perform a join. This means that the test tries to join with the existing
localnt4dc2 user, which happens to work if get_myname is working
correctly (which it isn't -- see next commit about NSS_WRAPPER_HOSTNAME!)

This commit fixes a test run with, for example:
  TESTS="samba3.blackbox.smbclient_ntlm.plain samba3.rpc.samba3.netlogon"
(given samba3.blackbox.smbclient_ntlm.plain is in the nt4_member env)

...which previously failed due to the combination of this and the
NSS_WRAPPER_HOSTNAME bug.

Signed-off-by: Jamie McClymont <jamiemcclymont@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2017-12-20 04:22:10 +01:00
..
ktest-krb5_ccache-2 s3-selftest Add tests to show kerberos works across a password change 2011-04-06 05:24:48 +02:00
ktest-krb5_ccache-3 s3-selftest Add tests to show kerberos works across a password change 2011-04-06 05:24:48 +02:00
ktest-secrets.tdb s3-selftest Add tests to show kerberos works across a password change 2011-04-06 05:24:48 +02:00
tests.py selftest: fix samba3.rpc.samba3.netlogon running after an nt4_member test 2017-12-20 04:22:10 +01:00