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

906 Commits

Author SHA1 Message Date
Jelmer Vernooij
fe597fd1e2 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.
(This used to be commit 187802f580)
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
764d199ca1 r6854: Add --quiet option to pidl
Some work on a testsuite for pidl, including one simple test.
(This used to be commit a5aa61f54e)
2007-10-10 13:16:51 -05:00
Andrew Tridgell
aff28fa227 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
(This used to be commit a33a424d5b)
2007-10-10 13:16:51 -05:00
Andrew Bartlett
f37f8a49a7 r6598: Make it easy to point the test_echo.sh at remote servers, without
trying to find it on ncaclrpc at well.

Andrew Bartlett
(This used to be commit db0aa1c4b7)
2007-10-10 13:16:29 -05:00
Jelmer Vernooij
bd638ea71c 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'
(This used to be commit 6d93fcc407)
2007-10-10 13:16:27 -05:00
Jelmer Vernooij
34a70b80da r6568: Some more small 'make test' fixes
(This used to be commit 02160c991a)
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
d58fb60ddc r6567: Use "real" prefix for 'make test'
(This used to be commit 195753b6af)
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7fca1d46ce r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
(This used to be commit 7d2d4a57e0)
2007-10-10 13:16:26 -05:00
Andrew Tridgell
060ea52989 r6549: a simple ldap test script
(This used to be commit e2f5d36e47)
2007-10-10 13:16:25 -05:00
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
Andrew Bartlett
d1f4ba08df r3651: Add a new configure option --with-eparserdir
This allows us to call 'make eparser_idl', generate the files required
by the ethereal pidl plugin, and put them in the right place.  (See
lorikeet/ethereal)

Andrew Bartlett
(This used to be commit bd9497b092)
2007-10-10 13:05:41 -05:00
Andrew Tridgell
c077300a22 r3618: - this adds the special case for DENY_DOS semantics, as shown by the BASE-DENYDOS test.
- pvfs now passes BASE-DENY1 and BASE-DENYDOS.
(This used to be commit aa09df22ee)
2007-10-10 13:05:40 -05:00
Andrew Tridgell
51353ac559 r3592: auto-cleanup the test.$$ log files in these test scripts on control-C
(This used to be commit a07bca1707)
2007-10-10 13:05:36 -05:00
Andrew Tridgell
f458460842 r3580: - on file overwrite in ntcreatex we need to replace the file permissions.
- pvfs now passes BASE-OPENATTR

- pvfs also passes the BASE-DEFER_OPEN test, but it is not a well
  formed test for regular running so I am removing it from the list of
  tests to run in test_posix.sh (the test is covered better by RAW-MUX
  anyway)
(This used to be commit cb76bd218e)
2007-10-10 13:05:35 -05:00
Andrew Tridgell
a9158e0d47 r3574: the RAW-OPEN test changes broke a couple of the other tests. This
fixes most of them, although RAW-SEARCH still fails (due to an
interaction with the new xattr code)
(This used to be commit 09b4652b40)
2007-10-10 13:05:33 -05:00
Andrew Tridgell
c870ae8b89 r3528: added support for the SMBntcancel() operation, which cancels any
outstanding async operation (triggering an immediate timeout).

pvfs now passes the RAW-MUX test
(This used to be commit 3423e2f414)
2007-10-10 13:05:28 -05:00
Andrew Tridgell
86a2844bfc r3418: added BASE-NTDENY1 and BASE-NTDENY2 to the lists of tests that pvfs passes
(This used to be commit 6a6f2aea10)
2007-10-10 13:05:07 -05:00
Andrew Tridgell
9b24cd21e2 r3393: added test_rpc.sh. The idea is that this script will test all the
RPC-* tests that are expected to pass against Samba4. Currently only
RPC-SCHANNEL and RPC-ECHO are in that list, but as we get more working
this test will allow us to ensure that they stay working.
(This used to be commit d49dfd406f)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
6feaf6d4d6 r3321: make the test_echo.sh test suite test non-blocking on all rpc transports
this test now passes
(This used to be commit 3d270fd86c)
2007-10-10 13:04:54 -05:00
Andrew Tridgell
4b3e91f3ec r3305: added ncalrpc to the list of rpc transports tested by test_echo.sh, so
it gets regularly tested when I make changes.
(This used to be commit e4216da824)
2007-10-10 13:04:52 -05:00
Andrew Tridgell
074da7ccf7 r3288: - updated the path processing in pvfs to pass the RAW-CHKPATH test. This
rather extensive test reveals some really bizarre error code
  handling in w2k3.

- extended and simplified the RAW-CHKPATH test, making it easier to
  read (note that Samba3 fails the new tests - jra may wish to look)

- marked RAW-CHKPATH as pass for pvfs
(This used to be commit 32dccf91cf)
2007-10-10 13:04:50 -05:00
Andrew Tridgell
3b5c992481 r3270: - added another unlink test
- removed BASE-TRANS2 from the list of tests to be worked on (its
  already in the "passes" list)
(This used to be commit 8ba10229c3)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
12a23dd8bd r3263: - pvfs now passes RAW-SEARCH
(This used to be commit e5a0763655)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
4db039c3f3 r3254: - expanded the RAW-IOCTL test
- fixed the old ioctl interface to not check handle before failing

- pvs now passes RAW-IOCTL
(This used to be commit 98f6dbdba4)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
cfc843cf29 r3252: pvfs now passes BASE-TRANS2
(This used to be commit a024cef2d0)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
f1814e5a53 r3249: - change_time is closer to ctime than mtime
- pvfs now passes the RAW-CLOSE test
(This used to be commit 98aea91ce6)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
b96fcd9d56 r3244: pvfs now passes the RAW-UNLINK and RAW-READ tests
(This used to be commit 230ec4d980)
2007-10-10 13:04:45 -05:00
Andrew Tridgell
bf3f9757e5 r3224: add the LOCAL-* tests to test_posix.sh
(This used to be commit b2bdde6d14)
2007-10-10 13:04:43 -05:00
Andrew Tridgell
ee0c87b4c9 r3207: - reformat error msgs in BASE-DIR* tests
- added support for mandatory attributes in old style directory search

- we now pass BASE-DIR1 and BASE-DIR2
(This used to be commit efaa0eaec4)
2007-10-10 13:04:41 -05:00
Andrew Tridgell
611e9e601c r3202: return a old DOS error code ERRSRV:ERRbaduid for a bad vuid. This means we now pass the BASE-VUID test.
(This used to be commit 560300c002)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
5d1c5d3853 r3201: we now pass the BASE-OPEN test
(This used to be commit 3a150ab57e)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
7780bec7b4 r3198: check for too many .. components in filenames
pvfs now passes RAW-MKDIR
(This used to be commit 41adb385f1)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
5c95896499 r3189: improved the share_conflict() logic (both in terms of readability and
correctness). pvfs now passes the BASE-RENAME test.
(This used to be commit 4cf3f65a5c)
2007-10-10 13:04:38 -05:00
Andrew Tridgell
3cf018b517 r3180: - basic support for SEC_RIGHT_MAXIMUM_ALLOWED in pvfs
- RAW-CONTEXT test now passes
(This used to be commit 0dae9fef09)
2007-10-10 13:04:37 -05:00
Andrew Tridgell
1e7e580020 r3176: added a script to run all the filesystem torture tests that are
expected to pass. This allows easy testing for regressions when I
change core routines in the posix backend.
(This used to be commit 867cae7466)
2007-10-10 13:04:36 -05:00
Jelmer Vernooij
78e5bc76b6 r3163: Add server side support for ncalrpc: and ncacn_unix_stream:
Examples of binding strings are :

ncalrpc:[EPMAPPER]
ncacn_unix_stream:[/tmp/epmapper]

N.B. The unix socket support in lib/socket/ appears to close and remove the
socket it is listening on after the first client disconnects so until
that has been fixed, it is only possible to do one ncalrpc: or ncacn_unix_stream: request per instance of smbd :-)

Support for looking up NCALRPC names via the endpoint mapper will be added later.
(This used to be commit 426f3e63ca)
2007-10-10 13:02:28 -05:00
Andrew Bartlett
1d990b526e r3109: Give krbtgt and our machine account a random password in provision.
Andrew Bartlett
(This used to be commit 560a8c9f42)
2007-10-10 13:02:22 -05:00
Andrew Bartlett
8839496790 r3078: Allow more things to be set as command line options to provision.
Andrew Bartlett
(This used to be commit 2df85686f5)
2007-10-10 13:01:56 -05:00
Jelmer Vernooij
656c04da48 r3032: Somewhat stricter syntax for binding strings:
[] is now mandatory
 : after the hostname is no longer allowed

examples of allowed binding strings:

ncacn_np:myhost[samr]
ncacn_ip_tcp:10.0.0.1[1045]
ncacn_ip_tcp:2001:7b8:37b:1:210:dcff:fecb:a9e3[1024,sign,seal]
ncacn_np:myhost
ncacn_ip_tcp:192.168.4.2
308FB580-1EB2-11CA-923B-08002B1075A7@ncacn_ip_tcp:192.168.4.2
308FB580-1EB2-11CA-923B-08002B1075A7@ncacn_ip_tcp:192.168.4.2[,print]

Note that the last two lines are not recognized by smbtorture as a binding
 string yet. dcerpc_parse_binding() does accept them though.
(This used to be commit c15862e778)
2007-10-10 13:00:00 -05:00
Andrew Tridgell
59d3259171 r2934: - changed the unixuid module to use the nt_user_token instead of the server supplied info structure.
- added SID_WORLD and SID_NETWORK to the foreign sids in the
  provisioning, as these are auto-added to the nt_user_token (why is
  that done? Andrew?)
(This used to be commit 1dff12fba8)
2007-10-10 12:59:49 -05:00
Stefan Metzmacher
4c2bbb1edb r2876: - more than one rootDSE entry in the database is an error!
- don't say that we provide the same functionality as w2k3

- netbiosname is always upper case hostname

- minor fixes rootdse.pl

metze
(This used to be commit 0b30ec593f)
2007-10-10 12:59:41 -05:00
Simo Sorce
7251e37bb6 r2874: Italian CodeJam commit :-)
implemented rootDSE on ldb with rootdse.ldif and related script to populate a basic rootDSE tree
(This used to be commit 923c936088)
2007-10-10 12:59:41 -05:00
Stefan Metzmacher
c9e761a39e r2873: create a DNS zone file for a BIND name server
metze
(This used to be commit 1e8c431331)
2007-10-10 12:59:41 -05:00
Stefan Metzmacher
becc7302f0 r2829: REALM and netbiosname are always uppercase
dnsname and dnshostname always lowercase

metze
(This used to be commit 0b46dc6f4b)
2007-10-10 12:59:37 -05:00
Andrew Tridgell
ffe8ecfc14 r2808: added auto-detection of unix user and groups names during provision.
(This used to be commit 036e953fac)
2007-10-10 12:59:36 -05:00
Andrew Tridgell
0eeb0973e9 r2804: - setup some reasonable default SAM to unixName mappings in the provisioning.
- enable the unixuid module by default on all backends
(This used to be commit e335cd4933)
2007-10-10 12:59:36 -05:00
Andrew Tridgell
830ac69b1d r2802: a better provisioning script
(This used to be commit f5560f961d)
2007-10-10 12:59:35 -05:00
Simo Sorce
250996aa5a r2694: DN -> DC these are domain components ...
(This used to be commit 35135033ff)
2007-10-10 12:59:23 -05:00
Andrew Tridgell
20fb9ab6cd r2617: add connect testing to the rpc test suite
(This used to be commit 01a759b627)
2007-10-10 12:59:12 -05:00
Andrew Tridgell
78d9f3f8a7 r2583: mkproto.pl now treats "int main" as a special case and avoids it.
(This used to be commit 01288e82bc)
2007-10-10 12:59:07 -05:00
Andrew Tridgell
4a6313a543 r2407: extend mkproto.pl to handle smb_ucs2_t for toupper_w()
(This used to be commit fe60e899d7)
2007-10-10 12:58:49 -05:00
Andrew Tridgell
a568462c59 r2305: a useful test script for trying a wide variety of DCE/RPC options with the echo pipe
and smbtorture
(This used to be commit 42bdee690b)
2007-10-10 12:58:41 -05:00
Tim Potter
ff19c6ac0d r2255: Don't do experimental swig stuff by default.
(This used to be commit db191572ff)
2007-10-10 12:58:35 -05:00
Tim Potter
3f7bf05f75 r2253: Add test program, as small example of what's going on.
(This used to be commit fd31ae38df)
2007-10-10 12:58:35 -05:00
Stefan Metzmacher
75e967bd0e r1904: catch the common gtk function prototypes with make proto
metze
(This used to be commit b3cae309ae)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
144bb17b06 r1585: add dcpromo.pl start, this should be configure a
samba4 ads domain controller's ldb database

metze
(This used to be commit 932e22badd)
2007-10-10 12:57:42 -05:00
Andrew Bartlett
b1268fc445 r1123: Make all lp_ string functions return 'const char *'.
Fix other 'const' warnings in the torture code.

Andrew Bartlett
(This used to be commit 5d39d7497f)
2007-10-10 12:56:38 -05:00
Andrew Tridgell
7f3d4cc980 r919: - added lsa_QueryInfoPolicy2() to IDL, test suite and server
- added lsa_OpenPolicy2() to server

- added guid handling in samdb

- added a couple more info policy levels in lsa server

- added some DNS info in the provisioning template and script

With the above changes WinXP professional can join a Samba4 domain
(This used to be commit d6dca96352)
2007-10-10 12:56:20 -05:00
Stefan Metzmacher
4e9d01c2a7 r822: use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
(This used to be commit 081f7970dd)
2007-10-10 12:53:52 -05:00
Stefan Metzmacher
78aa17221b r747: report an failure in mkproto.pl via mkproto.sh to make
to fail directly...

metze
(This used to be commit bff8e39d3f)
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
19fba1fafa r725: fix usage of $PERL to "$PERL" to handle perl -W correct
metze
(This used to be commit b1161c4c83)
2007-10-10 12:53:45 -05:00
Andrew Tridgell
961060351e r594: - make sure all users in the domain have the same base sid!
- added proper ldap time construction to provisioning
(This used to be commit 0f12584b4b)
2007-10-10 12:51:49 -05:00
Andrew Tridgell
8c2636f59a r586: removed --clientfns from build_idl.sh (tim removed that code from pidl)
(This used to be commit d1dcde1d91)
2007-10-10 12:51:48 -05:00
Andrew Tridgell
0ed08d9398 r578: initial server side implementation of samr_CreateUser(),
samr_CreateUser2(), samr_LookupNames(), samr_OpenUser(),
and samr_DeleteUser()

this uses a user template in the SAM db, of objectclass "userTemplate"
and dn CN=TemplateUser,CN=Templates,$BASEDN. Using a template allows
an admin to add any default user attributes that they might want to
the user template and all new users will receive those attributes.
(This used to be commit 10b6e0011b)
2007-10-10 12:51:48 -05:00
Andrew Tridgell
8db18a0775 r458: this is the (very primitive) beginnings of a SAMR server for
Samba4. I'm committing this now so I can get comments on the approach.

Note that you need to do something like this to initialise the SAM db:

 edit script/provision.pl
 script/provision.pl > provision.ldif.out
 bin/ldbadd /path/to/private/sam.ldb provision.ldif.out
(This used to be commit e2002e40a5)
2007-10-10 12:51:44 -05:00
Stefan Metzmacher
405e08683d r412: as we decide to not do 3.0.2a releases anymore,
remove the generation stuff from VERSION and mkversion.sh

metze
(This used to be commit 6658e75358)
2007-10-10 12:51:37 -05:00
Tim Potter
3dce6f1e23 r356: Start of auto-generated client functions. Tridge can you take a look
and tell me what you think?  Output does not compile yet.
(This used to be commit 65692c9a93)
2007-10-10 12:51:34 -05:00
Stefan Metzmacher
5201ae9b31 r212: fix the svk stuff
metze
(This used to be commit 995f54b208)
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
bfbe809a6f r211: svk has different revision numbers,
so use "3.9.0-SVK-build-276-metze@dragon"
as version when the working copy is checked out with svk

metze
(This used to be commit a99e31d10f)
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
dda81bdb92 r205: update to the new version schema
in a svn or svk working copy (checked out tree)
we now have "3.9.0-SVN-build-205" versions
for the SAMBA_4_0 branch

when I put out the 3.9.0 release
it will change to 3.9.1-SVN-build-XXX

I will merge this to SAMBA_3_0 and trunk soon

metze
(This used to be commit a7f552f96b)
2007-10-10 12:51:16 -05:00
Gerald Carter
381a903d00 r42: importing .cvsignore files
(This used to be commit 11717ae912)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
c424c2b857 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7)
2007-10-10 12:50:33 -05:00
Stefan Metzmacher
ec5d556a12 some systems doesn't have ./ in PATH
so use ./build/pidl/pidl.pl

metze
(This used to be commit 7aab10d507)
2004-02-02 07:06:28 +00:00
Stefan Metzmacher
04376e44b6 add find_unused_options.sh
this script finds unused lp_*() functions

use it like this:
   user@host:~/samba/source>./script/find_unused_options.sh

metze
(This used to be commit 350fbe3440)
2004-01-29 09:54:42 +00:00
Stefan Metzmacher
e06687eb17 merge the version.h autogeneration stuff from 3.0
metze
(This used to be commit 24dc237e10)
2004-01-28 12:47:52 +00:00
Stefan Metzmacher
e0469838c8 a script which find unused or undefined vars in Makefile or Makefile.in
call it like:

script/find_unused_makefilevars.pl Makefile

or

script/find_unused_makefilevars.pl Makefile.in


metze
(This used to be commit ebecb6d05b)
2004-01-13 22:24:56 +00:00
Jelmer Vernooij
17b5c26819 Add script for finding unused function checks in configure.in
(This used to be commit 7c6a261871)
2004-01-13 22:22:43 +00:00
Jelmer Vernooij
0172920e16 Add note about new configure structure.
(This used to be commit 43130f370b)
2004-01-02 13:47:13 +00:00
Andrew Tridgell
2c6b585f2d more portability fixes. We now almost compile on solaris
(This used to be commit f4abd20b84)
2003-12-16 03:34:23 +00:00
Andrew Tridgell
2b5bc1b252 lots of shells don't have the -nt test, so use hackish find command
instead
(This used to be commit 2d57346c2d)
2003-12-15 12:13:34 +00:00
Andrew Tridgell
64352f9ef1 a script fix for the build farm
(This used to be commit 5f6b0baa30)
2003-12-15 05:37:15 +00:00
Andrew Tridgell
f6eb8342cb added auto-generation of the server side boilerplate code for each
pipe.

The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and
gets included in the pipe module
(This used to be commit bd3dcfe582)
2003-12-14 13:22:12 +00:00
Andrew Tridgell
8fa36b1fbc some systems don't have "which" and some systems don't have the "-nt"
flag to test. It's amazing that systems like that are ever sold.
(This used to be commit fe91635da8)
2003-12-08 07:37:38 +00:00
Andrew Tridgell
696c70c2f4 fixed shell scripting error
(This used to be commit b18dce549d)
2003-12-08 04:05:57 +00:00
Andrew Tridgell
86d0e4b7f1 cope with yapp not being installed
(This used to be commit e41d95acc0)
2003-12-08 03:57:03 +00:00
Andrew Tridgell
58714e6bda * reduced the number of grammer conflicts a lot using (arbitrary)
precedence rules

 * build a standalone parser. When we come to distributing Samba4 we
   can just include idl.pm and other developers won't need Parse::Yapp
   installed

 * avoid the recursive make in most cases in build_idl.sh
(This used to be commit be2c2be459)
2003-12-08 02:24:40 +00:00
Jelmer Vernooij
8af907950f Add script useful for finding checks for headers that are never used
(This used to be commit 0e5fdbc01b)
2003-12-02 10:13:18 +00:00
Andrew Tridgell
07fdc2c73e * support multiple interfaces in one IDL file in pidl
* make far more generated functions static

 * get rid of gen_rpc, and include the client calls in ndr_*.c

 * added placeholder IDL for a number of intefaces (dcom, wzcsvc, browser etc)
(This used to be commit a2bdf0be01)
2003-11-28 03:47:45 +00:00
Andrew Tridgell
df5949efb4 added auto-generation of the IDL interface tables. This makes two less
places that need to be edited when someone adds a new IDL file.
(This used to be commit ccd9ddeed6)
2003-11-28 00:48:05 +00:00
Andrew Tridgell
02dc7536dd save about 35% of the time for "make idl" by processing multiple IDL
files at once, which means less perl startup time.
(This used to be commit 64b2c67e47)
2003-11-23 03:42:20 +00:00
Andrew Tridgell
11e9184895 by using a single proto.h we gain another factor of 4 in the speed of
"make proto"
(This used to be commit f6bb118799)
2003-11-23 03:03:27 +00:00
Andrew Tridgell
1bd5a8ac1a final bit of tidyup and speedup
(This used to be commit 1c980e6c4e)
2003-11-23 02:44:23 +00:00
Andrew Tridgell
5577992f25 much faster inner loop and neater code
(This used to be commit 9ea02c51d4)
2003-11-23 02:33:46 +00:00
Andrew Tridgell
b9dd8d34a0 fixed loadparm handling properly
(This used to be commit 945ada7e7e)
2003-11-23 02:11:55 +00:00
Andrew Tridgell
4df03a8921 nicer base type handling
(This used to be commit e58384eb53)
2003-11-23 02:00:40 +00:00
Andrew Tridgell
d47d14f2ff reduced the number of magic types we need in mkproto.pl
In general I prefer "struct foo" to just "foo" for most
structures. There are exceptions.
(This used to be commit 04eb12b56c)
2003-11-23 01:53:54 +00:00
Andrew Tridgell
5052c65fd3 get rid of our awk scripts
(This used to be commit f11f757c87)
2003-11-23 01:30:58 +00:00
Andrew Tridgell
fec4b5b0cc changed to perl for mkproto, patch from vance
(This used to be commit 9386326868)
2003-11-23 01:29:42 +00:00
Andrew Tridgell
15776970a5 we now use a copy of pidl inside the samba4 source tree at
source/build/pidl/

I imported the code using direct respository manipulation to preserve
the commit history
(This used to be commit 2ed87a52cc)
2003-11-20 22:46:01 +00:00
Andrew Tridgell
b008369175 moved the pidl auto-generated files out of CVS
(This used to be commit 49c72d4276)
2003-11-20 11:09:53 +00:00
Andrew Tridgell
6a991bb9b0 simple method for auto-building rpc files if idl changes, and
auto-building proto.h if it doesn't exist. This should make life a
little easier for developers
(This used to be commit ab5939e796)
2003-11-15 21:25:03 +00:00
Andrew Tridgell
44dfd03963 - added the rest of the LSA calls as stubs
- auto-generate the client calls with 'make idl'
(This used to be commit 8e52381313)
2003-11-09 08:30:29 +00:00
Andrew Tridgell
30d45fc57c check for pidl.pl in path, not $HOME/pidl/
(This used to be commit 9aacdb5b8a)
2003-11-09 01:18:59 +00:00
Andrew Tridgell
668c938678 - more generation fixes
- added auto-generation from the Makefile. Only called when you run "make idl"
(This used to be commit 47a17e5a08)
2003-11-08 13:23:20 +00:00
Jelmer Vernooij
d55de7a159 Add script that reports unused macros/defines
(This used to be commit dd850b5bd8)
2003-08-16 05:20:22 +00:00
Jelmer Vernooij
d9aa5b15d3 Add script that detects useless AC_DEFINE()'s in configure.in
(This used to be commit 37f55d8619)
2003-08-16 02:24:33 +00:00
Andrew Tridgell
ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428)
2003-08-13 01:53:07 +00:00