1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

9511 Commits

Author SHA1 Message Date
Jelmer Vernooij
4bd40183af r16516: Get rid of file_exists() as there already is a file_exist().
(This used to be commit c4b3c2b18c6df43c8a4808fab72bc45439ba9421)
2007-10-10 14:09:31 -05:00
Jelmer Vernooij
509fd041aa r16514: Fix build (not run!) of --enable-dso.
(This used to be commit cebabc7588b171f575f2193f4f6ead01b524acb2)
2007-10-10 14:09:31 -05:00
Andrew Bartlett
cb93d28e7c r16489: Because the torture/ui.h file isn't automaticly generated, the
prototypes in it need to use the PRINTF_ATTRIBUTE() macro, rather than
_PRINTF_ATTRIBUTE() (which becomes PRINTF_ATTRIBUTE() only in proto
files, but not C files).

This found a number of missing descriptions in the LOCAL-SOCKET test.

Andrew Bartlett
(This used to be commit 1009d55c8caa173e9998b38235c06b4ae4b30d80)
2007-10-10 14:09:30 -05:00
Rafal Szczesniak
240ec86942 r16476: Error in composite functions implemented the 'old way' (single event handler,
no continue functions) need to report an error by means of state only.
composite_error calls event handler function which frees the context and
state structure. This fixes a segfault in some cases (caught it on modifyuser
test).

rafal
(This used to be commit 9e800fd0cfda9e731905fc0f19781def5cdba89f)
2007-10-10 14:09:30 -05:00
Stefan Metzmacher
de2fbad4d2 r16469: do some smb2 tests
metze
(This used to be commit 1ca34c90902d71d95ea2310286a591af86804d51)
2007-10-10 14:09:30 -05:00
Stefan Metzmacher
7743106635 r16468: implement SMB2_ALL_INFORMATION in the posix backend
metze
(This used to be commit 1bce493cbc003db37e9ea94c20019990e1eb785a)
2007-10-10 14:09:30 -05:00
Stefan Metzmacher
98024a8125 r16467: implement SMB2 GetInfo server code
metze
(This used to be commit 49b5b3cd58c41b67adfbb77b4244989fba6bcd2e)
2007-10-10 14:09:30 -05:00
Stefan Metzmacher
70eac2a274 r16466: for SMB2_ALL_EAS it's not valid for the ntvfs backends to return
0 eas, they should return an error:
NO_EAS_ON_FILE or NO_MORE_EAS

metze
(This used to be commit fdefec1de99273978345d4a183a9660bd741e045)
2007-10-10 14:09:29 -05:00
Stefan Metzmacher
7bf085571e r16464: split client and server min/max protocol settings
metze
(This used to be commit 6164d1e22e0545f558315591d49f862de06ea945)
2007-10-10 14:09:29 -05:00
Stefan Metzmacher
d44c28b3a9 r16463: TORTURE_NBENCH should be a module...
thanks to jpeach!

metze
(This used to be commit fc63205e0c63b3e4767889e1a981736519d12deb)
2007-10-10 14:09:29 -05:00
Stefan Metzmacher
15de59549b r16457: fix typo
metze
(This used to be commit 049ddc8a96da7a8fb0bbf1ef652c1963e9103d9b)
2007-10-10 14:09:16 -05:00
Stefan Metzmacher
74d58ab06f r16456: return on error...
metze
(This used to be commit 44ab067d146503bd1cc008cf01c08b91fb14b204)
2007-10-10 14:09:16 -05:00
Stefan Metzmacher
2a3bcdb530 r16450: fix the build...
metze
(This used to be commit 316f3312d228a8c29185bf38c93c7f3aa1c6333e)
2007-10-10 14:09:16 -05:00
Stefan Metzmacher
23803094e5 r16449: move some code to a generic place
metze
(This used to be commit 77a711c54ae7543a26f0ace1f189d6ed580c48d9)
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
47a78861bc r16448: add more error checks
metze
(This used to be commit d6d86c65bf1835061713e0d8f2450e38455a3e1d)
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
3cd96fd4f9 r16447: print the result of talloc_set_parent()
trying to find the bug on HPUX

metze
(This used to be commit 3db6bd87158cd615a3e35009598863758099595b)
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
816c055123 r16446: talloc_set_name() allocates and can fail...
pass the error to the callers

metze
(This used to be commit 7aa07a1e0b2abd1a6ecd490410685d20c0201094)
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
3a0a00f1b9 r16445: print out values
metze
(This used to be commit 972634b2021e60b27d68b0fd6d49ef95398d92e2)
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
0f29d9fb3f r16444: - split out qfsinfo passthru levels
- use 1 to 1 mapping of interface and wire levels

metze
(This used to be commit e7d339d49669e72588461584b66ef9b19eb0a2f8)
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
2d88ade182 r16443: add push code for SMB2 levels
metze
(This used to be commit 142680ab9b4ca04ea94ed40659358e1158f88c7a)
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
ca17b875b3 r16442: if we want to use CHECK_SIZE(NULL, 3)
we need null tracking, so enable it explicit before running any tests

metze
(This used to be commit f3cd971ab70c3edee4da87b8ca38ec215c8bff49)
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
a94f2fc7e7 r16441: - give old tests a chance to report errors
- display the correct test name

metze
(This used to be commit 7d62b0b7e96222f29dd3cd6066523f517d757620)
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
1ff99ba12d r16440: split out passthru level into a new functions,
so they can we reused for smb2 later

metze
(This used to be commit 42324c1f63e2f16b27c43bf17b434c644244b931)
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
f8dc3bbf9f r16410: remove some warnings of talloc_steal() usage without target
I only commit this as this is used in a global macro

tridge: we should try to get rid of this warning without using
	(void)talloc_steal(ctx, ptr);
	everywhere!!!

metze
(This used to be commit 3f8ce6d680b0c86abc698b8f9c6d8840da3ffd35)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
1fd1e2ba58 r16407: add parsing code the SMB2 GetInfo in the server
metze
(This used to be commit c4755c83c61c0cc822c69cd274056ec20ba66fdb)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
d3b3436ce1 r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfo
metze
(This used to be commit dcc02df8297162a7fd913560194d9e821798dbe0)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
15db7a53e8 r16405: fix compiler warning of missing smb2_handle
metze
(This used to be commit 73194e9ec3d1c18e7042bdaa008c7fd503e6e534)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
818c52a6b4 r16403: remove dependency to smbsrv_request next part...
metze
(This used to be commit 708a5d3bf08f62ba99740c3007a8882e22a01bc9)
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
45c99a270e r16402: start to remove the dependecy to smbsrv_request from the parsing functions
metze
(This used to be commit e4a5e2db7f3333e7cb15bdd6eeb5b08a6f1d912f)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
7c01df4e77 r16401: keep the old pointer when realloc fails, this is needed for the
search callback

metze
(This used to be commit c868b8b7d7ee0424ed955f699543593aaa633e92)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
898f6f768f r16400: add more error checks
metze
(This used to be commit 779c51ad52bd54c10e208b108cb34500e542097f)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
59670b2f97 r16399: - split out pushing smb_fsinfo into a DATA_BLOB
- add error checks

metze
(This used to be commit 2aaca1631f4e9f312a8de506b21290b9452c2a43)
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
f03e039e88 r16357: - start get rid of void parsing functions
- there will more changes come but I want to do them in
  relative small chunks

metze
(This used to be commit d021a8b3ee986194fbfddfc096edb715b01dafe5)
2007-10-10 14:09:12 -05:00
Rafal Szczesniak
66cc0cbefc r16342: Placeholder for a function implementing NET-API-MODIFYUSER test.
rafal
(This used to be commit 82ac02dd18e96312ca15b8f79f6f1e3c330d01de)
2007-10-10 14:09:11 -05:00
Stefan Metzmacher
c93508edff r16341: newer autoconf versions export 'datarootdir',
fix a warning with old autoconf versions

metze
(This used to be commit 906c27caefa9802a72b6ea71e46e0725e445d189)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
845df42a19 r16333: Move more code out of the core smbtorture. It now no longer
contains protocol-specific code.
(This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
835d8ed2f6 r16332: Fix two small bugs found by the buildfarm.
(This used to be commit 3decb34bb607b83f72deaa4baca935f4f253e2f2)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
a3545383fb r16331: Split out registering of multi fn tests, fix typo in name of pac suite.
(This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
e4684e6632 r16330: Show number of succeeded, failed and skipped tests and success rate at the
end of a smbtorture run.
(This used to be commit 745f3d544bb1158c7c0001d36181916cd932bc08)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
0f62c11199 r16329: Convert to new UI API.
(This used to be commit c7d1d86853eb659ee4a5cbfb4ff65b31f6fe0375)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
920c1ca95c r16328: Wrap all existing tests in simple single-function testsuites.
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
5b7ee5e7d6 r16321: Add suite_start/suite_finish hooks, support --format=quiet
(This used to be commit 6da39533d77f686b26787bebfe9e3db4bb8c740d)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
324583b28f r16316: Convert to new torture UI API.
(This used to be commit ff87504c41e76a14b95a2063a4eb62d96fb02127)
2007-10-10 14:09:10 -05:00
Jelmer Vernooij
69270cfff6 r16315: Convert to new API.
(This used to be commit 0e52a831ed88b5d61033aee56a17e49b84df6773)
2007-10-10 14:09:09 -05:00
Jelmer Vernooij
582d46ec42 r16304: Improve testing UI API. This now allows registering the full
test suite tree, looks a bit more like other unit testing API's,
fixes some memory responsibility issues, introduces testcases,
and removes the need for tests to call torture_ok().
(This used to be commit 0445b1a56a02552f895f400960b9ced39244a144)
2007-10-10 14:09:09 -05:00
Andrew Bartlett
cc9d70bbba r16265: Fix 'newuser' command.
Andrew Bartlett
(This used to be commit 82f5f6c03d005741613c5b00705613c4078c844e)
2007-10-10 14:09:09 -05:00
Andrew Bartlett
f77c410084 r16264: Add, but do not yet enable, the partitions module.
This required changes to the rootDSE module, to allow registration of
partitions.  In doing so I renamed the 'register' operation to
'register_control' and 'register_partition', which changed a few more
modules.

Due to the behaviour of certain LDAP servers, we create the baseDN
entry in two parts: Firstly, we allow the admin to export a simple
LDIF file to add to their server.  Then we perform a modify to add the
remaining attributes.

To delete all users in partitions, we must now search and delete all
objects in the partition, rather than a simple search from the root.
Against LDAP, this might not delete all objects, so we allow this to
fail.

In testing, we found that the 'Domain Controllers' container was
misnamed, and should be 'CN=', rather than 'OU='.

To avoid the Templates being found in default searches, they have been
moved to CN=Templates from CN=Templates,${BASEDN}.

Andrew Bartlett
(This used to be commit b49a4fbb57f10726bd288fdc9fc95c0cbbe9094a)
2007-10-10 14:09:09 -05:00
Andrew Bartlett
6959f2a061 r16263: A number of these searches need to be under the partitions DN, and the
other needs the default basedn.

Andrew Bartlett
(This used to be commit 42c2495683083110ec41aeab5adeee09762db3dd)
2007-10-10 14:09:08 -05:00
Andrew Bartlett
ad530af48d r16262: Another basedn fix.
Andrew Bartlett
(This used to be commit abf104a0d7c548af0a4744798c53064303a1dc3f)
2007-10-10 14:09:08 -05:00
Andrew Bartlett
4a687bc44f r16240: Add better error reporting in the password_hash module
Remove duplicate attribute in search request

Search for the domain by NDR-encoded SID, not string (consistant with
the rest of the C code, and helps partially-constructed LDAP
backends).

Use the default basedn for the domain search.

Andrew Bartlett
(This used to be commit 2f104612cd6f170dd28fd4ce09156168d47a681a)
2007-10-10 14:09:08 -05:00