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

9650 Commits

Author SHA1 Message Date
Stefan Metzmacher
7e04c0032b r16951: add the year to the copyright...
metze
(This used to be commit 97157d5c4a)
2007-10-10 14:10:03 -05:00
Stefan Metzmacher
3b36a85798 r16950: remove the smb mid from the ntvfs layer and keep a list of pending
requests on the smbsrv_connection, to be able to match then on
ntcancel

metze
(This used to be commit 04f0d3d031)
2007-10-10 14:10:02 -05:00
Stefan Metzmacher
d89b4adf7a r16949: add and fix some NOTIFY return codes
metze
(This used to be commit e40d62363c)
2007-10-10 14:10:02 -05:00
Andrew Bartlett
43f6d7d189 r16938: Fix breakage of TDB on VOS (declaration after statement)
Andrew Bartlett
(This used to be commit d0ed7cd241)
2007-10-10 14:10:02 -05:00
Andrew Bartlett
e29e30d068 r16937: Add const, to make it clear that it is invalid to talloc_free() the DN
at this point.

Andrew Bartlett
(This used to be commit f7fb168ab6)
2007-10-10 14:10:02 -05:00
Andrew Bartlett
8d62a6ba2c r16936: Correct comment in this comparison function
Andrew Bartlett
(This used to be commit d64987a288)
2007-10-10 14:10:02 -05:00
Andrew Bartlett
30c1716eda r16934: Expand the ldb test to demonstrate partition behaviour, including the
global USN and global transactions.

Andrew Bartlett
(This used to be commit 5abe3c4f5f)
2007-10-10 14:10:01 -05:00
Andrew Bartlett
fdbbabe602 r16933: Sort the partitions in order from most, to least specific.
Remember to perform operations on the base database as well.

Andrew Bartlett
(This used to be commit eae232530c)
2007-10-10 14:10:01 -05:00
Andrew Bartlett
2caa112ae4 r16932: Consistanly use the macro for these DNs and attributes.
Andrew Bartlett
(This used to be commit dd6ca33422)
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
54fba07f01 r16923: remove unused substitude code
metze
(This used to be commit ea88c8c99e)
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
ec2b3baf09 r16922: move some macros out of talloc.h as the don't belong to talloc
metze
(This used to be commit 4c68e315e2)
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
5468516f9a r16918: the SMB2 Ioctls are sometimes called with a wildcard handle
the operation doesn't need a valid file handle in that case

metze
(This used to be commit d41a83d559)
2007-10-10 14:10:00 -05:00
Andrew Bartlett
fabc6ae74d r16917: Fix compile errors found by the testing of tdb on the build farm.
Andrew Bartlett
(This used to be commit a6e0846d9b)
2007-10-10 14:10:00 -05:00
Andrew Bartlett
35fda6c5f3 r16916: Implement metze's proposed changes to the tdb logging API.
This clearly links the log function with its private pointer, and
makes the argument list for tdb_open_ex a bit shorter.

Andrew Bartlett
(This used to be commit 5d5503e8d8)
2007-10-10 14:09:59 -05:00
Andrew Bartlett
bfc02627ce r16914: Add more tests for the partition module.
Andrew Bartlett
(This used to be commit 2728b60dfa)
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
41992489d2 r16913: better return the same values as vista beta2
metze
(This used to be commit ae9c007324)
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
ac857dcfed r16912: I messed up the numbers for ipc and print shares...
This caused vista beta2 to not do any rpc calls
against samba4

metze
(This used to be commit b42d918d56)
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
29f3389fc0 r16911: the TID is only 32 bits...don't overwrite parts of the UID field
metze
(This used to be commit 7db393e5ea)
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
627f49d8c9 r16910: - don't search the wildcard handle
(a handle with all bits set to 1 is justed for some
   SMB2 Ioctl calls...)
- don't crash if we didn't find the tcon

metze
(This used to be commit 27087818c7)
2007-10-10 14:09:58 -05:00
Volker Lendecke
70b5c605c0 r16909: Change torture_open_connection to look at torture:unclist.
Volker
(This used to be commit 3413ad5c31)
2007-10-10 14:09:58 -05:00
Andrew Bartlett
977e44c556 r16908: Set an error string if we can't find a backend for an operation.
Andrew Bartlett
(This used to be commit 6a8c9af9ba)
2007-10-10 14:09:58 -05:00
Volker Lendecke
b7c5bc522b r16907: Add an index parameter to torture_open_connection. Next step is to enable the
unclist parameter for all tests that do two connections, to enable cluster
testing.

Volker
(This used to be commit a5d6db0924)
2007-10-10 14:09:58 -05:00
Rafal Szczesniak
56bb8f4062 r16900: Nicer display of the test results.
rafal
(This used to be commit bb0e9297b2)
2007-10-10 14:09:58 -05:00
Rafal Szczesniak
82f1374d2b r16897: Don't pass allocated buffer for returned string as the lookup
function allocates it using memory context.
Also, give nicer output of the result of lookup performed.

rafal
(This used to be commit 1bd5661258)
2007-10-10 14:09:57 -05:00
Rafal Szczesniak
304c8fbfbe r16896: Allow to use both binding and unc string to specify host name
being looked up.

rafal
(This used to be commit e597e9867f)
2007-10-10 14:09:57 -05:00
Rafal Szczesniak
861ec81048 r16895: Add continue function and prevent from segfaulting (or unpredictable
behaviour) if composite context returned from _send function was NULL.

rafal
(This used to be commit d9fce228d0)
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
ee89812758 r16891: test dcerpc over smb2
metze
(This used to be commit 2fd7a5fc61)
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
810df68c23 r16890: implement DCERPC over SMB2 in the IPC backend
metze
(This used to be commit 5338699d0c)
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
eb75ecbccf r16889: implement SMB2 Ioctl in the frontend
metze
(This used to be commit 90b0ae53e4)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
48e6c11956 r16877: run SMB2-FIND test
metze
(This used to be commit 8edbd9b05b)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
42248766d4 r16876: implement SMB2 Find in the posix ntvfs backend
metze
(This used to be commit 4f1afda488)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
a3797ff66a r16875: implement SMB2 Find in the frontend
metze
(This used to be commit 58bed7322c)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
1fcd8c8a90 r16874: query all information
metze
(This used to be commit 0ff9c57757)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
7c810db7da r16873: - grow the buffer with the correct size, we maybe had 1 byte preallocated
- body_size doesn't contain the preallocated byte so don't remove it

metze
(This used to be commit 3cf50e26b7)
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
e8b61d7cc8 r16872: when we know the data length we can preallocate the buffer
and avoid a realloc

metze
(This used to be commit 51d59d23a1)
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
bb158b74da r16871: zero padding bytes
(found by valgrind)

metze
(This used to be commit 283bec8295)
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
f0f7070ad7 r16870: copy over the status from the ntvfs request to the smb2 request
so that smb2srv_setup_reply() doesn't push uninitialized data
(found by valgrind)

metze
(This used to be commit 1a1fd2747d)
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
cf901ad491 r16869: - if we know the blob length, we can preallocated the memory
and avoid a realloc in smb2_push_*
- don't overwrite the first data byte

metze
(This used to be commit 7761a2a595)
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
1b45214f31 r16868: init some uninitialized values
(found by valgrind)

metze
(This used to be commit 1bb60b5be4)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
0f215e9947 r16860: Fix (and reactivate) the RPC-SAMR test. We need to allow these sids
to be created as foreign, even if they are in a local domain.

Also we do need the user to exist for the life of the test, as we add
it to a group.

Andrew Bartlett
(This used to be commit ae470ff701)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
6abc3e05b1 r16858: The RPC-SAMR-PASSWORDS test now passes.
Andrew Bartlett
(This used to be commit 8b34bb2689)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
bc3d68af6d r16854: Fix the RPC-SAMR-PASSWORDS test. It failed because we allocated users
in the Builtin domain a SID from the global domain.

Andrew Bartlett
(This used to be commit 9d31b9f047)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
f596c0a4ec r16852: I thought we passed RPC-SAMR-PASSWORDS, but we don't. Disable that
test for now.

Andrew Bartlett
(This used to be commit 9748c3a2f0)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
5768d1298f r16851: Put a clue in as to which domain might have failed, due to the length
of this test.

Andrew Bartlett
(This used to be commit b4d75f01d9)
2007-10-10 14:09:53 -05:00
Andrew Bartlett
90b744247f r16850: Disable NBT-WINSREPLICATION-OWNED until it always passes (currently it still has intermittant failures).
Andrew Bartlett
(This used to be commit 845da45117)
2007-10-10 14:09:53 -05:00
Andrew Bartlett
ba968d6684 r16847: Add the parts of the SAMR test that pass back into 'make test'.
I still need to figure out what causes the rest to fail...

Andrew Bartlett
(This used to be commit aa34bd46cb)
2007-10-10 14:09:53 -05:00
Andrew Bartlett
1d2b6e8712 r16846: Try not to segfault if the domain SID isn't there, or the search
failed.

Andrew Bartlett
(This used to be commit 5d5d49374f)
2007-10-10 14:09:52 -05:00
Jeremy Allison
ec3be5b908 r16843: Confirm that openX uses the same mapping table as getatr.
Jeremy.
(This used to be commit 1c84e57e71)
2007-10-10 14:09:52 -05:00
Volker Lendecke
a5cbc9a01c r16842: Jeremy, I almost don't dare checking this in.....
Volker
(This used to be commit ec36c49c08)
2007-10-10 14:09:50 -05:00
Jelmer Vernooij
4979fd60b6 r16838: Allow compilation by midl. Patch by andrzej.hajda@wp.pl
(This used to be commit 9e38cc9f3f)
2007-10-10 14:09:49 -05:00