Günther Deschner
af9f7a39f0
s4-smbtorture: also test for invalid flags in eventlog test_ReadEventLog.
...
Guenther
2009-01-14 10:18:13 +01:00
Günther Deschner
4994956ad0
s4-smbtorture: pure cosmetic cleanup of eventlog test.
...
Guenther
2009-01-14 10:18:13 +01:00
Tim Prouty
a65f1b9655
s4 torture: Add new create disposition test to RAW-STREAMS
2009-01-09 11:45:31 -08:00
Günther Deschner
f2dd351a1e
s4-smbtorture: print hand-decoded service status array in svcctl torture test.
...
Guenther
2009-01-09 17:08:18 +01:00
Günther Deschner
74a1ed3e28
s4-smbtorture: extend test_QueryServiceConfig2W a bit.
...
Guenther
2009-01-08 17:32:44 +01:00
Günther Deschner
e0edc079bd
s4-smbtorture: fix build of svcctl torture test.
...
Guenther
2009-01-08 17:32:40 +01:00
Günther Deschner
661eeb34b5
s4-smbtorture: use names for info level in test_QueryServiceStatusEx.
...
Guenther
2009-01-08 11:19:32 +01:00
Günther Deschner
4df1a491c5
s4-smbtorture: add my copyright to svcctl test.
...
Guenther
2009-01-08 11:19:31 +01:00
Günther Deschner
176bbcf90c
svcctl: add svcctl_ConfigLevel from samba 3.
...
Guenther
2009-01-08 11:18:57 +01:00
Andrew Tridgell
c81863e868
added support for stream renames in Samba4
...
This allows the RAW-STREAMS test to work again. We still have some
limitations though:
- renames of a stream to the default stream doesn't work
- delete on close handling between streams and the main file
is still broken
2009-01-07 16:46:34 +11:00
Jelmer Vernooij
958186df2a
Fix compilation, remove unused variables.
2009-01-06 21:52:54 +01:00
Günther Deschner
10d72781fd
s4-smbtorture: verify each password change via samlogon in SAMR-PASSWORDS-PWDLASTSET test.
...
Guenther
2009-01-06 16:03:54 +01:00
Tim Prouty
2ddaebb2e1
s4 torture: Add more rename tests to RAW-STREAMS
...
There is one part of the new rename tests that passes against windows,
but doesn't pass against samba3 right now. Windows allow renaming a
stream to the default stream, but none of the current streams module
support this. When this ability is added the check for samba can be
removed from this test.
This patch also adds a missing unlink in the cleanup of
test_stream_delete and changes the order that the tests are run to be
consistent with the physical order in the file.
2009-01-04 19:31:30 -08:00
Jeremy Allison
2234173220
Fix warnings in make test code.
...
Jeremy.
2009-01-02 11:38:24 -08:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Kai Blin
855d2a927e
s4 libnet: Add support for groupinfo by sid lookup
2008-12-29 12:52:27 +01:00
Jelmer Vernooij
dcc4081f75
Fix more compiler warnings.
2008-12-23 23:22:57 +01:00
Jelmer Vernooij
99e637175c
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-22 21:15:59 +01:00
Jelmer Vernooij
c023828962
Fix missing symbols issues when building with shared libraries.
2008-12-22 21:03:09 +01:00
Jeremy Allison
f1389a3950
Make it clearer when RAW-STREAMS is failing (don't always print names).
...
Jeremy.
2008-12-22 11:58:38 -08:00
Jelmer Vernooij
91f245ab5b
Fix segfault when there are no tests registered.
2008-12-22 18:53:19 +01:00
Jeremy Allison
fcadf47a15
Add torture test for bug #5986 - streams rename, so we don't regress.
...
Jeremy.
2008-12-19 18:01:26 -08:00
Stefan Metzmacher
4f5b8b68d5
s4:libcli/wrepl: we don't need to resolve names
...
metze
2008-12-18 13:32:50 +01:00
Stefan Metzmacher
0df3036730
RAW-CHKPATH: not every server behaves like samba3...
...
metze
2008-12-18 13:31:41 +01:00
Stefan Metzmacher
79351f75fe
BASE-LOCK: fix LOCK5
...
We need to close all 3 file handle to make the unlink work.
metze
2008-12-18 13:31:41 +01:00
Jeremy Allison
55620b4e3c
Samba3 smbd now passes test BATCH23 (with the fix for bug #5979 ), only BATCH22 left to fix.
...
Jeremy.
2008-12-17 17:30:18 -08:00
Günther Deschner
93c61a814a
s4: smbtorture, fix the build of netlogon test after idl change.
...
Guenther
2008-12-17 23:52:15 +01:00
Günther Deschner
188695f07f
s4: fix smbtorture build after idl change.
...
Guenther
2008-12-17 23:23:56 +01:00
Stefan Metzmacher
46eda79090
s4:lib/tevent: add lib/events/ compat and let things compile
...
metze
2008-12-17 13:31:29 +01:00
Andrew Bartlett
3ef91c9b02
s4:torture: add ldb tests
...
These tests are for both the new extended DN functionality (and were
vital in finding bugs during implementation) and for the normal DN
parsing and comparison routines.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17 12:29:26 +11:00
Jelmer Vernooij
53c82ae7a3
Remove use of C++ keywords.
2008-12-16 19:07:02 +01:00
Jelmer Vernooij
573441ff9b
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-14 17:17:55 +01:00
Jeremy Allison
3c5c3aaa74
Added torture test for doing an openX over a directory
...
to ensure we get the correct error message.
Jeremy.
2008-12-13 13:10:48 -08:00
Jelmer Vernooij
c4fc0b49f0
Manually marshall dom_sid, so we can use a fixed size array for
...
dom_sid.sub_auths rather than a dynamically allocated one.
This makes it possible to use the same DCE/RPC object code for Samba 3
and Samba 4's DCE/RPC parsers and allows copying sids more easily
(since they no longer contain any pointers). The cost of having additional
manual marshalling code is limited (~35 additional lines of C code).
2008-12-12 19:52:06 +01:00
Günther Deschner
c4a5788e82
s4-smbtorture: add simple netr_ServerGetTrustInfo test.
...
Guenther
2008-12-10 11:58:28 +01:00
Tim Prouty
4a9b092eb4
s4: [2/3] Fix a delete on close divergence from windows and the associated torture test
...
This second patch fixes the deltest17 BASE-DELETE torture test to pass
against win2k3/win2k8/winXPsp2
2008-12-09 18:02:31 -08:00
Matthias Dieter Wallnöfer
6e4cc12604
s4-samr: Fix Bug #5946 . userparameters handling in torture test.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2008-12-10 00:07:25 +01:00
Stefan Metzmacher
e9215c9713
RPC-BROWSER: send the correct data in later requests
...
metze
2008-12-06 15:04:34 +01:00
Stefan Metzmacher
2c31b7975d
s4:torture: add simple RPC-BROWSER test
...
metze
2008-12-06 14:56:51 +01:00
Günther Deschner
f29d31a7e0
s4-smbtorture: do full level 18, 21, 23, 24, 25, 26 testing in pwdlastset test.
...
Guenther
2008-12-05 16:29:04 +01:00
Günther Deschner
c0b67b4aa6
s4-smbtorture: add support for level 18 and 21 in test_SetUserPass_level_ex.
...
Guenther
2008-12-05 16:28:57 +01:00
Günther Deschner
97c3ae12cf
s4-smbtorture: more tests for RPC-SAMR-PASSWORDS-PWDLASTSET.
...
Guenther
2008-12-05 16:28:50 +01:00
Günther Deschner
b514da4afd
s4-smbtorture: add test for setting passwords via samr_UserInfo21.
...
Guenther
2008-12-05 16:03:08 +01:00
Günther Deschner
985d9b1099
s4-smbtorture: add test for setting passwords via samr_UserInfo18.
...
Guenther
2008-12-05 16:03:04 +01:00
Günther Deschner
58102a366b
s4-smbtorture: fix build of samr test (bad git merge).
...
Guenther
2008-12-05 15:48:47 +01:00
Günther Deschner
4bcf8edcf8
s4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.
...
Guenther
2008-12-05 14:27:03 +01:00
Stefan Metzmacher
e9d1c3e7ea
RAW-NETLOGON: check netr_GetAnyDCName() result
...
metze
2008-12-04 12:48:44 +01:00
Stefan Metzmacher
db369b5567
RAW-STREAMS: test stream renames
...
metze
2008-12-01 14:45:06 -08:00
Stefan Metzmacher
540e6376cc
RAW-STREAMS: some more tests...
...
metze
2008-12-01 14:44:42 -08:00
Stefan Metzmacher
87bb9e178f
RAW-STREAMS: test valid character in the range of 0x01 => 0x7F
...
metze
2008-12-01 14:43:58 -08:00