Jelmer Vernooij
e59f2602f1
Remove unnecessary python path updates for bundled subunit/testtools.
...
Change-Id: Idb40fcb564455f16608ea991b086e41e22ae51e3
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-03-06 04:41:48 +01:00
Jelmer Vernooij
6ea461fa05
test_samba3dump: Use Samba subunit emitter.
...
Change-Id: Ie9a115d131624bfc68e6f40822acade70d145735
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-03-06 04:41:47 +01:00
Michael Adam
fd783b04bb
selftest: run the samba.nss tests against :local environments
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2015-02-13 18:25:41 +01:00
Andrew Bartlett
3c89b25e4f
torture-krb5: Add test for TGS-REQ with type KRB5_NT_PRINCIPAL, KRB5_NT_SRV_INST, KRB5_NT_SRV_HST
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
2015-02-08 08:07:08 +01:00
Andrew Bartlett
32e2b75a96
selftest: Run krb5.kdc with an account that has a UPN and an SPN
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
2015-02-08 08:07:07 +01:00
Andrew Bartlett
bcd33c0dce
torture-krb5: add TGS-REQ testing to krb5.kdc.canon testsuite
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2015-02-08 08:07:07 +01:00
Kamen Mazdrashki
de42cdd305
s4-tests: Add tombstone_reanimation test case to s4 test suite
...
DC, USERNAME and PASSWORD are passed as environment variables
prefixed with TEST_
Change-Id: I84ff628496bfa3e0538011400328585d080f21b8
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2015-02-03 05:02:12 +01:00
Andrew Bartlett
fba69f4a89
selftest: Run krb5.kdc test against users with a UPN
...
This tests both a UPN in our own realm, and a UPN with a non-realm suffix.
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jan 23 08:10:07 CET 2015 on sn-devel-104
2015-01-23 08:10:07 +01:00
Andrew Bartlett
62905cd6d2
torture-krb5: Split the expected behaviour of the RODC up
...
The expectations of the cached accounts are different to those of the RODC in general.
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2015-01-23 05:42:08 +01:00
Andrew Bartlett
170ee3071b
torture-krb5: Add tests for combinations of enterprise, cannon, and different input principals
...
This combinational test confirms the interactions between a number of differnet
kerberos flags and principal types.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
2015-01-23 05:42:08 +01:00
Andrew Bartlett
03d07ed58b
torture: Extend krb5.kdc test to confirm correct RODC proxy behaviour
...
The RODC should answer some requests locally, and others it should defer to the main DC.
We can tell which KDC we talk do by the KVNO of the encrypted parts that are returned
to the KDC.
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2015-01-23 05:42:08 +01:00
Andrew Bartlett
fc84d35c4e
torture: Additionally run testsuite for krb5 and KDC behaviour against all the DC envs
...
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2015-01-23 05:42:07 +01:00
Andrew Bartlett
ff240c84e4
torture: Additionally run testsuite for krb5 and KDC behaviour with unprivileged accounts
...
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2015-01-23 05:42:07 +01:00
Andrew Bartlett
378bb04835
torture: Run new testsuite for krb5 and KDC behaviour with machine account also
...
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2015-01-23 05:42:07 +01:00
Andrew Bartlett
9a0aa6f6f7
torture: Start a new testsuite for krb5 and KDC behaviour
...
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2015-01-23 05:42:07 +01:00
Andrew Bartlett
bf99abb5db
dsdb-tests: Add new test samba4.user_account_control.python
...
This confirms security behaviour of the userAccountControl attribute
as well as the behaviour on ADD as well as MODIFY, for every
userAccountControl bit.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10993
Change-Id: I8cd0e0b3c8d40e8b8aea844189703c756cc372f0
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2015-01-22 07:50:06 +01:00
Andrew Bartlett
ee4324ddc2
selftest: Run samba.tests.dns in :local environment so it can access credentials
...
This allows it to access the machine account, and use that to modify the DNS zones
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2014-12-22 05:57:08 +01:00
Samuel Cabrero
5f47ca786e
ldb-samba-tests: Add tests for transitive matching rule
...
Signed-off-by: Samuel Cabrero <samuelcabrero@kernevil.me>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2014-12-22 00:18:09 +01:00
Stefan Metzmacher
4eb24fa545
selftest: use shared/libnss_wrapper_winbind.so.2
...
This library is always available in make test.
nss-wrapper strictly requires the linux nss api.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=9299
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-12-19 13:15:12 +01:00
Jelmer Vernooij
02e063bd5b
Be consistent about what functions add $LISTOPT and $LOADLIST to the command-line.
...
Change-Id: Ife86624b53a99d48ce9f00d146b14f798c9bdb24
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sun Nov 30 16:43:52 CET 2014 on sn-devel-104
2014-11-30 16:43:52 +01:00
Jelmer Vernooij
0f408599f8
selftest: Add separate command line for listing tests, allowing us of subunit-filter (which doesn't support subunit v2).
...
Change-Id: Icb877214a422c63fd38ef92425c7b4fe7ee19ad5
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-30 14:22:05 +01:00
Jelmer Vernooij
d857e7b1a7
ldap: Use samba.tests.subunitrun.
...
Change-Id: I872654afb31a5eda8c88aac716f9ce79816e5f05
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
cfb5e9bbf2
deletetest: use samba.tests.subunitrun.
...
Change-Id: I13565c7c14ea186709ce1de9038ef840c5b766b8
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
3961bd68ca
password lockout: Use samba.tests.subunitrun.
...
Change-Id: I848099d22acd4a0ce7d589de48eb72e2d180ceae
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
eae1efca41
passwords: Use samba.tests.subunitrun.
...
Change-Id: Ib806f63ef412fec264445eefd82146e5140b0bac
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
0c82bdda0f
sec_descriptor: Use samba.tests.subunitrun.
...
Change-Id: I5caba3e27ad21cc5381883a823e0ec5e2966a264
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
fc0b8aac9d
token_group: Use samba.tests.subunitrun.
...
Change-Id: Id7c247451532eded1f44ef9b1aa1808dd18098c6
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
330597507c
sites: Use samba.tests.subunitrun.
...
Change-Id: Ic06e1a0f7174683b6b817a5412b8635145329c00
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
8d933a84c9
credentials test: Use samba.tests.subunitrun.
...
Change-Id: I8970c66de9535cb8d48b17d88b2759b7d1e39cb8
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
21280da0d6
sec_descriptor test: Simplify, use samba.tests.subunitrun module.
...
Change-Id: I4ffda49cf3e209eaa28fc83f6fd9ded47f0ad7ee
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
ee281c61d0
Move option handling into samba.tests.subunitrun.
...
Change-Id: I65a73b74854af636413f4f284147f3bcf28b6f82
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-11-22 02:23:10 +01:00
Jelmer Vernooij
77b72d4c8e
samba3dump: Add subunit-enabled test for samba3dump.
...
Change-Id: Ie9682c715fc91d923dcd1951236f8b36fa519327
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-10-14 06:44:07 +02:00
Jelmer Vernooij
23ac8d130c
urgent_replication: Use subunit reporting, remove allow_empty_output.
...
Change-Id: I6d479b218eff6c4292fbb99e4760bbd62ce1f380
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-10-14 06:44:07 +02:00
Garming Sam
5d069a04fc
selftest: Make the wbinfo userinfo tests work properly with the qualified name
...
This eliminates a knownfail.
Change-Id: I7331a4e62ef8c1f2a9999a78865023ae19beeaca
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
2014-07-04 02:52:35 +02:00
Andrew Bartlett
456c6164e9
selftest: Only run samba4.rpc.samr.passwords.{lockout,badpwdcount} once
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-06-23 23:30:13 +02:00
Andrew Bartlett
d62e0f8a25
selftest: Add knownfail entries for wbinfo --user-info tests only on the failing environments
...
This is better than skipping on every environment in the test
Andrew Bartlett
Change-Id: Ib4b114059d8f8bb05a9bdc2eca0f71310fc5a3bc
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-06-04 03:22:26 +02:00
Andrew Bartlett
5f29774071
selftest: move all winbind test rules to one place
...
We now run wbinfo_simple additionally against plugin_s4_dc and dc
This also extends many of the tests to run against more environments,
hence the additional knownfail entries.
For winbind.wbclient, the fl2003dc environment has been selected not
to run with password history so as to allow the winindd.wbinfo test to
complete (once switched to running winbindd).
Andrew Bartlett
Change-Id: I475fd9937e515796b5e47c042a8bfa85f76441ca
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-06-04 03:22:26 +02:00
Andrew Bartlett
6add082461
selftest: Make test_wbinfo.sh work with s3-winbindd
...
Change-Id: I41ed850b6424eac3fb8b6603d5b87c66bb77dd51
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-06-04 03:22:26 +02:00
Andrew Bartlett
a1c7aa0b34
selftest: Run samba4.blackbox.wbinfo against plugin_s4_dc
...
Change-Id: I5580de814d5fe000d352f3c78743837d26f9422d
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-06-04 03:22:26 +02:00
Andrew Bartlett
c664859a12
selftest: Test auth_wbc, the auth4 winbind and winbind_wbclient modules using pdbtest
...
This ensures these authentication modules continue to operate correctly, and that the results are consistent.
Andrew Bartlett
Change-Id: I7f63cd93e55c6f73ceeafb14f1dc265291791803
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri May 16 12:50:44 CEST 2014 on sn-devel-104
2014-05-16 12:50:44 +02:00
Andrew Bartlett
7c2bf8d2bc
selftest: Add tests for dbcheck detection and removal of partial objects
...
To avoid listing all the provision snapshots, we use a broader blacklist for waf dist
and a whitelist for dbcheck-oldrelease.sh
Andrew Bartlett
Change-Id: Iab0ff4be0b4287dc128a49302836a6f0f7b39678
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-05-03 07:57:13 +02:00
Andrew Bartlett
e266f610db
selftest: Add test for password lockout
...
Change-Id: Ia690b83f82b5ad7b02b203ffdecd2e05066b6711
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2014-04-02 17:12:48 +02:00
Andrew Bartlett
233e3c9631
selftest: Remove print_smbtorture4_version and smbtorture4_possible check
...
smbtorture is now always the same version as the rest of Samba, and is strictly required.
Andrew Bartlett
Change-Id: I89d9c52275477177fa8a89050920ff8a2fec9288
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar 26 04:20:16 CET 2014 on sn-devel-104
2014-03-26 04:20:16 +01:00
Stefan Metzmacher
66624e475d
s4:selftest: don't run rpc.multibind anymore
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-03-25 00:45:28 +01:00
Stefan Metzmacher
056008df62
s4:selftest: run wbinfo tests at the end...
...
This avoids flakey crashes in the promoted_dc environment.
See the examples below, we had up to 50% of the daily build failing...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
https://git.samba.org/autobuild.flakey/2013-12-23-1942/samba.stdout
[1586/1594 in 1h39m20s] samba4.drs.fsmo.python(promoted_dc)
Testing for schema role transfer from localdc.samba.example.com to PROMOTEDVDC.samba.example.com
FSMO transfer of 'schema' role successful
Testing for schema role transfer from PROMOTEDVDC.samba.example.com to localdc.samba.example.com
ERROR: Failed to initiate transfer of 'schema' role: LDAP error 52 LDAP_UNAVAILABLE - <Failed FSMO transfer: WERR_DS_DRA_INTERNAL_ERROR> <>
UNEXPECTED(failure): samba4.drs.fsmo.python(promoted_dc).fsmo.DrsFsmoTestCase.test_SchemaMasterTransfer(promoted_dc)
REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python
traceback
380
https://git.samba.org/autobuild.flakey/2013-12-24-1546/samba.stdout
[1583/1594 in 1h36m4s] samba.tests.blackbox.samba_tool_drs
ERROR: Testsuite[samba.tests.blackbox.samba_tool_drs]
REASON: unable to set up environment promoted_dc - exiting
https://git.samba.org/autobuild.flakey/2013-12-24-1546/samba.stderr
Unable to convert 1.2.840.86419.1.5.9939 to an attid, and can_change_pfm=false!
Unable to convert governsID on CN=test-class30318,CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com to DRS object - WERR_NOT_FOUND
../source4/rpc_server/drsuapi/getncchanges.c:1646: DsGetNCChanges 2nd replication on different DN CN=Configuration,DC=samba,DC=example,DC=com CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com (last_dn CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com)
===============================================================
INTERNAL ERROR: Signal 11 in pid 884274 (4.2.0pre1-DEVELOPERBUILD)
Please read the Trouble-Shooting section of the Samba HOWTO
===============================================================
smb_panic(): calling panic action [/memdisk/autobuild/fl/b302436/samba/selftest/gdb_backtrace 884274]
[Thread debugging using libthread_db enabled]
0x00002af6b5c1977e in __libc_waitpid (pid=<value optimized out>,
stat_loc=0x7fff67c7709c, options=<value optimized out>)
at ../sysdeps/unix/sysv/linux/waitpid.c:32
32 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
in ../sysdeps/unix/sysv/linux/waitpid.c
#0 0x00002af6b5c1977e in __libc_waitpid (pid=<value optimized out>,
stat_loc=0x7fff67c7709c, options=<value optimized out>)
at ../sysdeps/unix/sysv/linux/waitpid.c:32
oldtype = <value optimized out>
result = <value optimized out>
#1 0x00002af6b5baeb39 in do_system (line=<value optimized out>)
at ../sysdeps/posix/system.c:149
__result = -512
_buffer = {__routine = 0x2af6b5baee90 <cancel_handler>,
__arg = 0x7fff67c77098, __canceltype = 0, __prev = 0x0}
_avail = 1
status = <value optimized out>
save = <value optimized out>
pid = 886733
sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1},
sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0,
sa_restorer = 0x2af6b5b730f0}
omask = {__val = {7808, 4294967295, 140734934511616, 1, 2195512, 0,
0, 0, 47239032274944, 47239027992529, 140733193388033, 0, 0,
47239099003120, 140734934511792, 47239558787328}}
#2 0x00002af6b311821f in smb_panic_default (
why=0x2af6b312a875 "internal error") at ../lib/util/fault.c:134
result = 32767
pidstr = "884274\000\000\001\375\376\320\366*\000\000\260\377\377\377"
cmdstring = "/memdisk/autobuild/fl/b302436/samba/selftest/gdb_backtrace 884274\000\307g\377\177\000\000\001\000\000\000\000\000\000\000\320\301#", '\000' <repeats 30 times>"\240, \017\263\366*\000\000\321\247{\261\366*\000\000\001\000\000\000\005", '\000' <repeats 11 times>"\260, \016\v\321\366*\000\000X\351\017\263\366*\000\000\260q\307g\377\177\000\000\000\361\036\321\366*\000\000\020r\307g\377\177\000\000\240\301z\326\366*\000\000\000Z\304\320\366*\000"
__FUNCTION__ = "smb_panic_default"
#3 0x00002af6b31183b5 in smb_panic (why=0x2af6b312a875 "internal error")
at ../lib/util/fault.c:162
No locals.
#4 0x00002af6b311809f in fault_report (sig=11) at ../lib/util/fault.c:77
counter = 1
__FUNCTION__ = "fault_report"
#5 0x00002af6b31180b4 in sig_fault (sig=11) at ../lib/util/fault.c:88
No locals.
#6 <signal handler called>
No symbol table info available.
#7 0x00002af6cabef930 in replmd_check_urgent_objectclass (
objectclass_el=0x0, situation=REPL_URGENT_ON_UPDATE)
at ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:205
i = 2
j = 0
#8 0x00002af6cabf29b6 in replmd_update_rpmd (module=0x2af6b17f2c20,
schema=0x2af6d05e5570, req=0x2af6d05e8ad0, rename_attrs=0x0,
msg=0x2af6d11ef100, seq_num=0x2af6d0c315b8, t=1387895162,
is_urgent=0x7fff67c778bf, rodc=0x7fff67c778be)
at ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:1432
omd_value = 0x7fff67c77810
ndr_err = 3508465920
omd = {version = 1741125552, reserved = 32767, ctr = {ctr1 = {
count = 3008684740, reserved = 10998, array = 0x7fff67c777b0}}}
i = 10998
now = 130323687620000000
our_invocation_id = 0x2af6d1796390
ret = 0
attrs = 0x7fff67c77750
attrs1 = {0x2af6cabff775 "replPropertyMetaData", 0x2af6cabffc8b "*",
0x0}
attrs2 = {0x2af6cabff76a "uSNChanged", 0x2af6cabffa98 "objectClass",
0x2af6cabffc8d "instanceType", 0x0}
res = 0x2af6d10b0eb0
ldb = 0x2af6b17f2470
objectclass_el = 0x0
situation = REPL_URGENT_ON_UPDATE
rmd_is_provided = false
__FUNCTION__ = "replmd_update_rpmd"
#9 0x00002af6cabf5a06 in replmd_modify (module=0x2af6b17f2c20,
req=0x2af6d05e8ad0)
at ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:2455
msds_intid_struct = 0x2af6d05e8ad0
ldb = 0x2af6b17f2470
ac = 0x2af6d0c31580
down_req = 0x2af6d0e6a100
msg = 0x2af6d11ef100
t = 1387895162
ret = 1741125936
is_urgent = false
rodc = false
functional_level = 3
guid_blob = 0x0
sd_propagation_control = 0x0
#10 0x00002af6bf69f94d in dsdb_module_modify (module=0x2af6b17f2c20,
message=0x2af6d1183fe0, dsdb_flags=4194304, parent=0x2af6ce6ea980)
at ../source4/dsdb/samdb/ldb_modules/util.c:460
ops = 0x2af6cae06b40
mod_req = 0x2af6d05e8ad0
ret = 0
ldb = 0x2af6b17f2470
tmp_ctx = 0x2af6d0ed62f0
res = 0x2af6d0e6a100
__FUNCTION__ = "dsdb_module_modify"
#11 0x00002af6cabf7ebc in replmd_delete_internals (module=0x2af6b17f2c20,
req=0x2af6ce6ea980, re_delete=true)
at ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:3309
ret = 0
retb = true
disallow_move_on_delete = false
old_dn = 0x2af6d6a2a010
new_dn = 0x2af6d0794a90
rdn_name = 0x2af6d0885c10 "CN"
rdn_value = 0x2af6d10d7368
new_rdn_value = 0x2af6d0c45a00
guid = {time_low = 48, time_mid = 0, time_hi_and_version = 0,
clock_seq = "\200\251", node = "n\316\366*\000"}
ldb = 0x2af6b17f2470
schema = 0x2af6d05e5570
msg = 0x2af6d1183fe0
old_msg = 0x2af6d1902800
el = 0x2af6d0874900
tmp_ctx = 0x2af6d0b77560
res = 0x2af6d0d57980
parent_res = 0x30
preserved_attrs = {0x2af6cac00fe1 "nTSecurityDescriptor",
0x2af6cac055c3 "attributeID", 0x2af6cac055cf "attributeSyntax",
0x2af6cac055df "dNReferenceUpdate", 0x2af6cac055f1 "dNSHostName",
0x2af6cac055fd "flatName", 0x2af6cac05606 "governsID",
0x2af6cac05610 "groupType", 0x2af6cabffc8d "instanceType",
0x2af6cac0561a "lDAPDisplayName",
0x2af6cac0562a "legacyExchangeDN", 0x2af6cabfe94d "isDeleted",
0x2af6cabfe957 "isRecycled", 0x2af6cac020f8 "lastKnownParent",
0x2af6cac021e8 "msDS-LastKnownRDN",
0x2af6cac0563b "mS-DS-CreatorSID", 0x2af6cac0564c "mSMQOwnerID",
0x2af6cac05658 "nCName", 0x2af6cabffa98 "objectClass",
0x2af6cac0565f "distinguishedName", 0x2af6cabff5b5 "objectGUID",
0x2af6cac05671 "objectSid", 0x2af6cac0567b "oMSyntax",
0x2af6cac05684 "proxiedObjectName", 0x2af6cac014d8 "name",
0x2af6cabff775 "replPropertyMetaData",
0x2af6cac05696 "sAMAccountName",
0x2af6cac056a5 "securityIdentifier", 0x2af6cac056b8 "sIDHistory",
0x2af6cac056c3 "subClassOf", 0x2af6cac01ba8 "systemFlags",
0x2af6cac056ce "trustPartner", 0x2af6cac056db "trustDirection",
0x2af6cac056ea "trustType", 0x2af6cac056f4 "trustAttributes",
0x2af6cabfe9b8 "userAccountControl", 0x2af6cabff76a "uSNChanged",
0x2af6cabff75f "uSNCreated", 0x2af6cabff747 "whenCreated",
0x2af6cabff753 "whenChanged", 0x0}
i = 12
el_count = 1
deletion_state = OBJECT_TOMBSTONE
next_deletion_state = OBJECT_TOMBSTONE
__FUNCTION__ = "replmd_delete_internals"
#12 0x00002af6cabfbbe3 in replmd_replicated_apply_isDeleted (
ar=0x2af6d74c0b40)
at ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:4718
del_req = 0x2af6ce6ea980
res = 0x2af6d0cdebf0
tmp_ctx = 0x2af6d0949230
deleted_objects_dn = 0x2af6d1a49f00
msg = 0x2af6d0a39620
ret = 0
#13 0x00002af6cabf0766 in replmd_op_callback (req=0x2af6d05a21e0,
ares=0x2af6d0d715c0)
at ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:526
ret = 10998
ac = 0x2af6d74c0b40
replmd_private = 0x2af6b188c7c0
modified_partition = 0x2af6d141b670
partition_ctrl = 0x2af6d1905f40
partition = 0x2af6ce6bdbe0
controls = 0x0
__FUNCTION__ = "replmd_op_callback"
#14 0x00002af6b1df7ca2 in ldb_module_done (req=0x2af6d05a21e0,
ctrls=0x2af6d1629aa0, response=0x0, error=0)
at ../lib/ldb/common/ldb_modules.c:832
ares = 0x2af6d0d715c0
#15 0x00002af6cabf896b in replmd_op_possible_conflict_callback (
req=0x2af6d05a21e0, ares=0x2af6b1883eb0,
callback=0x2af6cabf0334 <replmd_op_callback>)
at ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:3606
conflict_dn = 0x2af6cac03470
ar = 0x2af6d74c0b40
res = 0x2af6b354f89b
attrs = {0x2af6cabff775 "replPropertyMetaData",
0x2af6cabff5b5 "objectGUID", 0x0}
ret = -682882240
omd_value = 0x7fff67c77e20
omd = {version = 1741127104, reserved = 32767, ctr = {ctr1 = {
count = 0, reserved = 0, array = 0x28}}}
rmd = 0x2af6d74c0ae0
ndr_err = 10998
rename_incoming_record = false
rodc = false
rmd_name = 0x7fff67c77e10
omd_name = 0x2af6d74c0b40
msg = 0x2af6b1883e50
__FUNCTION__ = "replmd_op_possible_conflict_callback"
#16 0x00002af6cabf93fb in replmd_op_add_callback (req=0x2af6d05a21e0,
ares=0x2af6b1883eb0)
at ../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:3802
ar = 0x2af6d74c0b40
#17 0x00002af6b1df7ca2 in ldb_module_done (req=0x2af6d05a21e0,
ctrls=0x2af6d1629aa0, response=0x0, error=0)
at ../lib/ldb/common/ldb_modules.c:832
ares = 0x2af6b1883eb0
#18 0x00002af6ca3c8b6a in partition_req_callback (req=0x2af6d087a1e0,
ares=0x2af6d05a1fa0) at ../source4/dsdb/samdb/ldb_modules/partition.c:213
ac = 0x2af6d0949370
module = 0x2af6cd27bf12
nreq = 0x2af6d05b67b0
ret = 0
partition_ctrl = 0x2af6d0d71740
#19 0x00002af6cd2752ab in ltdb_request_done (ctx=0x2af6d1cd7ed0, error=0)
at ../lib/ldb/ldb_tdb/ldb_tdb.c:1280
ldb = 0x2af6b17f2470
req = 0x2af6d087a1e0
ares = 0x2af6d05a1fa0
#20 0x00002af6cd275597 in ltdb_callback (ev=0x2af6b17ef8c0,
te=0x2af6d17f75d0, t=..., private_data=0x2af6d1cd7ed0)
at ../lib/ldb/ldb_tdb/ldb_tdb.c:1390
ctx = 0x2af6d1cd7ed0
ret = 0
#21 0x00002af6b3343259 in tevent_common_loop_timer_delay (ev=0x2af6b17ef8c0)
at ../lib/tevent/tevent_timed.c:341
current_time = {tv_sec = 0, tv_usec = 0}
te = 0x2af6d17f75d0
#22 0x00002af6b334558a in epoll_event_loop_once (ev=0x2af6b17ef8c0,
location=0x2af6b1e1eef8 "../lib/ldb/common/ldb.c:621")
at ../lib/tevent/tevent_epoll.c:912
epoll_ev = 0x2af6b17efb00
tval = {tv_sec = 47239056876603, tv_usec = 47239028210096}
panic_triggered = false
#23 0x00002af6b3342363 in std_event_loop_once (ev=0x2af6b17ef8c0,
location=0x2af6b1e1eef8 "../lib/ldb/common/ldb.c:621")
at ../lib/tevent/tevent_standard.c:112
glue_ptr = 0x2af6b17ef9b0
glue = 0x2af6b17ef9b0
ret = 10998
#24 0x00002af6b333c799 in _tevent_loop_once (ev=0x2af6b17ef8c0,
location=0x2af6b1e1eef8 "../lib/ldb/common/ldb.c:621")
at ../lib/tevent/tevent.c:530
ret = 0
nesting_stack_ptr = 0x0
#25 0x00002af6b1e154c4 in ldb_wait (handle=0x2af6d67624c0, type=LDB_WAIT_ALL)
at ../lib/ldb/common/ldb.c:621
ev = 0x2af6b17ef8c0
ret = 0
#26 0x00002af6b1e1786b in ldb_extended (ldb=0x2af6b17f2470,
oid=0x2af6b4c4f9ce "1.3.6.1.4.1.7165.4.4.1", data=0x2af6d0e2bc60,
_res=0x7fff67c78240) at ../lib/ldb/common/ldb.c:1506
req = 0x2af6d0c45a00
ret = 0
res = 0x2af6d69238f0
#27 0x00002af6b4c4a0d6 in dsdb_replicated_objects_commit (ldb=0x2af6b17f2470,
working_schema=0x0, objects=0x2af6d0e2bc60, notify_uSN=0x2af6d14a65f0)
at ../source4/dsdb/repl/replicated_objects.c:773
werr = {w = 0}
ext_res = 0x0
cur_schema = 0x0
new_schema = 0x0
ret = 0
seq_num1 = 5554
seq_num2 = 47239626746464
used_global_schema = false
tmp_ctx = 0x2af6d03c5860
__FUNCTION__ = "dsdb_replicated_objects_commit"
#28 0x00002af6c1c6babb in dreplsrv_op_pull_source_apply_changes_trigger (
req=0x2af6d17daed0, r=0x2af6d17db0d0, ctr_level=6, ctr1=0x0,
ctr6=0x2af6d1b02bb0) at ../source4/dsdb/repl/drepl_out_helpers.c:717
state = 0x2af6d17db050
rf1 = {blobsize = 274, consecutive_sync_failures = 0,
last_success = 130323684670000000,
last_attempt = 130323687610000000, result_last_attempt = {w = 0},
other_info = 0x2af6d0949910, other_info_length = 66,
replica_flags = 112, schedule = '\021' <repeats 84 times>,
reserved = 0, highwatermark = {tmp_highest_usn = 12398,
reserved_usn = 0, highest_usn = 12398}, source_dsa_obj_guid = {
time_low = 984092159, time_mid = 850,
time_hi_and_version = 18870, clock_seq = "\251X",
node = "UF\324\223\205\241"}, source_dsa_invocation_id = {
time_low = 1460694408, time_mid = 52035,
time_hi_and_version = 18738, clock_seq = "\204}",
node = "\264\365\276\372\256\303"}, transport_guid = {
time_low = 0, time_mid = 0, time_hi_and_version = 0,
clock_seq = "\000", node = "\000\000\000\000\000"}}
service = 0x2af6d0ff6b00
partition = 0x2af6d0b6f220
drsuapi = 0x2af6d1c8d480
schema = 0x2af6d05e5570
working_schema = 0x0
mapping_ctr = 0x2af6d1b02c10
object_count = 50
first_object = 0x2af6d0571800
linked_attributes_count = 0
linked_attributes = 0x2af6d5212140
uptodateness_vector = 0x2af6d1a741c0
objects = 0x2af6d0e2bc60
more_data = false
status = {w = 0}
nt_status = {v = 3006553120}
dsdb_repl_flags = 0
__FUNCTION__ = "dreplsrv_op_pull_source_apply_changes_trigger"
#29 0x00002af6c1c6b3e7 in dreplsrv_op_pull_source_get_changes_done (
subreq=0x0) at ../source4/dsdb/repl/drepl_out_helpers.c:599
req = 0x2af6d17daed0
state = 0x2af6d17db050
status = {v = 0}
r = 0x2af6d17db0d0
ctr_level = 6
ctr1 = 0x0
ctr6 = 0x2af6d1b02bb0
extended_ret = DRSUAPI_EXOP_ERR_NONE
#30 0x00002af6b333e2f8 in _tevent_req_notify_callback (req=0x2af6d1a73f70,
location=0x2af6c1c7d5f8 "default/librpc/gen_ndr/ndr_drsuapi_c.c:712")
at ../lib/tevent/tevent_req.c:102
No locals.
#31 0x00002af6b333e34d in tevent_req_finish (req=0x2af6d1a73f70,
state=TEVENT_REQ_DONE,
location=0x2af6c1c7d5f8 "default/librpc/gen_ndr/ndr_drsuapi_c.c:712")
at ../lib/tevent/tevent_req.c:117
No locals.
#32 0x00002af6b333e374 in _tevent_req_done (req=0x2af6d1a73f70,
location=0x2af6c1c7d5f8 "default/librpc/gen_ndr/ndr_drsuapi_c.c:712")
at ../lib/tevent/tevent_req.c:123
No locals.
#33 0x00002af6c1c708df in dcerpc_drsuapi_DsGetNCChanges_r_done (
subreq=0x2af6d122f4c0) at default/librpc/gen_ndr/ndr_drsuapi_c.c:712
req = 0x2af6d1a73f70
status = {v = 0}
#34 0x00002af6b333e2f8 in _tevent_req_notify_callback (req=0x2af6d122f4c0,
location=0x2af6b575b688 "../librpc/rpc/binding_handle.c:517")
at ../lib/tevent/tevent_req.c:102
No locals.
#35 0x00002af6b333e34d in tevent_req_finish (req=0x2af6d122f4c0,
state=TEVENT_REQ_DONE,
location=0x2af6b575b688 "../librpc/rpc/binding_handle.c:517")
at ../lib/tevent/tevent_req.c:117
No locals.
#36 0x00002af6b333e374 in _tevent_req_done (req=0x2af6d122f4c0,
location=0x2af6b575b688 "../librpc/rpc/binding_handle.c:517")
at ../lib/tevent/tevent_req.c:123
No locals.
#37 0x00002af6b5757ede in dcerpc_binding_handle_call_done (subreq=0x0)
at ../librpc/rpc/binding_handle.c:517
req = 0x2af6d122f4c0
state = 0x2af6d122f640
h = 0x2af6d0959d10
error = {v = 0}
out_flags = 0
ndr_err = NDR_ERR_SUCCESS
#38 0x00002af6b333e2f8 in _tevent_req_notify_callback (req=0x2af6d522f7a0,
location=0x2af6b575b1d0 "../librpc/rpc/binding_handle.c:188")
at ../lib/tevent/tevent_req.c:102
No locals.
#39 0x00002af6b333e34d in tevent_req_finish (req=0x2af6d522f7a0,
state=TEVENT_REQ_DONE,
location=0x2af6b575b1d0 "../librpc/rpc/binding_handle.c:188")
at ../lib/tevent/tevent_req.c:117
No locals.
#40 0x00002af6b333e374 in _tevent_req_done (req=0x2af6d522f7a0,
location=0x2af6b575b1d0 "../librpc/rpc/binding_handle.c:188")
at ../lib/tevent/tevent_req.c:123
No locals.
#41 0x00002af6b5757398 in dcerpc_binding_handle_raw_call_done (subreq=0x0)
at ../librpc/rpc/binding_handle.c:188
req = 0x2af6d522f7a0
state = 0x2af6d522f920
error = {v = 0}
#42 0x00002af6b333e2f8 in _tevent_req_notify_callback (req=0x2af6d0712430,
location=0x2af6b44b8810 "../source4/librpc/rpc/dcerpc.c:322")
at ../lib/tevent/tevent_req.c:102
No locals.
#43 0x00002af6b333e34d in tevent_req_finish (req=0x2af6d0712430,
state=TEVENT_REQ_DONE,
location=0x2af6b44b8810 "../source4/librpc/rpc/dcerpc.c:322")
at ../lib/tevent/tevent_req.c:117
No locals.
#44 0x00002af6b333e472 in tevent_req_trigger (ev=0x2af6b17ef8c0,
im=0x2af6d0712500, private_data=0x2af6d0712430)
at ../lib/tevent/tevent_req.c:174
req = 0x2af6d0712430
#45 0x00002af6b333d6d4 in tevent_common_loop_immediate (ev=0x2af6b17ef8c0)
at ../lib/tevent/tevent_immediate.c:135
im = 0x2af6d0712500
handler = 0x2af6b333e423 <tevent_req_trigger>
private_data = 0x2af6d0712430
#46 0x00002af6b3345570 in epoll_event_loop_once (ev=0x2af6b17ef8c0,
location=0x2af6b15a7b9f "../source4/smbd/server.c:503")
at ../lib/tevent/tevent_epoll.c:907
epoll_ev = 0x2af6b17efb00
tval = {tv_sec = 47239056876603, tv_usec = 47239028210096}
panic_triggered = false
#47 0x00002af6b3342363 in std_event_loop_once (ev=0x2af6b17ef8c0,
location=0x2af6b15a7b9f "../source4/smbd/server.c:503")
at ../lib/tevent/tevent_standard.c:112
glue_ptr = 0x2af6b17ef9b0
glue = 0x2af6b17ef9b0
ret = 10998
#48 0x00002af6b333c799 in _tevent_loop_once (ev=0x2af6b17ef8c0,
location=0x2af6b15a7b9f "../source4/smbd/server.c:503")
at ../lib/tevent/tevent.c:530
ret = 0
nesting_stack_ptr = 0x0
#49 0x00002af6b333ca11 in tevent_common_loop_wait (ev=0x2af6b17ef8c0,
location=0x2af6b15a7b9f "../source4/smbd/server.c:503")
at ../lib/tevent/tevent.c:634
ret = 0
#50 0x00002af6b3342405 in std_event_loop_wait (ev=0x2af6b17ef8c0,
location=0x2af6b15a7b9f "../source4/smbd/server.c:503")
at ../lib/tevent/tevent_standard.c:138
glue_ptr = 0x2af6b17ef9b0
glue = 0x2af6b17ef9b0
ret = 10998
#51 0x00002af6b333cadc in _tevent_loop_wait (ev=0x2af6b17ef8c0,
location=0x2af6b15a7b9f "../source4/smbd/server.c:503")
at ../lib/tevent/tevent.c:653
No locals.
#52 0x00002af6b15a37bc in binary_smbd_main (
binary_name=0x2af6b15a737b "samba", argc=6, argv=0x7fff67c78de8)
at ../source4/smbd/server.c:503
opt_daemon = false
opt_interactive = true
opt = -1
pc = 0x2af6b17d5040
static_init = {0x2af6b2ac7d8c <server_service_auth_init>,
0x2af6b2aca9e7 <server_service_echo_init>, 0}
shared_init = 0x2af6b18143b0
event_ctx = 0x2af6b17ef8c0
stdin_event_flags = 1
status = {v = 0}
model = 0x2af6b17d5b90 "single"
max_runtime = 7500
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jan 6 01:16:13 CET 2014 on sn-devel-104
2014-01-06 01:16:13 +01:00
Garming Sam
819e1f561d
selftest: add rodc and other env tests for wbinfo
...
Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Dec 23 17:17:39 CET 2013 on sn-devel-104
2013-12-23 17:17:39 +01:00
Andrew Bartlett
038a9a7c5e
selftest: Add release-4-1-0rc3 saved provision
...
This version has the regression where we would, on join, write an
all-zero invocationID in the replPropertyMetaData attribute, on
Deleted Objects in particular.
To demonstrate this regression, this is based on the promoted_dc
environment from make test, with the domain altered to match the
pattern used in these trees.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-09-22 14:39:51 -07:00
Andrew Bartlett
9b8e174fe8
selftest: Add script to assist in writing out a tree undump.sh can restore
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-09-22 14:39:50 -07:00
Andrew Bartlett
38e43961c0
torture: Ensure that GSSAPI and SPNEGO packets are accepted by dlz_bind9
...
This exercises some more of the dlz_bind9 code outside BIND, by
sending in a ticket to be access checked, wrapped either in SPNEGO or
just in GSSAPI.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Sep 4 11:25:10 CEST 2013 on sn-devel-104
2013-09-04 11:25:10 +02:00
Andrew Bartlett
16b26eafa7
selftest: Add a basic test of samba_upgradedns
...
This does not check that the command runs correctly, but does at least check
that the command runs to completion without errors.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-09-04 07:08:16 +02:00
Matthieu Patou
d36e9118cb
selftest: Improve test coverage of DRS (bug #8680 )
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-23 20:26:25 +10:00
Andrew Bartlett
9d6af4938f
selftest: Rename samba4.blackbox.upgradeprovision.py to samba4.blackbox.upgradeprovision.current
...
This name matches the other upgradeprovision tests for older saved provisions.
Andrew Bartlett
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-03-04 08:32:49 +01:00
Andrew Bartlett
f1f36ad351
selftest: Add in a provision from 4.0.0 to run tests against
...
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-03-04 08:32:11 +01:00
Stefan Metzmacher
7e7cd07c40
selftest: rename 'promoted_vampire_dc' to 'promoted_dc'
...
Unix domain socket are limited to 104 characters on Linux.
Using something like this fails as it uses more than 104 characters:
'/memdisk/autobuild/flakey/b232141/samba/bin/ab/promoted_vampire_dc/private/smbd.tmp/msg/msg.482379.2147483647'
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-01-27 12:22:51 +01:00
Andrew Bartlett
0f8ef5a2c8
selftest: Add test of upgradeprovision using the old alpha13 tree
...
This ensures that upgradeprovision works as expected on a known good old database.
Andrew Bartlett
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jan 27 11:55:54 CET 2013 on sn-devel-104
2013-01-27 11:55:54 +01:00
Andrew Bartlett
c9d2ca585e
selftest: Add test for rfc2307 mapping handling
...
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-10 14:52:52 +01:00
Günther Deschner
34ac9d8786
s4-selftest: make sure to test rpc.samr.passwords.validate over ncacn_ip_tcp.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Dec 12 13:13:47 CET 2012 on sn-devel-104
2012-12-12 13:13:47 +01:00
Andrew Bartlett
0b7bb774ce
selftest: check that samba-tool gpo works for basic operations
...
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-11-06 08:27:44 +11:00
Andrew Bartlett
42c379f0df
samba-tool: Add samba-tool processes subcommand
...
This will allow administrators to inspect the process list in a
similar way to what running on a platform with setproctitle might
permit.
--pid= returns the registered server names for a PID (eg kdc, cldap_server)
--name= returns the pids registered with a particular name.
Andrew Bartlett
2012-10-31 08:13:56 +11:00
Jelmer Vernooij
1190f385f7
source4.selftest.tests: Add FIXME about database verification.
2012-10-27 05:16:19 -08:00
Jelmer Vernooij
ea5e2b56c1
source4.selftest.tests: Add suffix for smbclient4/nmblookup4.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
58345820c0
selftesthelpers: Add function for printing smbtorture4 version.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
8237e2727d
selftest: Move determining of smbtorture4 options to selftesthelpers.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
fcb7926ce5
selftest/selftesthelpers: Share environment handling for extra smbtorture options.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
4c4d3c86f0
selftesthelpers: Share code for listing smbtorture4 tests.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
868c8c0583
source4.selftest.tests: Rename plansmbtorturesuite() to plansmbtorture4suite().
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
55507d0612
source4.selftest.tests: Consistent naming of smbtorture binary.
2012-10-27 05:16:18 -08:00
Jelmer Vernooij
ff82afb1f8
selftest: Move more tests to common list script.
...
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
2012-10-12 02:06:41 +02:00
Jelmer Vernooij
1aa291c331
selftest: Move some tests to common test script.
2012-10-11 18:50:40 +02:00
Jelmer Vernooij
b7822a55c4
samba4-tests: Move 'samba.tests.source' up.
...
We would like to run this as early as possible so we get a quick
failure when there is trailing whitespace.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Thu Sep 27 20:26:27 CEST 2012 on sn-devel-104
2012-09-27 20:26:27 +02:00
Kai Blin
2af8129085
s4 dns: Add libaddns-based simple tests
2012-09-12 16:51:29 +02:00
Kai Blin
76801b502d
s4 dns: Run python tests in fl2003dc env
2012-09-12 16:51:29 +02:00
Stefan Metzmacher
aa1e84ae60
s4:selftest: run thet dlz_bind9. tests in the chgdcpass env
...
metze
2012-09-12 16:51:29 +02:00
Andrew Bartlett
52f0dedc1a
selftest: Add tests for the dlz_bind9 module
...
This will help ensure that we do not break the fundemental loading etc.
From here, it should be easy to extend this to more comprehensive tests.
Andrew Bartlett
2012-09-06 15:22:26 +10:00
Andrew Bartlett
3a303ae5ab
selftest: Add a test for smbclient --machine-pass without secrets.tdb
...
Errors in handling the upgrade case without a matching secrets.tdb caused segfaults
in the server. This essentially tests both sides.
Andrew Bartlett
2012-08-29 09:10:40 +10:00
Andrew Bartlett
1a8fd711d7
selftest: Add test of smbclient --machine-pass against and using both s3 and s4
...
This uses both smbclient binaries to ensure that both work in both environments.
Andrew Bartlett
2012-08-28 07:57:29 +10:00
Andrew Bartlett
7cf50b9f30
s4-selftest: Add testing of samba-tool ntacl sysvolreset
2012-08-23 15:02:26 +02:00
Andrew Bartlett
56fd072fdd
selftest: Add a test of the NT ACL -> posix ACL mapping layer to selftest
2012-08-23 15:02:26 +02:00
Volker Lendecke
f3b69da2ae
s3-libsmb: Add a simple test for python bindings
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug 16 22:49:06 CEST 2012 on sn-devel-104
2012-08-16 22:49:06 +02:00
Andrew Bartlett
51dd39b2cf
selftest: Rename samba4.blackbox.pdbtest to samba.blackbox.pdbtest
...
This test covers s3dc as well.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Aug 8 09:57:14 CEST 2012 on sn-devel-104
2012-08-08 09:57:14 +02:00
Andrew Bartlett
4654dcaae7
s4-selftest: do a dbcheck on our two vampire DCs
...
However, due to using --domain-critical-only we have to knownfail the
vampire DC here, as we do not fill in the backlinks on non-critical
objects correctly.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 6 16:54:10 CEST 2012 on sn-devel-104
2012-07-06 16:54:09 +02:00
Andreas Schneider
de54047c05
s4-selftest: Don't run lsarpc requiring a named pipe over tcpip.
2012-07-06 10:00:58 +02:00
Andreas Schneider
48b30bfce6
s4-selftest: Don't plan lsa.secrets tests over tcpip.
...
These will only work over a named pipe or ncalrpc.
2012-07-06 10:00:58 +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
a29bf4acf5
selftest: run pdbtest against s3dc as well
...
This validates the password expiry, account disable in the s3 auth code
and the save/restore of values in tdbsam.
It also provides the first test of some net sam set subcommands.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jun 28 20:39:38 CEST 2012 on sn-devel-104
2012-06-28 20:39:38 +02:00
Andrew Bartlett
30fd88ed65
selftest: use a loop rather than declare tests for both dc and s3dc
2012-06-28 18:46:23 +02:00
Andrew Bartlett
471a6b3992
s4-selftest: expand passdb testing
...
This tests pdb_samba4 in the first instance
2012-06-27 11:29:17 +02:00
Andrew Bartlett
d1d36d2563
s4-selftest: Add tests for dbcheck on an old database that needs repair
...
We changed a lot since alpha13, so there are lots of legitimate errors to fix.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Jun 16 05:44:15 CEST 2012 on sn-devel-104
2012-06-16 05:44:15 +02:00
Andrew Bartlett
72953b1eb8
selftest: Add targetdir and tdbrestore parameters to undump.sh
2012-06-16 03:55:06 +02:00
Andrew Bartlett
29ff3ce568
s4-selftest: Test samba-tool drs replicate --local --full-sync
2012-06-11 11:44:07 +02:00
Michael Adam
769908540f
s4:selftest: change the blackbox.samba_tool_demote test to use a binary mapping for smbclient
2012-05-31 04:46:07 +02:00
Michael Adam
72fbbdb9b3
s4:selftest: change the blackbox.passwords test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
e7281b450a
s4:selftest: change the blackbox.pkinit test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
d86ae30bb8
s4:selftest: change the blackbox.kinit test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
104135faa9
s4:selftest: change the blackbox.export.keytab test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
00f5473de8
s4:selftest: change the blackbox.chgdcpass test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
df0cadbcc9
s4:selftest: change the blackbox.samba_tool test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
da82c07e13
s4:selftets: change the blackbox.bogusdomain test to use binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
11a2eeabaa
s4:selftest: change the blackbox.smbclient test to use binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
fef5ce7f0f
s4:selftest: determine nmblookup via binary mapping for blackbox test in tests.py
2012-05-31 04:46:06 +02:00
Andrew Bartlett
c484f259c6
ldb: Detect failures in ldb.base again
...
We need to wrap the ldb tests in the subunit blackbox helpers.
We also needed to change to the right directory, or else the :< file://
syntax check does not work, as samba4.png is not found.
Andrew Bartlett
2012-04-10 16:57:06 +10:00
Jelmer Vernooij
acd63fdb86
wafsamba: Cope with slight differences in gdb output regarding incomplete sequences.
...
Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
2012-03-26 18:28:06 +02:00
Michael Adam
f4458a5cef
s4:selftest: add a new testsuite for the "samba-tool group" command
2012-03-18 23:41:40 +01:00
Andrew Bartlett
79753ec02c
selftest: add more tests for different authentication codepaths
2012-03-08 10:14:05 +01:00
Jelmer Vernooij
f033c221f8
policy/python: Move python binding tests to standard location.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
2012-03-06 02:26:29 +01:00
Jelmer Vernooij
aaffd996ab
selftest/tests.py: Fix name of selftest.py for benefit of --load-list.
2012-03-06 00:48:14 +01:00
Andrew Bartlett
ebe8aa9cc1
selftest: start to run more dcerpc tests against plugin_s4_dc
2012-03-05 08:15:05 +01:00
Jelmer Vernooij
570dbf2ee0
Run selftest.py tests.
2012-03-04 18:02:07 +01:00
Andrew Bartlett
95976d4ec2
selftest: Rework samba4.blackbox.bogusdomain to use a temporary user
...
This avoids leaving an account in the test environment after the test is run
and therefore avoids issues with interations with other tests.
Also, we now use the local administrator account in the member server to
add the test account.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Mar 2 14:44:36 CET 2012 on sn-devel-104
2012-03-02 14:44:36 +01:00
Andrew Bartlett
7cc19afb1f
selftest: add more tests for plugin_s4_dc
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb 29 12:14:05 CET 2012 on sn-devel-104
2012-02-29 12:14:05 +01:00
Andrew Bartlett
8e8fde51b4
selftest: Do not run chgdcpass test on the main DC
...
If winbindd has it's password changed from under it, it becomes
grumpy.
Andrew Bartlett
2012-02-29 10:41:07 +01:00
Andrew Bartlett
3b3066fcaf
selftest: plugin_s4_dc can now handle kerberos properly
2012-02-27 07:36:05 +01:00
Andrew Bartlett
7e0e713406
selftest: Remove 'if have_ads_support:' from tests.py
...
The selftest system now skips launching these if the environment is not available.
Andrew Bartlett
2012-02-16 15:21:11 +11:00
Andrew Bartlett
8ea068d702
selftest: Run nsstest against more environments
2012-02-16 15:21:10 +11:00
Jelmer Vernooij
c3a9d1eb15
waf: Add initial unit test for samba_utils.
2012-02-12 18:44:09 +01:00
Matthieu Patou
7350d99409
s3: check that a user in a bogus domain name is mapped to the localnetbios name of a domain member
...
This means that if we authentify for BOGUS\administrator in AD domain
FOREST with samba being domain member with the netbiosname MEMBER then
BOGUS\administrator will be mapped to MEMBER\administrator if the
password match.
2012-01-30 08:23:11 -08:00
Andrew Bartlett
8a4b5cdfea
s4-selftest: Add test of RPC to a netbios alias
...
This tries to ensure our netbios lookup code is still run.
Andrew Bartlett
2011-12-13 23:42:05 +01:00
Andrew Bartlett
abed96535e
s4-selftest Give local.resolve a real name to look up
2011-12-13 23:42:05 +01:00
Jelmer Vernooij
a47970cae6
Add tests for srvsvc python interface. Thanks Dhananjay Sathe
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
2011-12-08 04:57:52 +01:00
Jelmer Vernooij
8878949ff5
selftest: Some extra assertions.
2011-12-08 03:24:27 +01:00
Andrew Bartlett
2da506ee66
s4-selftest re-enable nsstest on libnss_winbind.so
2011-12-07 03:09:08 +01:00
Matthieu Patou
105d388c9b
s4: add blackbox test for the demote function
2011-12-05 18:23:07 +01:00
Jelmer Vernooij
7c1a884396
s4-tests: Use long option names in test list script, to prevent 'eating' --list argument when e.g. is not set.
2011-11-30 22:58:04 +01:00
Jelmer Vernooij
64cfb79cd5
s4-testlist: Write diagnostic info to stderr, and purely test info to stdout.
2011-11-30 22:58:04 +01:00
Matthias Dieter Wallnöfer
6b63d7e618
s4:selftest/test_samba_tool.sh - add a basic unit test for the new "domain info" command
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-27 12:51:57 +01:00
Kai Blin
e5ebda4156
s4 dns: Add a first test case
2011-11-17 15:25:58 +01:00
Jelmer Vernooij
5cf31eb592
s4-tests: Use plansmbtorturesuite where possible.
2011-11-14 15:49:37 +01:00
Jelmer Vernooij
faa4eb5d1a
s4-tests: Remove unnecessary py suffix.
2011-11-14 15:49:37 +01:00
Jelmer Vernooij
6321d5bf97
s4-tests: Allow listing tests run for iconv.
2011-11-14 15:49:36 +01:00
Stefan Metzmacher
17c529a35f
s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"
...
As it uses local files on the dc.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Nov 14 15:48:33 CET 2011 on sn-devel-104
2011-11-14 15:48:33 +01:00
Jelmer Vernooij
b24dd2ca1c
selftesthelper: Fix argument order.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
a0a31d3212
selftest: Make planoldpythontestsuite arguments consistent with planpythontestsuite.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
0fcec8bfa0
selftest: Simplify calling of python tests.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
8ea8683f72
selftest: Allow passing arbitrary number of additional python path values.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
a0ed2da105
ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest rather
...
than samba.tests.
2011-11-10 23:37:04 +01:00
Andrew Tridgell
39356761e5
test: use planpythontestsuite() for ldb.python test
...
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Sean Dague
e118d91a63
test: enable time and user samba-tool tests
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Matthieu Patou
37703892bd
s4-selftest: add unit tests for sites's function in python
2011-11-02 13:37:18 +01:00
Jeremy Allison
8c6ff21782
The xcopy test is used in unusual ways (via a different uid). Ensure we can cope with this.
2011-10-28 12:16:43 -07:00
Andrew Bartlett
659ec79245
selftest: Have only one set of selftest knownfail and skip files
...
Listing tests that are not ever proposed (eg samba4.* in the samba3 selftest)
is not an error, so just combine the lists.
This is being done because some folks trying to learn how our 'make
test' works are having trouble following the distributed nature of the
selftest system.
Andrew Bartlett
2011-10-28 13:10:27 +02:00
Amitay Isaacs
7ca0bed38d
s4-selftest: Add tests for RPC dnsserver
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20 05:53:05 +02:00
Jelmer Vernooij
416bf1c677
samba.getopt: Add some basic tests.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Oct 19 05:04:33 CEST 2011 on sn-devel-104
2011-10-19 05:04:33 +02:00
Andrew Bartlett
4c20276c34
Revert "s4: Mark the winsreplication test as knownfail"
...
This reverts commit f7f6992a20
because
75953f1846
solved the root cause, which
was a race in ldb startup.
Andrew Bartlett
2011-10-18 13:01:52 +11:00
Andrew Bartlett
fe98fa6796
Revert "s4:selftest: skip flakey samba4.nbt.winsreplication for now"
...
This reverts commit 16fd935fc6
because
75953f1846
solved the root cause, which
was a race in ldb startup.
Andrew Bartlett
2011-10-18 13:01:03 +11:00
Michael Adam
b0d89e5c05
s4:selftest: flakey test samba4.drs.delete_object.python should go into skip
...
not knownfail, which will render it flakey again, just the other way round.
Thanks Jelmer for pointing that out...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Oct 14 00:21:26 CEST 2011 on sn-devel-104
2011-10-14 00:21:26 +02:00
Michael Adam
7e9acf06c5
selftest: mark samba4.drs.delete_object.python knownfail
...
this currently prevents autobuild from succeeding intermittently
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Oct 13 00:22:18 CEST 2011 on sn-devel-104
2011-10-13 00:22:18 +02:00
Andrew Bartlett
561d834123
auth: move credentials layer to the top level
...
This will allow gensec_start.c to move to the top level. This does not change
what code uses the cli_credentials code, but allows the gensec code to be
more broadly.
Andrew Bartlett
2011-10-11 13:41:36 +11:00
Stefan Metzmacher
f0cd3f62d0
selftest: run dfs tests on plugin_s4_dc
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct 8 03:18:54 CEST 2011 on sn-devel-104
2011-10-08 03:18:54 +02:00
David Disseldorp
08573c2b92
s4: add SMB2_FSCTL opcodes
...
Also, skip samba4.smb2.ioctl for now. Snapshots are not supported by
default.
Autobuild-User: David Disseldorp <ddiss@samba.org>
Autobuild-Date: Thu Sep 29 14:47:05 CEST 2011 on sn-devel-104
2011-09-29 14:47:05 +02:00
Stefan Metzmacher
16fd935fc6
s4:selftest: skip flakey samba4.nbt.winsreplication for now
...
[825/1154 in 43m52s] samba4.nbt.winsreplication(dc)
Test if we always get back the same assoc_ctx
Setup wrepl connections
Test one pull replication cycle
Setup wrepl connections
Setup wrepl conflict pull connection
UNEXPECTED(error): samba4.nbt.winsreplication.replica
REASON: _StringException: _StringException: Unknown error/failure
I don't have time to look into the problem currently.
metze
2011-09-22 22:30:22 +02:00