1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
Andreas Schneider
a4af4fa9db selftest: Use higher ip numbers.
127.0.0.2 is used by some distributions to resolve the own hostname.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-07-02 12:30:53 -07:00
Christof Schmitt
6ac0bdc451 Add testcase for idmap_rfc2307 module
Create a new test environment with 'idmap config DOMAIN : backend =
rfc2307'. A new test script adds LDAP records and queries them again for
the mapped uid and gid.

Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Mar  9 08:18:43 CET 2013 on sn-devel-104
2013-03-09 08:18:43 +01:00
Andrew Bartlett
0e037bfc60 selftest: Always build a linux-style nss_winbind for nss_wrapper 2012-10-03 14:25:57 +02:00
Andrew Bartlett
2908bbe06a s4-selftest: Test samba-tool domain dcpromo
This needs a new environment to test it properly.  This requires a raise in the
number of socket wrapper interfaces.

Andrew Bartlett
2012-07-06 08:10:18 +02:00
Andrew Bartlett
f67cb32b51 selftest: Remove tests for security=server
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 08:18:27 +02:00
Andrew Bartlett
d715e2c294 selftest: Use fork()/exec() rather than system()
This follows the Samba3.pm model for starting child processes is to
use fork()/exec().  This reduces the number of processes being created
by selftest.pl, and gives us more information about the child process
and the running state in the parent.

Andrew Bartlett
2012-03-04 10:14:34 +01:00
Andrew Bartlett
10700f69b2 selftest: Establish a registry of socket wrapper IPs
This fixes a bug where chgdcpass was on the same IP as localsubdc, and
will avoid similar mistakes in future.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Mar  2 03:48:05 CET 2012 on sn-devel-104
2012-03-02 03:48:05 +01:00
Andrew Bartlett
6f8f24c5f2 selftest: Do not skip environments that fail to start up
This is a regression in 70f4a96c68.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Feb 23 10:55:20 CET 2012 on sn-devel-104
2012-02-23 10:55:20 +01:00
Andrew Bartlett
70f4a96c68 selftest: Allow setup_env() to signal that an environment name is unknown
This will allow us to skip samba4 environments that may be mentioned in
the source3/selftest/tests.py file.

Andrew Bartlett
2012-02-13 04:41:05 +01:00
Andrew Bartlett
eecf2ac4c8 selftest: Remove unused support for --exeext 2012-02-01 02:45:07 +01:00
Andrew Bartlett
1f181476b4 selftest: Allow a krb5.conf to be generated that covers multiple realms 2011-08-26 14:06:07 +02:00
Andrew Bartlett
3eb1023d52 selftest Use die() less often, as it fails to allow cleanup 2011-05-08 10:56:27 +02:00
Andrew Bartlett
fb5e1f4a65 selftest: s3member admember test to confirm s3/s4 interopability
This checks that Samba3 joins Samba4 correctly, and allows NTLM and
Kerberos logons from a live Samba4 DC.

This needs the common krb5.conf generation logic, and because we now
override KRB5_CONFIG we must update ktest to have a valid krb5.conf.

Based on an original patch by metze

Andrew Bartlett
2011-04-28 05:30:21 +02:00
Andrew Bartlett
ab46d66101 selftest: Make overwrite of $env->{target} optional
This allows a target to be a mix of Samba3 and Samba4, and chose it's
own backend for check_env and get_log_env.

Andrew Bartlett
2011-04-28 05:30:21 +02:00
Andrew Bartlett
2a9a9454e8 selftest: Make bindir_path much less complex
There is no need to pass it as a function pointer, just put it in 'Samba.pm'.

Andrew Bartlett
2011-04-27 11:22:07 +10:00
Andrew Bartlett
dfb490d551 selftest Consolidate server wall clock time limits
This helps ensure that we don't have the Samba3 servers stop before
the full make test is finished.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Apr 19 09:03:07 CEST 2011 on sn-devel-104
2011-04-19 09:03:07 +02:00
Andrew Bartlett
9000188fb4 selftest Add combined 'Samba' target module
To work around environment variable handling, the initialisation of
NSS_WRAPPER_WINBIND_SO_PATH is pushed in to Samba3.pm (the s3 autoconf
build still overrides this)

Andrew Bartlett
2011-04-19 14:26:59 +10:00