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

147 Commits

Author SHA1 Message Date
Andrew Bartlett
20d7577c0a 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
(This used to be commit b35b82d4f1)
2007-10-10 13:11:38 -05:00
Stefan Metzmacher
b089a28cb7 r6353: we need the english output from the svn commands
metze
(This used to be commit ccedfc9fe7)
2007-10-10 13:11:34 -05:00
Stefan Metzmacher
cf52d62ec9 r6207: - clean up source topdir
- move provision stuff to setup/
- remove unused scripts

metze
(This used to be commit c35887ca64)
2007-10-10 13:11:26 -05:00
Richard Sharpe
da38166904 r6118: Make it so that we can do --with-zlib=no in configure and also a couple
of small typos.
(This used to be commit 9b4069e845)
2007-10-10 13:11:20 -05:00
Andrew Bartlett
44484c7861 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
(This used to be commit 5c3e4df804)
2007-10-10 13:11:14 -05:00
Andrew Bartlett
4037a7e80c r5901: Add another option to the test script - the realm, which must match
the real ream, not just the short domain name.

Andrew Bartlett
(This used to be commit d585e1a759)
2007-10-10 13:11:07 -05:00
Jelmer Vernooij
80d3047333 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.
(This used to be commit 71fd3e5c3a)
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
7e400d38ec 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
(This used to be commit a339765d99)
2007-10-10 13:10:49 -05:00
Andrew Tridgell
77cb8cd795 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.
(This used to be commit 2b62840920)
2007-10-10 13:09:49 -05:00
Andrew Tridgell
ecbde2c1c6 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.
(This used to be commit 348a5f1d4d)
2007-10-10 13:09:41 -05:00
Alexander Bokovoy
1774b36c14 r5173: Refer to a proper zone file name in resulting message
(This used to be commit 0c96cc8bab)
2007-10-10 13:09:29 -05:00
Alexander Bokovoy
578b6e5567 r5169: As provisioning script generates everything under $newdb/ directory, put generated domain zone there as well
(This used to be commit f4fc885c14)
2007-10-10 13:09:28 -05:00
Tim Potter
7d43a2bdfe r5087: Add --swig to pidl flags so that swig .i files are generated with
make idl.
(This used to be commit 7ba9f329aa)
2007-10-10 13:09:21 -05:00
Andrew Tridgell
c72131926d r5048: made the provision.pl script much less error prone (you don't need to
rename a bunch of files)
(This used to be commit 9aa5b07696)
2007-10-10 13:09:17 -05:00
Tim Potter
00169404ed r5033: Remove --with-eparserdir configure option and eparser_idl make target.
This is all done in the lorikeet/ethereal Makefile now.
(This used to be commit 5ec9fad5cf)
2007-10-10 13:09:14 -05:00
Tim Potter
37957ea3eb r5026: Don't build the swig stuff by default until it's a bit more stable.
(This used to be commit df35f1debf)
2007-10-10 13:09:14 -05:00
Tim Potter
28a3ccf9af r5019: Some tweaks to building the swig .i files.
(This used to be commit c252a286ef)
2007-10-10 13:09:14 -05:00
Andrew Tridgell
9c2c819b53 r4953: - enable easy valgrind use in all our test scripts
- when valgrind isn't set, then setup MALLOC_CHECK_ to abort on error
(This used to be commit 21e629e80e)
2007-10-10 13:09:09 -05:00
Andrew Tridgell
d04e3bcca6 r4833: added LOCAL-SOCKET to the list of tests that are expected to pass
(This used to be commit 480a4e3d90)
2007-10-10 13:08:59 -05:00
Stefan Metzmacher
b494d95e6d r4806: - add some data to the configuration naming context
- add some stuff to make w2k3 dc join to get the correct
  values

metze
(This used to be commit d149063562)
2007-10-10 13:08:57 -05:00
Simo Sorce
8a153e5ca2 r4785: add schema objects to provision
but let schema checking be disabled by default until we can pass all test with it enabled
(This used to be commit e2c1ee1dd8)
2007-10-10 13:08:54 -05:00
Andrew Bartlett
dae67d2f0b r4763: Join Samba4 to itself during the provision process.
Andrew Bartlett
(This used to be commit feca96fe5a)
2007-10-10 13:08:51 -05:00
Andrew Tridgell
f4e29ae1e9 r4748: removed unnecessary distinguishedName from provisioning
(This used to be commit 31919995fd)
2007-10-10 13:08:49 -05:00
Andrew Bartlett
91f70398df r4693: Add another test (RPC-MULTIBIND) that should always pass.
Andrew Bartlett
(This used to be commit 279e4de307)
2007-10-10 13:08:44 -05:00
Andrew Bartlett
a249198d53 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
(This used to be commit ded3303352)
2007-10-10 13:08:42 -05:00
Andrew Tridgell
a36f456adf r4664: SPNEGO auth in our rpc server now works, so add it to the battery of
tests in test_rpc.sh
(This used to be commit 69ffbd4ced)
2007-10-10 13:08:40 -05:00
Andrew Tridgell
8de979d313 r4643: RPC-ALTERCONTEXT now passes
(This used to be commit 153e068711)
2007-10-10 13:08:38 -05:00
Andrew Tridgell
d45e54ea57 r4632: added spnego testing and no-auth testing in test_w2k3.sh
(This used to be commit 4f30220a5a)
2007-10-10 13:08:36 -05:00
Tim Potter
0ee9f4d6e1 r4599: Remove some duplicated code in pidl.pl.
Start working on adding support for bitmaps and enums.

In progress tweaks for arrays of structures.
(This used to be commit d39cb7ecb4)
2007-10-10 13:08:32 -05:00
Andrew Bartlett
eccbbd70b0 r4594: Add more testes to the standard 'passes against win2k3' script.
Andrew Bartlett
(This used to be commit 07295b3b07)
2007-10-10 13:08:31 -05:00
Andrew Tridgell
b3d59e578d r4586: RPC-LSA now passes against w2k3
(This used to be commit e252f80f2b)
2007-10-10 13:08:29 -05:00
Andrew Bartlett
56df264cf8 r4566: Fix Samba4 to pass it's own RPC-SAMLOGON torture test.
Include RPC-SAMLOGON in the list of tests expected to pass

Remove silly extra loops from the RPC-SAMLOGON test, which mostly just
slowed htings down.

Andrew Bartlett
(This used to be commit 518ca9fb69)
2007-10-10 13:08:28 -05:00
Andrew Tridgell
365d9ef73d r4560: - fixed crash bugs in the RPC-SCHANNEL and RPC-NETLOGON tests
- disabled the async netlogon tests for now until we better understand async rpc

- added a test_w2k3.sh script that runs rpc tests that a w2k3 DC
  should pass. This is useful for regression testing when PIDL changes
  are made.
(This used to be commit f7d4d3db48)
2007-10-10 13:08:27 -05:00
Tim Potter
b099aa9696 r4471: Running 'make eparser_idl' doesn't need --header anymore.
(This used to be commit 913630d6e4)
2007-10-10 13:07:55 -05:00
Andrew Tridgell
c8541d041f r4462: - enable DSSETUP on ncalrpc
- add DSSETUP to the list of tests run in test_rpc.sh
(This used to be commit 73c3cdc8ed)
2007-10-10 13:07:53 -05:00
Andrew Bartlett
07e1553f60 r4400: Pass rootdse.ldif past the subst code.
Andrew Bartlett
(This used to be commit d901c8fb64)
2007-10-10 13:07:43 -05:00
Jelmer Vernooij
a89f6df4a9 r4396: Generate newrootdse.ldb in provision.pl as well
(This used to be commit 3ebaec6edb)
2007-10-10 13:07:42 -05:00
Jelmer Vernooij
e3cd42615b r4395: Generate "newhklm.ldb" using provision.pl
(This used to be commit fa53c56236)
2007-10-10 13:07:42 -05:00
Andrew Bartlett
bebe512a57 r4354: The ldb databases do not go in lib/private, but in private/ under PREFIX
Andrew Bartlett
(This used to be commit 9ccb2a39c3)
2007-10-10 13:07:37 -05:00
Andrew Tridgell
73b3e7b286 r4319: make it easy to use valgrind in the test_posix.sh test suite
(This used to be commit 7c09a3ea58)
2007-10-10 13:07:34 -05:00
Andrew Tridgell
cef92d7fd5 r4050: make sure we add objectClass and sAMAccountName
(This used to be commit 57d0079bb9)
2007-10-10 13:06:18 -05:00
Andrew Tridgell
300cebcc9d r4049: a simple perl script to add a new user to Samba4 ldb
(This used to be commit 76f2ae3204)
2007-10-10 13:06:18 -05:00
Jelmer Vernooij
a0fa682faa r3861: - Put ndr and rpc client code in seperate files
- Add some const
(This used to be commit a00bda88e1)
2007-10-10 13:05:58 -05:00
Andrew Tridgell
837909e3ab r3834: - fixed XATTR_NTACL_NAME
- pvfs now passes RAW-ACLS
(This used to be commit 2e19edaa4e)
2007-10-10 13:05:58 -05:00
Andrew Tridgell
5a34ef4df6 r3799: - added the bit for FS_ATTR_NAMED_STREAMS support into qfsinfo filesystem attribute reply
- pvfs passes the RAW-STREAMS test
(This used to be commit c1a48a7542)
2007-10-10 13:05:55 -05:00
Jelmer Vernooij
46badf1908 r3790: use a registration function that is called from dcerpc_*_init functions
rather then a large table in librpc/gen_ndr/tables.c. This will allow us
to only link in only the required gen_ndr files (speeds up linking quite a
bit, makes binaries smaller).

Each gen_ndr_* file now has a init function that calls the init functions
of the interfaces it contains. I did it this way to keep pidl's code simple,
though it might hurt startup time a bit. I'd be happy to change it if
people like one function better.
(This used to be commit 3c436590ae)
2007-10-10 13:05:53 -05:00
Andrew Tridgell
0c77d8e049 r3748: pvfs passes RAW-EAS but not RAW-STREAMS yet
(This used to be commit d288a0d4a1)
2007-10-10 13:05:50 -05:00
Andrew Tridgell
263916cf71 r3719: pvfs now passes the RAW-RENAME test
(This used to be commit 3ab8136431)
2007-10-10 13:05:46 -05:00
Andrew Tridgell
62979b84cb r3700: pvfs passes RAW-WRITE but not BASE-DELAYWRITE
(This used to be commit 7f3315d919)
2007-10-10 13:05:45 -05:00
Andrew Tridgell
27859603d7 r3698: mark RAW-SFILEINFO as working
(This used to be commit f0760858f8)
2007-10-10 13:05:45 -05:00