1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

3362 Commits

Author SHA1 Message Date
Stefan Metzmacher
03ed70c9f3 s4:torture/nbench: don't use 'new'
metze
2009-02-02 13:09:19 +01:00
Stefan Metzmacher
0ac7792e02 s4:libcliraw: s/private/private_data
metze
2009-02-02 13:08:51 +01:00
Stefan Metzmacher
e08dfe008e s4:dgram: s/private/private_data
metze
2009-02-02 13:08:48 +01:00
Stefan Metzmacher
1bb0104070 s4:cldap: s/private/private_data
metze
2009-02-02 13:08:42 +01:00
Stefan Metzmacher
ab7f003aad s4:torture: s/private/private_data
metze
2009-02-02 13:08:38 +01:00
Kai Blin
07aa05f678 shared: Move dom_sid_* utility functions to top level 2009-02-01 19:42:30 +01:00
Günther Deschner
ab2ee0711e s4-smbtorture: add my copyright.
Guenther
2009-01-24 03:33:55 +01:00
Günther Deschner
da338efbf9 s4-smbtorture: add BackupLog handling in eventlog test.
Guenther
2009-01-24 03:33:55 +01:00
Günther Deschner
d3b8fdd71e s4-smbtorture: add test_GetLogIntormation test.
Guenther
2009-01-24 03:33:23 +01:00
Günther Deschner
a6131f2a8b s4-smbtorture: add ReportEventW test.
Guenther
2009-01-24 03:33:23 +01:00
Stefan Metzmacher
a83feb2fe3 s4:auth: move make_server_info_netlogon_validation() function arround
metze
2009-01-21 13:36:11 +01:00
Stefan Metzmacher
4a878115a7 NBT-WINS: test if the server ignores resent packets
metze
(from samba4wins tree 24eb7577414c8584b97f43c850d738d3dbb30777)
2009-01-19 07:05:23 +01:00
Stefan Metzmacher
1ffcebbf0f NBT-WINS: we don't need the slow low port tests for every name
metze
(from samba4wins tree 7862deca8555f960a5ef65e6315ce94af5023a2a)
2009-01-19 07:05:23 +01:00
Stefan Metzmacher
462e4d0cef NBT-WINS: if we're bound to port 137 trigger WACK reponses with timeouts
metze
(from samba4wins tree de7225658493006c19d139ac77ac1b1ffab01d25)
2009-01-19 07:05:22 +01:00
Stefan Metzmacher
384b9f709a NBT-WINS: try to bind to port 137 in the NBT-WINS test
metze
(from samba4wins tree 5e101475d5ed62060c991ea71c943e76b862aeef)
2009-01-19 07:05:22 +01:00
Stefan Metzmacher
3b91640fbb NBT-WINS: initialize .dest_port explicit (we should fill the whole struct each time)
This makes the code more clear.

metze
2009-01-19 07:05:20 +01:00
Günther Deschner
9361c73c2f winreg: fix winreg_EnumValue callers.
Guenther
2009-01-16 00:28:46 +01:00
Günther Deschner
288c469195 s4-smbtorture: fix RPC-EVENTLOG test.
Guenther
2009-01-16 00:28:44 +01:00
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