1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

9665 Commits

Author SHA1 Message Date
Stefan Metzmacher
219a242ee8 r16982: fix compiler warning, gentest will not use any SMB2 levels...
metze
(This used to be commit db5a94ce0a1f1f3dda74ee5ecb0146bd762ded7c)
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
7cf9880d93 r16981: check the returned values
metze
(This used to be commit 687776a436ad1028f1128b279a5103aee23ece18)
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
a8958391e8 r16980: - make struct smb_notify a union and add levels RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2
- parse SMB2 Notify reponse

metze
(This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
e6b29409a2 r16979: - ntcancel should compare TID,UID,MID and PID
- don't return ntcancel error, as we don't know how signing works
  for them

metze
(This used to be commit 20311e58d512e9fcc38ce786aaecf7246d182ca4)
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
dd2d3b082c r16977: do a few more notify tests
metze
(This used to be commit 07b27333d5c3bb833d3e9fa5ee99470679a15da9)
2007-10-10 14:10:05 -05:00
Stefan Metzmacher
1e5529f9ef r16976: add a very simple SMB2-NOTIFY test
metze
(This used to be commit 9dfbb0d15e2a5b9cd90643eebedca7b830fc6e10)
2007-10-10 14:10:05 -05:00
Stefan Metzmacher
86c3e628e0 r16975: implement SMB2 Notify call in the client lib
metze
(This used to be commit a455dc7a8392230395c0e444f76a4ca13192f871)
2007-10-10 14:10:04 -05:00
Andrew Bartlett
32ab518767 r16972: Replace the sequence_number function pointer in ldb with the ldb flags.
The function pointer was meant to be unused, this patch fixes
partition.c to use ldb_sequence_number().  (No backend provided the
pointer any more).

Set the flags onto the ldb structure, so that all backends opened by
the partitions module inherit the flags.

Set the read-ony flag when accessed as the global catalog

Modify the LDAP server to track that this query is for the global
catalog (by incoming port), and set a opqaue pointer.

Next step is to read that opaque pointer in the partitions module.

Andrew Bartlett
(This used to be commit a1161cb30e4ffa09657a89e03ca85dd6efd4feba)
2007-10-10 14:10:04 -05:00
Andrew Bartlett
b1a92083d8 r16967: Test another NTLMSSP flags combination.
Andrew Bartlett
(This used to be commit 9e4eee5a2d7f44355f79ae12759df9991e7b171a)
2007-10-10 14:10:04 -05:00
Andrew Bartlett
dfe5c6a271 r16966: Fix compile warnings.
Andrew Bartlett
(This used to be commit 7b8240e8fddb49ccad61f9994e6e22e387c16a9e)
2007-10-10 14:10:04 -05:00
Andrew Bartlett
e071f4abd2 r16965: Take a better stab at comparison functions between string and binary
forms of the objectGUID and objectSID attributes.

Andrew Bartlett
(This used to be commit e7894b49b37de296320fea2e6d86052b81845e51)
2007-10-10 14:10:04 -05:00
Andrew Bartlett
795c279462 r16964: Remove extra debugs no longer required in a working KDC
Implement the 'DES only' flag.

Andrew Bartlett
(This used to be commit 9d42bb4b3d2a45da02f0525386468161494852cd)
2007-10-10 14:10:03 -05:00
Andrew Bartlett
51de50de29 r16961: Merge 'seperate policy from logic' changes from Samba3. The 56-bit
flag is handled just like all the others.

Also negotiate the unknown 0x02000000 flag, to match windows.

Andrew Bartlett
(This used to be commit 1d0befdb681ed9974d1bdff46ce56353552ee0e0)
2007-10-10 14:10:03 -05:00
Volker Lendecke
571052fec8 r16958: We also do level 1501 on NetShareGetInfo
(This used to be commit 656d8337c474374014ac681914fa761916a9bc3c)
2007-10-10 14:10:03 -05:00
Volker Lendecke
c7d7022e77 r16956: Walk some of the samba3 srvsvc code
(This used to be commit bd84fde777366899391d122e0aa5034ba0b80037)
2007-10-10 14:10:03 -05:00
Stefan Metzmacher
7e04c0032b r16951: add the year to the copyright...
metze
(This used to be commit 97157d5c4a829108f1da89b23b91a6cf87879b3a)
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 04f0d3d03179b6060fd013b867d13caa92ec6460)
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 e40d62363c2123fff37b35c1c7004e85a6786c2a)
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 d0ed7cd241e0e7889406f62fd620d8fe39d4498c)
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 f7fb168ab69e39ab3ff236bb5db4e5306a79971d)
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 d64987a2882c70669421b02aee8d75d95ce99bcb)
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 5abe3c4f5f31e369548640801435613421f2edac)
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 eae232530c967fe949355cf1914ca0cb8c0ea8c2)
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 dd6ca3342218aa25619a98d48e0efbbe31012c30)
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
54fba07f01 r16923: remove unused substitude code
metze
(This used to be commit ea88c8c99eff2203d13f9877e590d9d7f2fbb910)
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 4c68e315e2288eef97527911daf18622a994ac31)
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 d41a83d55945b07020349339888f3a34ac4eff4e)
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 a6e0846d9b5f1adc2ff137247a5c3f32746e43b5)
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 5d5503e8d8a10ead3ef21a5ffda52cadb9a07727)
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 2728b60dfa50ded03e06f0bd53eee55fce5143bd)
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 ae9c007324b04a81fd367e4e72f50275df137d46)
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 b42d918d56387a4d5dd27cc4dfc187990195d9c3)
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 7db393e5ea15dd363f83dcf5eb299f2806971f97)
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 27087818c7e8cbaadbcd640fe3b0ffc1c3455b04)
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 3413ad5c31b24d490744ad61229372ef74a707b0)
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 6a8c9af9bae8c482dfdb07114ae8313b7e35d9e9)
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 a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10 14:09:58 -05:00
Rafal Szczesniak
56bb8f4062 r16900: Nicer display of the test results.
rafal
(This used to be commit bb0e9297b2d0b25866b31937b553434a2dc6aac4)
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 1bd5661258dffc01afdb11da50f2da8f0b0b9046)
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 e597e9867f50f495a338bed05cee76ff84fd38b6)
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 d9fce228d006b702d76faebe4eb436327a7212d0)
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
ee89812758 r16891: test dcerpc over smb2
metze
(This used to be commit 2fd7a5fc6107e398bb9e399461b2b30319c7741e)
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 5338699d0cff5da9fe7f9cd622764ea5a6b0d96b)
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
eb75ecbccf r16889: implement SMB2 Ioctl in the frontend
metze
(This used to be commit 90b0ae53e40a220249b55035411e6b60ee04de7c)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
48e6c11956 r16877: run SMB2-FIND test
metze
(This used to be commit 8edbd9b05b10aeba00b50e238614ba92fd7020e3)
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 4f1afda488f2fb5cfcf98ef6a56157f954fdccfc)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
a3797ff66a r16875: implement SMB2 Find in the frontend
metze
(This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7)
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
1fcd8c8a90 r16874: query all information
metze
(This used to be commit 0ff9c5775724a4644dee10ce1476d728b515a569)
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 3cf50e26b7dc11d85c46ef81a36c74acf97085c0)
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 51d59d23a1179689bda7cd1ab8cc43de31ad4f24)
2007-10-10 14:09:55 -05:00