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
Stefan Metzmacher
b25d69e3a8
RAW-STREAMS: check some strange stream name combinations
...
metze
2008-12-01 14:43:23 -08:00
Stefan Metzmacher
9519d5dd71
RAW-CHKPATH: test every character in the range of 0x01 => 0x7F
...
metze
2008-12-01 14:42:48 -08:00
Günther Deschner
1cf5c154aa
s4-smbtorture: add some more testcases to pwdlastset test.
...
Guenther
2008-11-28 22:06:41 +01:00
Günther Deschner
fd2a15fa78
s4-smbtorture: fix RPC-SAMR-PASSWORDS-PWDLASTSET with samba3 option.
...
Guenther
2008-11-28 22:06:32 +01:00
Günther Deschner
4b687944f3
s4-smbtorture: allow to disable full testing of all possible opcode combinations.
...
Guenther
2008-11-28 14:09:26 +01:00
Günther Deschner
465466e1af
s4-smbtorture: move test to SAMR-PASSWORDS-PWDLASTSET.
...
Guenther
2008-11-28 14:09:18 +01:00
Günther Deschner
89ad20789c
s4-smbtorture: add test for samr password_expired flag while setting passwords.
...
Guenther
2008-11-28 14:09:10 +01:00
Günther Deschner
bd95b6b416
s4-smbtorture: add test_SetUserPass_level_ex.
...
Guenther
2008-11-28 14:08:14 +01:00
Günther Deschner
206375c8cf
s4-smbtorture: add samr_rand_pass_silent.
...
Guenther
2008-11-28 14:08:03 +01:00
Günther Deschner
296fae7561
s4-samr: fix samr passwdord_expired callers.
...
Guenther
2008-11-28 13:55:49 +01:00
Günther Deschner
5aebfd9086
s4-smbtorture: fix some build warnings.
...
Guenther
2008-11-27 18:19:44 +01:00
Jelmer Vernooij
9164b14a9f
Fix include path for installation.
2008-11-21 17:57:44 +01:00
Günther Deschner
2736650f0c
eventlog: fill in some unknowns and use flags bitmap in IDL.
...
Guenther
2008-11-20 17:15:47 +01:00