1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

147 Commits

Author SHA1 Message Date
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
Andrew Tridgell
e252f80f2b r4586: RPC-LSA now passes against w2k3 2007-10-10 13:08:29 -05:00
Andrew Bartlett
518ca9fb69 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
2007-10-10 13:08:28 -05:00
Andrew Tridgell
f7d4d3db48 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.
2007-10-10 13:08:27 -05:00
Tim Potter
913630d6e4 r4471: Running 'make eparser_idl' doesn't need --header anymore. 2007-10-10 13:07:55 -05:00
Andrew Tridgell
73c3cdc8ed r4462: - enable DSSETUP on ncalrpc
- add DSSETUP to the list of tests run in test_rpc.sh
2007-10-10 13:07:53 -05:00
Andrew Bartlett
d901c8fb64 r4400: Pass rootdse.ldif past the subst code.
Andrew Bartlett
2007-10-10 13:07:43 -05:00
Jelmer Vernooij
3ebaec6edb r4396: Generate newrootdse.ldb in provision.pl as well 2007-10-10 13:07:42 -05:00
Jelmer Vernooij
fa53c56236 r4395: Generate "newhklm.ldb" using provision.pl 2007-10-10 13:07:42 -05:00
Andrew Bartlett
9ccb2a39c3 r4354: The ldb databases do not go in lib/private, but in private/ under PREFIX
Andrew Bartlett
2007-10-10 13:07:37 -05:00
Andrew Tridgell
7c09a3ea58 r4319: make it easy to use valgrind in the test_posix.sh test suite 2007-10-10 13:07:34 -05:00
Andrew Tridgell
57d0079bb9 r4050: make sure we add objectClass and sAMAccountName 2007-10-10 13:06:18 -05:00
Andrew Tridgell
76f2ae3204 r4049: a simple perl script to add a new user to Samba4 ldb 2007-10-10 13:06:18 -05:00
Jelmer Vernooij
a00bda88e1 r3861: - Put ndr and rpc client code in seperate files
- Add some const
2007-10-10 13:05:58 -05:00
Andrew Tridgell
2e19edaa4e r3834: - fixed XATTR_NTACL_NAME
- pvfs now passes RAW-ACLS
2007-10-10 13:05:58 -05:00
Andrew Tridgell
c1a48a7542 r3799: - added the bit for FS_ATTR_NAMED_STREAMS support into qfsinfo filesystem attribute reply
- pvfs passes the RAW-STREAMS test
2007-10-10 13:05:55 -05:00
Jelmer Vernooij
3c436590ae 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.
2007-10-10 13:05:53 -05:00
Andrew Tridgell
d288a0d4a1 r3748: pvfs passes RAW-EAS but not RAW-STREAMS yet 2007-10-10 13:05:50 -05:00
Andrew Tridgell
3ab8136431 r3719: pvfs now passes the RAW-RENAME test 2007-10-10 13:05:46 -05:00
Andrew Tridgell
7f3315d919 r3700: pvfs passes RAW-WRITE but not BASE-DELAYWRITE 2007-10-10 13:05:45 -05:00
Andrew Tridgell
f0760858f8 r3698: mark RAW-SFILEINFO as working 2007-10-10 13:05:45 -05:00