1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

1545 Commits

Author SHA1 Message Date
Jelmer Vernooij
42e919b3b0 r14347: Add registration function to allow registering smbtorture test(suites)
Fix mechanism for breaking lines when printing test names.
(This used to be commit c1061f5fe4)
2007-10-10 13:57:13 -05:00
Stefan Metzmacher
d2d9c0f25b r14319: this is a test to see if this help to run NBT-WINSREPLICATION-OWNED on more systems
on the buildfarm successful...

metze
(This used to be commit 0507203c35)
2007-10-10 13:57:12 -05:00
Stefan Metzmacher
0b18c8f863 r14318: fix warnings
metze
(This used to be commit c99c057354)
2007-10-10 13:57:11 -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
32b0bb64bc r14205: move smb specific stuff out of includes.h (finally!!!:-)
all this changes really help ccache to speed up the samba4 build:-)

metze
(This used to be commit 180a79d103)
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
Stefan Metzmacher
e6023d44bc r14140: block SIGPIPE in smbtorture
hopefully this fixed the problems with BASE-NEGNOWAIT

metze
(This used to be commit 45441954d0)
2007-10-10 13:56:54 -05:00
Stefan Metzmacher
429a23c48d r14110: make ndr interface parsing code libraries,
so it will not included in multiple modules or binaries

metze
(This used to be commit 13c1059747)
2007-10-10 13:56:52 -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
Stefan Metzmacher
a9fd2d7f42 r14040: report errors better
metze
(This used to be commit 10cd4dbac9)
2007-10-10 13:52:38 -05:00
Stefan Metzmacher
959c419182 r14039: as samba4 drops the connection on multiple negprot requests
make the BASE-NEGNOWAIT tests more robust.

was it correct that the important thing to test in this
test is that the 2nd connection works fine?

metze
(This used to be commit f941e74864)
2007-10-10 13:52:37 -05:00
Jelmer Vernooij
ceb6e9717b r13960: Generate makefile rules for installing/removing shared modules.
(This used to be commit 2c74698032)
2007-10-10 13:52:32 -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
Stefan Metzmacher
4796013057 r13931: fix dependencies
metze
(This used to be commit abbf1321ad)
2007-10-10 13:52:27 -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
Andrew Bartlett
4d024e6e64 r13908: Improve the RPC-SAMSYNC test to cross-check some attributes I wasn't
sure about.

This finds a new ACB_PW_EXPIRED attribute.

Andrew Bartlett
(This used to be commit 54caf94942)
2007-10-10 13:52:22 -05:00
Jelmer Vernooij
ba564a901e r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.
(This used to be commit c80a8f1102)
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
c389883ba2 r13902: Stricter checking for the -fvisibility flag
Add two more proto headers.
(This used to be commit 0c95bf0cd3)
2007-10-10 13:52:21 -05:00
Andrew Tridgell
ec16146601 r13853: fixed the BASE-NEGNOWAIT test to not fail with a sigpipe if the server
drops the connection on multiple negprots
(This used to be commit 34b2855a62)
2007-10-10 13:52:16 -05:00
Jelmer Vernooij
5d0aa16dfc r13839: Use registration mechanism for backends as well (in the same sense
my previous patch added it for modules). This is the next step towards
LDB backends and modules as run-time loadable .so files.
(This used to be commit fb2f70de4f)
2007-10-10 13:52:14 -05:00
Stefan Metzmacher
d5beaae0b8 r13709: fix compiler warnings
metze
(This used to be commit 291da7bac3)
2007-10-10 13:52:07 -05:00
Andrew Tridgell
57ba33c0a4 r13707: expanded the delete on close test some more, and make it easier to
track down where a error is happening. The semantics sure are strange!
(This used to be commit f722aed66d)
2007-10-10 13:52:06 -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
Jelmer Vernooij
10d88a02d7 r13652: Move some more stuff out off include/
(This used to be commit 26bf2a393b)
2007-10-10 13:52:04 -05:00
Stefan Metzmacher
f2f3e1801b r13627: split the NBT-WINSREPLICATION tests into multiple tests
metze
(This used to be commit ae559920e1)
2007-10-10 13:52:02 -05:00
Andrew Bartlett
9d1954c25d r13583: Realise that the member server name appears in all calls that use the
credentials.

Consistantly rename these elements in the IDL to computer_name.

Fix the server-side code to always lookup by this name.

Add new, even nastier tests to RPC-SCHANNEL to prove this.

Andrew Bartlett
(This used to be commit 341a0abeb4)
2007-10-10 13:51:58 -05:00
Andrew Bartlett
aa4a3449c2 r13551: Add an accessor function for the user sid.
Andrew Bartlett
(This used to be commit 273cb8fd42)
2007-10-10 13:51:57 -05:00
Andrew Bartlett
358122c688 r13479: Return the joined domain SID and user SID as structures, not strings.
Andrew Bartlett
(This used to be commit e1de45bce4)
2007-10-10 13:51:55 -05:00
Andrew Bartlett
7546864a78 r13404: Comments, whitespace.
Andrew Bartlett
(This used to be commit 04e2fe8b6d)
2007-10-10 13:51:53 -05:00
Andrew Bartlett
5cecce1761 r13402: Make Samba4 pass a nastier RPC-SCHANNEL test.
The new RPC-SCHANNEL test shows that the full credentials state must
be kept in some shared memory, for some length of time.  In
particular, clients will reconnect with SCHANNEL (after loosing all
connections) and expect that the credentials chain will remain in the
same place.

To achive this, we do the server-side crypto in a transaction,
including the fetch/store of the shared state.

Andrew Bartlett
(This used to be commit 982a6aa871)
2007-10-10 13:51:53 -05:00
Andrew Bartlett
d32b14c2bc r13381: Test the SamLogonEx SamLogon call in the schannel test. This is only
available under schannel, and performs a netlogon authentication.

Andrew Bartlett
(This used to be commit 561a690915)
2007-10-10 13:51:51 -05:00
Andrew Bartlett
e45ce50a61 r13380: Drop the socket, then try SAMR operations secured with netlogon on the new socket.
We should also test netlogon operations, but there are issues with
what state is expected to be stored (far more than we currently do).

Andrew Bartlett
(This used to be commit 39ddba0d0d)
2007-10-10 13:51:51 -05:00
James Peach
716b0ee234 r13373: Implement the -p option for smbtorture.
(This used to be commit fc17a50b48)
2007-10-10 13:51:51 -05:00
Jeremy Allison
2b163e64f5 r13370: Added deltest21 - pull the rug out from a connection by socket
close after setting delete on close flag.
Jeremy.
(This used to be commit fbea18e78f)
2007-10-10 13:51:50 -05:00
Stefan Metzmacher
1a53c1dc92 r13346: use private proto header files for the torture tests
metze
(This used to be commit 67837dbd2b)
2007-10-10 13:51:47 -05:00
Jeremy Allison
71a43967de r13297: It's a good thing the shipment of function headers tridge
sent me arrived on time... :-).
Refactor this code to make it comprehensible. Tested
against W2K3 SP 1 and W2K SP 4. Test 19 is different
from what I thought. Turns out delete on close on
"open" of a directory (not create) does have an
effect - even if not reported in the flag bit.
trige please test against Vista (my XP box is
refusing to serve at the moment - have to reinstall).

Jeremy.
(This used to be commit 2b708e2618)
2007-10-10 13:51:43 -05:00
Andrew Tridgell
52f023d4de r13277: print a useful error message when test 17 fails
(This used to be commit 70ad98b051)
2007-10-10 13:51:41 -05:00
Jeremy Allison
c084da47cf r13275: With a liberal sprinkling of smb_raw_exit this
now passes for me for W2K and W2K3... booting the XP
box to test it...
Jeremy.
(This used to be commit 0133ba78c1)
2007-10-10 13:51:41 -05:00
Jeremy Allison
4e612e7d20 r13272: Re-arrange so all the normal tests we can pass come first.
Jeremy.
(This used to be commit 0b61a8df3c)
2007-10-10 13:51:41 -05:00
Jeremy Allison
1b33f040d3 r13271: Do the same tests with directories.
Jeremy.
(This used to be commit 7986af2ece)
2007-10-10 13:51:41 -05:00
Jeremy Allison
4a9d08319b r13270: Add tests for even more insane delete-on-close semantics.
Jeremy.
(This used to be commit ae0851ce66)
2007-10-10 13:51:40 -05:00
Stefan Metzmacher
57f0db3588 r13228: revert more stuff from 13208
metze
(This used to be commit 6c7065463f)
2007-10-10 13:51:36 -05:00
Jelmer Vernooij
713b296441 r13210: Revert my named pipes patch until it passes not just 'make quicktest' but
also 'make test'
(This used to be commit e3d0676aee)
2007-10-10 13:51:35 -05:00
Jelmer Vernooij
ad6303f82f r13208: Clearly separate named pipes from the IPC$ NTVFS type.
This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.

Simple tests for a custom named pipe included.
(This used to be commit 898d15acbd)
2007-10-10 13:51:34 -05:00
Jelmer Vernooij
e53f420552 r13182: Add first bits of browsing testsuite.
(This used to be commit 841fb3d4e7)
2007-10-10 13:51:32 -05:00
Jelmer Vernooij
662a58bded r13170: Remove some dependencies on -1 implying the size of pstring
(This used to be commit f7c28d3148)
2007-10-10 13:51:31 -05:00
Stefan Metzmacher
63bbc2aea6 r13035: active,special group replicas are overwritten by tombstone,special group replicas
metze
(This used to be commit cf669e4b2a)
2007-10-10 13:51:18 -05:00
Stefan Metzmacher
a920f2f9a8 r13004: fix compiler warnings
metze
(This used to be commit 833efdf8a9)
2007-10-10 13:51:16 -05:00