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

1657 Commits

Author SHA1 Message Date
Volker Lendecke
e48fd4e710 r15706: This is a very specific test that helps me in making sure I don't screw up too
badly in getting rid of set_saved_ntstatus in Samba3. If this is not the
appropriate place to put it, please tell me.

Volker
(This used to be commit cc9634d5863d8f4a5e14aa2e4411d6a3abde3b9f)
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
5a8ebb7b67 r15690: - disable the lock cancel test against samba3
- disable the LOCK_NOT_GRANTED vs. FILE_LOCK_CONFLICT test against samba3

metze
(This used to be commit 620cc182b37918dc7a0cc45dbbbbf708ad76d187)
2007-10-10 14:08:06 -05:00
Stefan Metzmacher
bd0fb90162 r15685: let samba3 pass RAW-READ and ignore one bug
this demonstrates how the target:samba3=yes option
passed in samba3's make test can be used in samba4's smbtorture

metze
(This used to be commit 856656739c8765f9591ff7982b8a708a34d4a1d1)
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
88b3ccb9de r15664: Add NET-API-DELETEUSER test for libnet_DeleteUser function.
Only the sync version right now.

rafal
(This used to be commit 7b5ebf93923fc1b33c2f3f8933a35f35f7d8a1e5)
2007-10-10 14:08:05 -05:00
Stefan Metzmacher
5ff4b74df3 r15656: for NT IOCTL's we need to control the max_data field for some calls
metze
(This used to be commit 3cab02f6f513cf7eb3d8863e62952766bb4d908f)
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
410fb90322 r15640: - NT IOCTL calls also have an 'in' data_blob
- fix the receive code of NT IOCTL's we only need the NTTRANS data payload
  not the SMB payload here

metze
(This used to be commit 358d03143f0a78344c1af720e33ebe2619df09df)
2007-10-10 14:07:25 -05:00
Stefan Metzmacher
9b6ad0c496 r15628: fix compiler warning
metze
(This used to be commit 67a1c91c2d81ba4c6919804d2190cc9d53bf842c)
2007-10-10 14:07:24 -05:00
Rafal Szczesniak
e7b1b2e79d r15626: Modify the tests to fit them in current changes in libnet
functions.

rafal
(This used to be commit 849e3eee9476100d629be318610369662a114dd0)
2007-10-10 14:07:24 -05:00
Stefan Metzmacher
2a072bf9a2 r15615: - add some tests for cancel pending locks by SMBexit, SMBulogoff and SMBtdis
- add some tests which demonstrate the LOCK_NOT_GRANTED vs. FILE_LOCK_CONFLICT
  error cases of failed locks

metze
(This used to be commit 218910f9270767a7316b344212ee305f74ac93ea)
2007-10-10 14:07:00 -05:00
Jelmer Vernooij
cbec063ed7 r15606: Fix another dependency
(This used to be commit 278ecee6adcd1d621b907ef6595daf4c5f8ebc4c)
2007-10-10 14:06:59 -05:00
Jelmer Vernooij
9ee60bc671 r15605: Yet another dependencies fix
(This used to be commit eef495a8efd8d5e8bcb42226b1885648774c5c76)
2007-10-10 14:06:59 -05:00
Jelmer Vernooij
0b069ab07e r15602: Another dependency fix
(This used to be commit 5ef6b90faedd3dc4356c0da2ce8ceb388c673b39)
2007-10-10 14:06:03 -05:00
Jelmer Vernooij
a427a9bc53 r15599: Fix more popt dependencies - these should be the last ones
(This used to be commit b26e38cb62d6180e1896a6ab1cd291b0e7900afa)
2007-10-10 14:06:03 -05:00
Jelmer Vernooij
4e23fe5c77 r15598: Another dependency fix
(This used to be commit 1f6022b11231169fe14de28f5d1ce4d3cb23d626)
2007-10-10 14:06:03 -05:00
Jelmer Vernooij
ebb9dd2b83 r15596: Fix another popt dependency issue
(This used to be commit 0f9406da20b414604b4bbfaa7f656d90521f4283)
2007-10-10 14:06:03 -05:00
Jelmer Vernooij
3c350ebb1c r15595: Fix another broken dependency rlated to popt
(This used to be commit 5dfea7e4d7b4f02d93a94c71dd2cd41100bbcff8)
2007-10-10 14:06:02 -05:00
Jelmer Vernooij
3ebaf4ca29 r15594: Remove another unused include
(This used to be commit 0c078988715744bb4cbdf210d8ac9d7782135737)
2007-10-10 14:06:02 -05:00
Rafal Szczesniak
a13f2c5d59 r15588: Fix the build of smbtorture.
rafal
(This used to be commit c4ff7aacfb97419448160af82f30f55fe8446c18)
2007-10-10 14:06:01 -05:00
Jelmer Vernooij
aa533f3ea0 r15586: Remove unused header
(This used to be commit 1ca3612255565785488a6a091dd71d48f703d5e0)
2007-10-10 14:06:00 -05:00
Jelmer Vernooij
172a83d724 r15573: Fix build of systems that have iconv headers in non-standard locations
Split of system/locale.h header from system/iconv.h

Previously, iconv wasn't being used on these systems
(This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10 14:05:58 -05:00
Stefan Metzmacher
dc86ab3e45 r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
also if the dynamic flag should be set

metze
(This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)
2007-10-10 14:05:54 -05:00
Andrew Tridgell
cf83b29b58 r15530: added testing of generic CLDAP requests, looking at the rootDSE. Jerry
has found that w2k3 does respond to rootDSE cldap requests. This test
shows that it does indeed work, but the expression handling is not
what you would expect
(This used to be commit 388e98e77cfd1603156ea431877e40ac886d9c08)
2007-10-10 14:05:54 -05:00
Stefan Metzmacher
2a8925ad25 r15507: if we change the idl, we need to change the calling code too:-)
is it possible to run the RPC-UNIXINFO test in samba4's make test?

metze
(This used to be commit a00063eeb308dae8396e3b79ed5dd7884652f1ba)
2007-10-10 14:05:43 -05:00
Andrew Bartlett
7f0a396e3b r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my head
around the mess that is composite functions...

Async might be all the rage, but it's bloody painful to debug.

Andrew Bartlett
(This used to be commit 756e1dad7ce54b83f8170db3434bfcfc4afe7e65)
2007-10-10 14:05:43 -05:00
Rafal Szczesniak
bbc6e216bd r15502: Typo fix.
rafal
(This used to be commit f076041ff16cbc3f58d0d6244fc0857b34533dda)
2007-10-10 14:05:43 -05:00
Andrew Bartlett
5f36534629 r15500: Add support for interactive prompting on bad passwords to the RPC libraries.
This support requires that the bind_ack and alter_ack recv functions
also be send the DCE/RPC fault.  This would be best done by having the
ack run as a normal RPC reply callback, but this isn't easily possible
for now.

Andrew Bartlett
(This used to be commit be6dde22fe728d64d47875699d3421c6d8d872a4)
2007-10-10 14:05:42 -05:00
Andrew Bartlett
ceb1d66172 r15499: This test can't run if the remote server won't let us open a policy handle.
Andrew Bartlett
(This used to be commit ca0ffb1218f3c2482b6b04463e627accd03d8cf9)
2007-10-10 14:05:42 -05:00
Rafal Szczesniak
9604b161ad r15456: Inspired by a short discussion with abartlet on IRC.
- create "async" parameter for smbtorture to categorise async tests
  potentially hard for windows servers
- create "num-async" parameter to specify the number of simultaneous
  async requests to be made
- move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably
  do the same for many others async tests...)

It's an interesting way to determine resources availability on windows
servers...

rafal
(This used to be commit 0d008fbea0aec279d389cff676a4319262475d17)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
a3898df957 r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
information.

rafal
(This used to be commit 76d965b0b04496ae959ba6f13d748c6dfb858591)
2007-10-10 14:05:36 -05:00
Andrew Bartlett
5f4d86f955 r15426: Implement SPNEGO as the default RPC authentication mechanism. Where
this isn't supported, fallback to NTLM.

Also, where we get a failure as 'logon failure', try and do a '3
tries' for the password, like we already do for CIFS.  (Incomplete:
needs a mapping between RPC errors and the logon failure NTSTATUS).

Because we don't yet support Kerberos sign/seal to win2k3 SP1 for
DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos
isn't demanded.

Andrew Bartlett
(This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)
2007-10-10 14:05:36 -05:00
Rafal Szczesniak
5adcc59265 r15412: Put the test in a dangerous category.
rafal
(This used to be commit 52b4ef14a02ca1c72cef2467b214518bbe32c8f6)
2007-10-10 14:05:34 -05:00
Rafal Szczesniak
b369ffd1d5 r15394: Put initial code for testing async dcerpc binding. Currently
it only tests multiple simultaneous bind requests using transport
specified in command line. It will be interesting to use various
transports at the same time and test it agains windows servers...

rafal
(This used to be commit 7e4756116e59f9a0599a80fb5ac06118817f4326)
2007-10-10 14:05:32 -05:00
Jelmer Vernooij
cf0f4ec073 r15358: Fix some compiler warnings / type safety. Found by tcc
(This used to be commit 12ba42de5886f9f4f9b1698476557e0c217d06f3)
2007-10-10 14:05:25 -05:00
Andrew Bartlett
c2cc10c786 r15356: Remove unused 'flags' argument from socket_send() and friends.
This is in preperation for making TLS a socket library.

Andrew Bartlett
(This used to be commit a312812b92f5ac7e6bd2c4af725dbbbc900d4452)
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
1f5a8f892f r15344: Fix shared library build
(This used to be commit 7113a16309a83225f3ab6ccbfe48778ae8fc52e8)
2007-10-10 14:05:21 -05:00
Jelmer Vernooij
20b3b0f2e3 r15338: Fix build of most things with shared libs enabled.
(This used to be commit 8985093d3fba90287bd739aaaa0fbfdadca2b999)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
f7c86b912d r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
(This used to be commit 4ec89bce8715f35f21fe05bb738dae13fc6c3066)
2007-10-10 14:05:18 -05:00
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 c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
b00c236906 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
(This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
620d759f49 r15298: Fix the build using a few hacks in the build system.
Recursive dependencies are now forbidden (the build system
will bail out if there are any).

I've split up auth_sam.c into auth_sam.c and sam.c. Andrew,
please rename sam.c / move its contents to whatever/wherever you think suits
best.
(This used to be commit 6646384aaf3e7fa2aa798c3e564b94b0617ec4d0)
2007-10-10 14:05:04 -05:00
Stefan Metzmacher
7a9076cba2 r15259: try to find the place that causes trouble on some build farm host
on the NBT-WINSREPLICATION-OWNED test

metze
(This used to be commit 72ae0dbaab0602d025852bfc41e06e204ff21681)
2007-10-10 14:04:27 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
a30340affe r15201: Use abs() rather then ABS()
(This used to be commit 1f3833d041fddaf79cd19d4f236780a02e97f095)
2007-10-10 14:04:16 -05:00
James Peach
6ab33938d5 r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
(This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10 14:04:14 -05:00
James Peach
4d81335115 r15131: Tidy help output. When printing the list of tests, group them by prefix
to make it easier to see what tests are available.
(This used to be commit f15010ccb37f75a4bb86306cec223093b000058e)
2007-10-10 14:04:10 -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 d298e4760c1edf49f3c935304b466ba04989c32b)
2007-10-10 14:04:10 -05:00
Volker Lendecke
cf0343dfa9 r15087: Quick stress test that does more or less what the tool "iometer" does.
Volker
(This used to be commit 6a08b192bec95cc0bbe017a2ce692afce63e047f)
2007-10-10 14:04:07 -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 88c57c8703565c4fb367b68e70030944d9f262e6)
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 a55b44b96c556c5a645b493faa8d9660e1fcda67)
2007-10-10 14:04:06 -05:00
Andrew Tridgell
c8610144f7 r15049: for really efficient oplock handling with thousands of open files we
will need a separate messaging endpoint per open file. To make this
efficient extend the messaging layer to have a new registration
function for temporary message types that maps via an idtree.

I have updated the LOCAL-MESSAGING test to use the new function.
(This used to be commit 4b976851d8b7ccd2c40010be095cef7fecf9e722)
2007-10-10 14:04:03 -05:00