summaryrefslogtreecommitdiff
path: root/selftest
AgeCommit message (Collapse)AuthorFilesLines
2011-09-01s3-rpc_server: Handle services with multiple pipe names.Andreas Schneider1-2/+0
The configuration should only use the default pipe name to configure all of them correctly.
2011-08-26selftest: Allow a krb5.conf to be generated that covers multiple realmsAndrew Bartlett3-23/+38
2011-08-22set passdb backend in Samba4 make test environments tooAndrew Bartlett1-0/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 22 03:46:21 CEST 2011 on sn-devel-104
2011-08-21s3-lsasd: Listen on \PIPE\lsass.Andreas Schneider1-0/+1
Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21selftest: Enable testing of the lsa service daemon.Andreas Schneider1-0/+5
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21selftest: Fix daemon testing to use the new syntax.Simo Sorce1-2/+6
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-12selftest:Samba4: test --domain-critical-only in provision_vampire_dc()Stefan Metzmacher1-1/+1
This way only only replicate critical objects during the initial join as DC, then we'll replicate the whole domain while 'samba' is running. metze Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 14:07:50 CEST 2011 on sn-devel-104
2011-08-12selftest:target/Samba4: use the correct configuration in setup_vampire_dc()Stefan Metzmacher1-0/+2
This allows "TDB_NO_FSYNC=1 make -j test TESTS=vampire" to work. metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-12s4-test: use standard process model for 'dc' serverAndrew Tridgell1-20/+12
this provides us with both 'standard' and 'single' process models in selftest, ensuring that we test the standard process model in the build farm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Aug 12 11:06:50 CEST 2011 on sn-devel-104
2011-08-10selftest: Always test the spoolss deamon.Andreas Schneider1-0/+1
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Aug 10 19:29:14 CEST 2011 on sn-devel-104
2011-08-03selftest: print %U in smbclient -L output to allow testingAndrew Bartlett1-0/+1
2011-08-03selftest: use the s4 winbindd in plugin_s4_dc testAndrew Bartlett2-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-01s3-rpc_server: Disable listening on tcpip ports by default.Andreas Schneider1-0/+2
2011-08-01s3-torture: Run epmapper as daemon and the tests over ncalrpc.Andreas Schneider1-1/+1
2011-07-29s3-selftest Add tests for 'map to guest = bad user'Andrew Bartlett1-0/+32
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29selftest: Avoid being run over by armies of the undeadAndrew Bartlett1-0/+2
Ignore SIGCHILD to reap zombies Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29selftest: explain how the message command test worksAndrew Bartlett1-0/+2
2011-07-21selftest: use "state directory" and "cache directory" optionsBjörn Baumbach2-4/+4
instead of "state dir" and "cache dir" Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jul 21 10:06:32 CEST 2011 on sn-devel-104
2011-07-21samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell1-4/+4
2011-07-20selftest: Pass lsass and epmapper across the named pipe proxy to the AD serverAndrew Bartlett1-0/+2
Eventually we will have just one end point mapper, but for now we need to use the source4 one for the AD tests. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-13s4-fault: changed to use %d for PID, instead of %PID%Andrew Tridgell2-2/+2
this matches the s3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-12selftest/Samba4: use "state dir" for persistent filesStefan Metzmacher1-7/+7
metze
2011-07-12selftest/Samba4: setup "state dir" and "cache dir"Stefan Metzmacher2-0/+22
metze
2011-07-04selftest: remove invalid use of the globbing operator <>Michael Adam1-2/+2
2011-07-04selftest: eliminate perl warnings (my $cmd masks earlier definition...)Michael Adam1-2/+2
2011-07-04selftest: eliminate a perl warningMichael Adam1-1/+1
In perl, %binary_mapping should be initialized as a hash, not a hash reference.
2011-06-24s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher1-6/+49
Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 20:35:30 CEST 2011 on sn-devel-104
2011-06-24selftest/Samba4: correctly upper case the netbiosname variableStefan Metzmacher1-5/+7
metze
2011-06-24selftest: Cope with no binary argument being supplied to gdb_backtraceAndrew Bartlett1-11/+25
Modern versions of gdb are better than us at working out what binary is running, and so it is more reliable to omit the binary argument. This change is required because samba4 no longer supplies this argument. Andrew Bartlett
2011-06-24selftest: Remove %PROG% argument from 'panic action'Andrew Bartlett2-2/+2
The debugger or script will need to work out the binary from the PID, as %PROG% support was lost when the setup_fault() code was merged between Samba3 and Samba4. Andrew Bartlett
2011-06-20tdb2: create tdb2 versions of various testing TDBs.Rusty Russell2-1/+8
Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-09s3-selftest Add a test for 'message command'Andrew Bartlett1-0/+2
This also provides us a way to test that the -n option to smbclient works, as that becomes part of the filename. Andrew Bartlett
2011-06-06s4-testparm: testparm is now part of samba_toolAndrew Tridgell1-1/+1
2011-05-23selftest: create ncalrpcdir with 0755 permissionsStefan Metzmacher1-2/+11
We need to reset the umask in order to set to the desired permissions. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 23 13:26:33 CEST 2011 on sn-devel-104
2011-05-21selftest: Allow to test samba4 with ACL on read setMatthieu Patou1-0/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-09build: Remove --disable-s3build so we can rely on these subsystemsAndrew Bartlett1-3/+1
This will make it easier to write code that uses the whole codebase. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
2011-05-09selftest: don't override just-added username in plugin_s4_dc testAndrew Bartlett1-2/+0
This will allow us to test a user added via smbpasswd as well as the administrator added by provision. Andrew Bartlett
2011-05-08selftest: Make the ncalrpc dir common between Samba4 and Samba3.Andrew Bartlett2-7/+7
This also avoids creating the directory, as the startup routines will create it with the correct permissions. Andrew Bartlett
2011-05-08selftest: Add plugin_s4_dc environmentAndrew Bartlett2-0/+107
This environment uses pdb_samba4 and auth_samba4 to plug these critical subsystems into a mixed Samba3/Samba4 DC, in a similar way to the 'Franky' proposal. Andrew Barltett
2011-05-08selftest Use die() less often, as it fails to allow cleanupAndrew Bartlett2-9/+30
2011-05-03selftest: Update READMEAndrew Bartlett1-5/+6
2011-04-30selftest: use env.SELFTEST_PREFIX instead of hardcoded "${srcdir}/st"Stefan Metzmacher1-1/+1
metze
2011-04-29selftest: Restore the s3member environment by avoiding smbcaclsAndrew Bartlett2-15/+13
This removes the need for acls on the filesystem for simple domain member tests. ACL tests should be written at some point... Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-04-28s4-selftest: Don't use a hardcoded target DC nameAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 28 07:34:31 CEST 2011 on sn-devel-104
2011-04-28selftest: Make combined test the default when s3build is enabledAndrew Bartlett1-0/+2
2011-04-28selftest: Fix combination of Samba3 and Samba4 test listsAndrew Bartlett1-10/+25
The previous code was too subtle, and tried to filter via two xfail scripts. The --fail-immediately for the source3 knownfail would then fail samba4 know failures. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-04-28selftest: Print a better warning warning message when smbcacls fails.Andrew Bartlett1-1/+1
These tests can't run on systems without posix ACLs. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 28 06:18:59 CEST 2011 on sn-devel-104
2011-04-28selftest: Don't die() when the join failsAndrew Bartlett1-5/+14
This kills off everything without a proper shutdown, and is difficult to debug. Andrew Bartlett
2011-04-28selftest: s3member admember test to confirm s3/s4 interopabilityAndrew Bartlett3-54/+168
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-28selftest: Make overwrite of $env->{target} optionalAndrew Bartlett1-2/+6
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