1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-29 04:23:51 +03:00
Commit Graph

167 Commits

Author SHA1 Message Date
Andrew Tridgell
e54b31904c r6986: added support for <% include("somefile.ejs") %> for including common scripts 2007-10-10 13:17:02 -05:00
Andrew Tridgell
31543e1eae r6982: install the swat pages with 'make installswat' 2007-10-10 13:17:02 -05:00
Jelmer Vernooij
7b6b8d6b34 r6961: Add RPC-WINREG to list of win2k3 tests
Fix bug in test for QueryMultipleValues
Ignore errors from CreateKey() and GetKeySecurity() for now
2007-10-10 13:17:00 -05:00
Stefan Metzmacher
76c930ceee r6922: remove bad file...
metze
2007-10-10 13:16:56 -05:00
Stefan Metzmacher
a7c915be3e r6921: preparing for cherry picking merging 2007-10-10 13:16:56 -05:00
Stefan Metzmacher
7feddfb5d2 r6920: display the SVN revision in svk build of tree's directly mirrored from samba.org
metze
2007-10-10 13:16:56 -05:00
Tim Potter
90b07c6860 r6919: Jelmer, here is my script for filtering individual binaries/subsystems/etc
out of the samba4-deps.dot file.  Use like:

script/depfilter.py regpatch < samba4-deps.dot | dotty -

and then scratch your head and wonder why regpatch has to link with 3/4
of what it does.
2007-10-10 13:16:56 -05:00
Andrew Tridgell
b64936b9a9 r6877: added CLDAP testing to test_ldap.sh 2007-10-10 13:16:53 -05:00
Jelmer Vernooij
7004f9515b r6862: Add some more tests
Accept new command-line options --keep, --outputdir and --idl-compiler.

We're currently at 34 IDL tests (...and counting)
2007-10-10 13:16:52 -05:00
Jelmer Vernooij
7d36e27e22 r6860: Add some allocation and alignment tests, remove uint64 from list of scalars
(it doesn't have any push/pull functions anymore either)
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
077f4105ac r6859: Add ndr_align tests, use environment variables ($CC, $CFLAGS, $LDFLAGS)
where possible.
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
187802f580 r6857: - Support [public] on functions
- Add some more pidl tests based on ref_notes.txt

We currently fail some tests because we don't default to "ref"
for top-level pointers at the moment. We also fail some of the multi-level
tests.
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
a5aa61f54e r6854: Add --quiet option to pidl
Some work on a testsuite for pidl, including one simple test.
2007-10-10 13:16:51 -05:00
Andrew Tridgell
a33a424d5b r6852: implement an idea from kinkie to make the 'make test' target automatically kill smbd
when finished, using a fifo

this makes 'make test' much safer for build farm usage
2007-10-10 13:16:51 -05:00
Andrew Bartlett
db0aa1c4b7 r6598: Make it easy to point the test_echo.sh at remote servers, without
trying to find it on ncaclrpc at well.

Andrew Bartlett
2007-10-10 13:16:29 -05:00
Jelmer Vernooij
6d93fcc407 r6577: Make test works without installation now.
Running as a non-root user using socket_wrapper is possible by simple
export SOCKET_WRAPPER_DIR before running 'make test'
2007-10-10 13:16:27 -05:00
Jelmer Vernooij
02160c991a r6568: Some more small 'make test' fixes 2007-10-10 13:16:26 -05:00
Jelmer Vernooij
195753b6af r6567: Use "real" prefix for 'make test' 2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7d2d4a57e0 r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
2007-10-10 13:16:26 -05:00
Andrew Tridgell
e2f5d36e47 r6549: a simple ldap test script 2007-10-10 13:16:25 -05:00
Andrew Bartlett
b35b82d4f1 r6456: The RPC-SCHANNEL test is an important test that passes against Win2k3 (well, not SP1, but we are working on that detail).
Andrew Bartlett
2007-10-10 13:11:38 -05:00
Stefan Metzmacher
ccedfc9fe7 r6353: we need the english output from the svn commands
metze
2007-10-10 13:11:34 -05:00
Stefan Metzmacher
c35887ca64 r6207: - clean up source topdir
- move provision stuff to setup/
- remove unused scripts

metze
2007-10-10 13:11:26 -05:00
Richard Sharpe
9b4069e845 r6118: Make it so that we can do --with-zlib=no in configure and also a couple
of small typos.
2007-10-10 13:11:20 -05:00
Andrew Bartlett
5c3e4df804 r6010: Change the testing order, so we test all transports for each binding
option, rather than all binding options for each transport.

This means that we get to most of the tests earlier, with at least
some binding options.  (And allows us to have some confidence before
waiting for an RPC-SAMR test to finish with bigendian).

Andrew Bartlett
2007-10-10 13:11:14 -05:00
Andrew Bartlett
d585e1a759 r5901: Add another option to the test script - the realm, which must match
the real ream, not just the short domain name.

Andrew Bartlett
2007-10-10 13:11:07 -05:00
Jelmer Vernooij
71fd3e5c3a r5490: The big (D)COM commit! :-) Contains most of the changes described in the
DCOM paper in lorikeet. This is the result of 1.5 months work (mainly
figuring out how things *really* work) at the end of 2004.

In general:
- Clearer distinction between COM and DCOM. DCOM is now merely
  the glue between DCE/RPC+ORPC and COM. COM can also work without
  DCOM now. This makes the code a lot clearer.
- Clearer distinction between NDR and DCOM. Before, NDR had a couple of
  "if"s to cope with DCOM, which are now gone.
- Use "real" arguments rather then structures for function arguments in
  COM, mainly because most of these calls are local so packing/unpacking
  data for every call is too much overhead (both speed- and code-wise)
- Support several mechanisms to load class objects:
  - from memory (e.g. part of the current executable, registered at start-up)
  - from shared object files
  - remotely
- Most things are now also named COM rather then DCOM because that's what it
  really is. After an object is created, it no longer matters whether it
  was created locally or remotely.

There is a very simple example class that contains
both a class factory and a class that implements the IStream interface.
It can be tested (locally only, remotely is broken at the moment)
by running the COM-SIMPLE smbtorture test.

Still to-do:
 - Autogenerate parts of the class implementation code (using the coclass definitions in IDL)
 - Test server-side
 - Implement some of the common classes, add definitions for common interfaces.
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
a339765d99 r5479: Add ODL input support.
The ODL module can convert an ODL structure to an IDL structure so that:
 - The COM subsystem can use the ODL structure
 - The DCE/RPC subsystem can use the IDL structure
2007-10-10 13:10:49 -05:00
Andrew Tridgell
2b62840920 r5384: for RPC-NETLOGON to pass we need to set the realm as well as the domain to the target
realm.

A better fix would be to have a dcerpc_server_realm() helper
function. Andrew, maybe you could see how to extract that out of
gensec? Calling lp_realm() in our torture tests is the wrong approach
I think.
2007-10-10 13:09:49 -05:00
Andrew Tridgell
348a5f1d4d r5321: added a program that works out the minimal set of #include lines
needed for a C file in Samba. It tries compiling without each #include
line in turn, and looks for any changes in the compiler output.

Note that the output is not guaranteed correct, it might be that an
include is needed onlyu on some platforms. To cope with this, it
doesn't consider lines with the word "needed" on them. So add a
comment like this:

#include "foo.h" /* needed by systems without kerberos */

and it will know to skip it

It also skips any include lines in a #if section.

If you are brave, you can give it the option --remove and it will
remove lines it thinks are not needed. Please review carefully before
committing the results, and watch the build farm for breakage.
2007-10-10 13:09:41 -05:00
Alexander Bokovoy
0c96cc8bab r5173: Refer to a proper zone file name in resulting message 2007-10-10 13:09:29 -05:00
Alexander Bokovoy
f4fc885c14 r5169: As provisioning script generates everything under $newdb/ directory, put generated domain zone there as well 2007-10-10 13:09:28 -05:00
Tim Potter
7ba9f329aa r5087: Add --swig to pidl flags so that swig .i files are generated with
make idl.
2007-10-10 13:09:21 -05:00
Andrew Tridgell
9aa5b07696 r5048: made the provision.pl script much less error prone (you don't need to
rename a bunch of files)
2007-10-10 13:09:17 -05:00
Tim Potter
5ec9fad5cf r5033: Remove --with-eparserdir configure option and eparser_idl make target.
This is all done in the lorikeet/ethereal Makefile now.
2007-10-10 13:09:14 -05:00
Tim Potter
df35f1debf r5026: Don't build the swig stuff by default until it's a bit more stable. 2007-10-10 13:09:14 -05:00
Tim Potter
c252a286ef r5019: Some tweaks to building the swig .i files. 2007-10-10 13:09:14 -05:00
Andrew Tridgell
21e629e80e r4953: - enable easy valgrind use in all our test scripts
- when valgrind isn't set, then setup MALLOC_CHECK_ to abort on error
2007-10-10 13:09:09 -05:00
Andrew Tridgell
480a4e3d90 r4833: added LOCAL-SOCKET to the list of tests that are expected to pass 2007-10-10 13:08:59 -05:00
Stefan Metzmacher
d149063562 r4806: - add some data to the configuration naming context
- add some stuff to make w2k3 dc join to get the correct
  values

metze
2007-10-10 13:08:57 -05:00
Simo Sorce
e2c1ee1dd8 r4785: add schema objects to provision
but let schema checking be disabled by default until we can pass all test with it enabled
2007-10-10 13:08:54 -05:00
Andrew Bartlett
feca96fe5a r4763: Join Samba4 to itself during the provision process.
Andrew Bartlett
2007-10-10 13:08:51 -05:00
Andrew Tridgell
31919995fd r4748: removed unnecessary distinguishedName from provisioning 2007-10-10 13:08:49 -05:00
Andrew Bartlett
279e4de307 r4693: Add another test (RPC-MULTIBIND) that should always pass.
Andrew Bartlett
2007-10-10 13:08:44 -05:00
Andrew Bartlett
ded3303352 r4682: A LDB-based secrets implementation in Samba4.
This uses LDB (a local secrets.ldb and the global samdb) to fill out
the secrets from an LSA perspective.

Some small changes to come, but the bulk of the work is now done.

A re-provision is required after this change.

Andrew Bartlett
2007-10-10 13:08:42 -05:00
Andrew Tridgell
69ffbd4ced r4664: SPNEGO auth in our rpc server now works, so add it to the battery of
tests in test_rpc.sh
2007-10-10 13:08:40 -05:00
Andrew Tridgell
153e068711 r4643: RPC-ALTERCONTEXT now passes 2007-10-10 13:08:38 -05:00
Andrew Tridgell
4f30220a5a r4632: added spnego testing and no-auth testing in test_w2k3.sh 2007-10-10 13:08:36 -05:00
Tim Potter
d39cb7ecb4 r4599: Remove some duplicated code in pidl.pl.
Start working on adding support for bitmaps and enums.

In progress tweaks for arrays of structures.
2007-10-10 13:08:32 -05:00
Andrew Bartlett
07295b3b07 r4594: Add more testes to the standard 'passes against win2k3' script.
Andrew Bartlett
2007-10-10 13:08:31 -05:00