Jelmer Vernooij
e002300f23
r15328: Move some functions around, remove dependencies.
...
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3
)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
a30340affe
r15201: Use abs() rather then ABS()
...
(This used to be commit 1f3833d041
)
2007-10-10 14:04:16 -05:00
Stefan Metzmacher
73b385d3c4
r15122: test what access masks are needed when using the FLAGS2_READ_PERMIT_EXECUTE
...
flag.
metze
(This used to be commit d298e4760c
)
2007-10-10 14:04:10 -05:00
Stefan Metzmacher
e7f34592eb
r15070: test the needed access masks for read/write the different
...
security descriptor components
metze
(This used to be commit 88c57c8703
)
2007-10-10 14:04:06 -05:00
Stefan Metzmacher
4d72f3f8d0
r15066: - sync the dir_flags tests with the file_flags tests
...
- add some more checks for the w2k3 bug case
metze
(This used to be commit a55b44b96c
)
2007-10-10 14:04:06 -05:00
Andrew Tridgell
970f7122d9
r15033: expanded the RAW-OPLOCK test to include the different cases where the
...
client chooses to break to none or break to level II, when offered a
level II break from exclusive
(This used to be commit 9a35b14422
)
2007-10-10 14:04:02 -05:00
Andrew Tridgell
7f6ed60c70
r15016: add a test for a 2nd open with an exclusive oplock. It does not cause
...
a break, as exclusive oplocks don't cache close requests
(This used to be commit 9f2617a062
)
2007-10-10 14:04:01 -05:00
Andrew Tridgell
48d3fb39ff
r15015: add an explanation for this test
...
(This used to be commit 9fdeec506f
)
2007-10-10 14:04:01 -05:00
Andrew Tridgell
72343b9615
r15014: added a simple batch oplock benchmark
...
Jeremy, Samba3 currently fails this test with a 2.6.16-rc6 kernel and
kernel oplocks enabled. With kernel oplock off it passes, though its a
bit slow
(This used to be commit 99df202460
)
2007-10-10 14:04:01 -05:00
Andrew Tridgell
b04592918d
r14969: ensure that even on slow machines we leave plenty of time for a series
...
of events to propogate internally in smbd before asking for them
(the test was failing on slow machines)
(This used to be commit a493539458
)
2007-10-10 14:00:48 -05:00
Andrew Tridgell
127967334f
r14956: change the notify search to be much more efficient by using a
...
per-depth bisection search. This makes the notify_trigger() call
log(N) which makes us scale well for large numbers of outstanding
notifies
(This used to be commit 16fd00925f
)
2007-10-10 14:00:45 -05:00
Andrew Tridgell
b5ee277f1a
r14948: add testing of truncate events, and add truncate support to inotify
...
backend
(This used to be commit b80523a631
)
2007-10-10 14:00:21 -05:00
Andrew Tridgell
ce25ec56f3
r14942: make the RAW-NOTIFY test check the strange file rename semantics. Also
...
be more forgiving of matching on extra bits (inotify cannot match on
minimal bits for all events).
(This used to be commit 29de884737
)
2007-10-10 14:00:20 -05:00
Andrew Tridgell
0dce9b003c
r14935: try to avoid a race condition in the recursion test
...
(This used to be commit 659576806f
)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
51a5b79ec0
r14934: greatly expand the RAW-NOTIFY testing of completion filters. We now
...
try each bit in the completion filter separately for a wide range of
file operations.
(This used to be commit 81f8b24526
)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
e221db7a39
r14928: demonstrate that the completion filter is only set on the first notify
...
on a directory handle
(This used to be commit b6e40d9b08
)
2007-10-10 14:00:18 -05:00
Andrew Tridgell
d8544db317
r14927: expand the RAW-NOTIFY test to test recursive and rename handling
...
(This used to be commit e6abb1ecba
)
2007-10-10 14:00:18 -05:00
Stefan Metzmacher
1af925f394
r14860: create libcli/security/security.h
...
metze
(This used to be commit 9ec706238c
)
2007-10-10 13:59:44 -05:00
Andrew Tridgell
986aae3c5c
r14845: expanded the number of info levels tested for continue in the
...
RAW-SEARCH test
(This used to be commit a3e7640730
)
2007-10-10 13:59:42 -05:00
Stefan Metzmacher
f964db91e7
r14826: initialize pid1 and pid2:-)
...
metze
(This used to be commit 45e2832972
)
2007-10-10 13:59:24 -05:00
Andrew Tridgell
8e7078e149
r14794: added a test to see what happens when you send a notify request on a
...
handle that already has a notify request pending. It turns out that
they are queued
(This used to be commit 15e9302bcd
)
2007-10-10 13:59:19 -05:00
Stefan Metzmacher
7780e2bfa1
r14734: this demonstrates that a tcon isn't autoclosed by a ulogoff
...
the tcon can be reused using any other valid session later
metze
(This used to be commit b9a90ed763
)
2007-10-10 13:59:17 -05:00
Stefan Metzmacher
7011384a3a
r14732: fix typo noticed by derrell, thanks!
...
metze
(This used to be commit ffa500ebb4
)
2007-10-10 13:59:16 -05:00
Jelmer Vernooij
909b111f58
r14720: Add torture_context argument to all torture tests
...
(This used to be commit 3c7a5ce291
)
2007-10-10 13:59:13 -05:00
Stefan Metzmacher
30976b1af1
r14710: make more clear that SMBexit only cares about the PID
...
that is used in the open call
metze
(This used to be commit 1bc6940e7d
)
2007-10-10 13:59:11 -05:00
Stefan Metzmacher
41a6591628
r14680: add some tests which demonstrate that closing the dir handle
...
triggers an empty notify reply with NT_STATUS_OK
metze
(This used to be commit 590dd49207
)
2007-10-10 13:59:08 -05:00
Jelmer Vernooij
35349a58df
r14542: Remove librpc, libndr and libnbt from includes.h
...
(This used to be commit 51b4270513
)
2007-10-10 13:58:42 -05:00
Andrew Tridgell
9225c02aee
r14539: get rid of a pointless union layer in struct smb_notify
...
(This used to be commit 1e1c559381
)
2007-10-10 13:58:41 -05:00
Jelmer Vernooij
d09b70c98b
r14527: Fix build problems.
...
(This used to be commit 863ca4014d
)
2007-10-10 13:57:37 -05:00
Jelmer Vernooij
8528016978
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51
)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
ae92d63ce1
r14446: demonstrate the notifies on files are not allowed
...
metze
(This used to be commit 74868726ae
)
2007-10-10 13:57:26 -05:00
Stefan Metzmacher
d16d8e1dcd
r14444: - make clear that a canceled notify directly returns without any other event
...
- test mkdir - rmdir - mkdir - rmdir sequence, this gets 4 notify events back
- add some comments to the multiple directory handle and buffered cases
metze
(This used to be commit e2b3816212
)
2007-10-10 13:57:25 -05:00
Stefan Metzmacher
3f6ede84da
r14440: demonstrate that the smbpid is attached to a session (vuid),
...
so SMBexit() only closes files for the given user session and the given PID
can someone check if samba3 passes this test, please?
metze
(This used to be commit fd291ff003
)
2007-10-10 13:57:25 -05:00
Jelmer Vernooij
eefe30b7d8
r14379: Build torture/rpc/ as a seperate smbtorture module. Move helper
...
functions for rpc out of torture/torture.c
(This used to be commit 1d2d970f3b
)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
3f16241a1d
r14363: Remove credentials.h from the global includes.
...
(This used to be commit 98c4c30513
)
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
03bd05947b
r14316: don't zero the smb_handle after it was set:-)
...
metze
(This used to be commit 74472ed8be
)
2007-10-10 13:57:11 -05:00
Stefan Metzmacher
a1b295ed48
r14256: - rename smb_file -> smb_handle
...
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
(This used to be commit be6d5298a2
)
2007-10-10 13:57:06 -05:00
Andrew Tridgell
7f0c7702f6
r14208: removed use of req->flags2 inside the ntvfs layer. This should help
...
metze on his quest to unify the ntvfs strucures for the smb and smb2
servers. The only place we needed flags2 inside ntvfs was for the
FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a
readx.in.read_for_execute flag instead.
(This used to be commit b78abbbce6
)
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
307e43bb56
r14173: change smb interface structures to always use
...
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2
the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2
metze
(This used to be commit 2ef3f59709
)
2007-10-10 13:56:57 -05:00
Andrew Tridgell
2b051070cb
r14059: change notify is quite a bit more complex than we thought. These tests
...
show that w2k3 buffers notifies on directories where you have used
notify previously, thus giving you notifications on events that happen
even when you do not have a current notify call outstanding. This
makes it much easier for clients to avoid race conditions, which is
probably why it is done. It also means that associating change
notifies in Samba with outstanding change notify requests won't work -
instead we have to associate them with buffers on open directories.
(This used to be commit 8c5c8846f5
)
2007-10-10 13:52:39 -05:00
Jelmer Vernooij
f8fdbc967c
r13944: Yet another round of splitups.
...
(This used to be commit f87debeb12
)
2007-10-10 13:52:31 -05:00
Jelmer Vernooij
4ac2be9958
r13924: Split more prototypes out of include/proto.h + initial work on header
...
file dependencies
(This used to be commit 1228358767
)
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
dfc517b053
r13658: More moving around of files:
...
- Collect the generic utility functions into a lib/util/ (a la GLib is
for the GNOME folks)
- Remove even more files from include/
(This used to be commit ba62880f5b
)
2007-10-10 13:52:05 -05:00
Stefan Metzmacher
a920f2f9a8
r13004: fix compiler warnings
...
metze
(This used to be commit 833efdf8a9
)
2007-10-10 13:51:16 -05:00
Volker Lendecke
1971eebb10
r12765: Revert an accidential commit
...
(This used to be commit d96c84126d
)
2007-10-10 13:49:51 -05:00
Volker Lendecke
53091bf83e
r12764: Add a test for lsa_lookup. This will be expanded when I get around to add
...
trusted domains.
Volker
(This used to be commit 8b8bb85ad3
)
2007-10-10 13:49:51 -05:00
Jelmer Vernooij
78c50015bb
r12694: Move some headers to the directory of the subsystem they belong to.
...
(This used to be commit c722f665c9
)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
25bb00fbcd
r12693: Move core data structures out of smb.h into core.h
...
torture prototypes in seperate header
(This used to be commit 73610639b2
)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
d4de4c2d21
r12608: Remove some unused #include lines.
...
(This used to be commit 70e7449318
)
2007-10-10 13:49:03 -05:00
Andrew Tridgell
5e117701b4
r12549: fixed the problem with serialisation and the RAW-OPLOCK test
...
(This used to be commit ad3b828663
)
2007-10-10 13:47:56 -05:00