1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

377 Commits

Author SHA1 Message Date
Jelmer Vernooij
4e3ee3f898 r13160: Fix some of the smbclient testsuite (after failures on the buildfarm)
(This used to be commit 765991ab48)
2007-10-10 13:51:30 -05:00
Jelmer Vernooij
57d079e4b2 r13157: Fix installation of js files
(This used to be commit 2384dec6f2)
2007-10-10 13:51:30 -05:00
Jelmer Vernooij
415427b12c r13156: Add some tests for smbclient
(This used to be commit 861d45beda)
2007-10-10 13:51:30 -05:00
Andrew Bartlett
2f8b1050e1 r13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett
(This used to be commit 2c02a45d5a)
2007-10-10 13:51:29 -05:00
Stefan Metzmacher
ca649f797c r13112: merge over some stuff from samba3
metze
(This used to be commit 7cb4e1bd04)
2007-10-10 13:51:26 -05:00
Stefan Metzmacher
36b1a0f82d r13079: add SAMBA_VERSION_RELEASE_NICKNAME
if it's set in source/VERSION

smbd --version will print
4.0.0tp1 (Nickname)

metze
(This used to be commit 780870293b)
2007-10-10 13:51:23 -05:00
Jelmer Vernooij
541d84f934 r13077: Allow the mkversion script to be used for technology preview releases
(This used to be commit 2636e6c948)
2007-10-10 13:51:22 -05:00
Andrew Bartlett
aecd9827c6 r13019: Again protect us against format string mismatches, with the new split
out proto headers.

The reason this is done in this way is that the attribute must be on
the prototype, not the actual function defintion.  Hence the macros
which expand to nothing in the C file, but expand to an __attribute__
in the prototype header.

Andrew Bartlett
(This used to be commit a88933668f)
2007-10-10 13:51:17 -05:00
Andrew Bartlett
867ae22a9b r12902: Fix 'make quicktest'.
Andrew Bartlett
(This used to be commit c2eca05074)
2007-10-10 13:51:00 -05:00
Andrew Bartlett
58f78fa182 r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.
Doing this required reworking ejsnet, particularly so it could take a
set of credentials, not just a username and password argument.

This required fixing the ejsnet.js test script, which now adds and
deletes a user, and is run from 'make test'.  This should prevent it
being broken again.

Deleting a user from ejsnet required that the matching backend be
added to libnet, hooking fortunetly onto already existing code for the
actual deletion.

The js credentials interface now handles the 'set machine account' flag.

New functions have been added to provision.js to wrap the basic
operations (so we can write a command line version, as well as the web
based version).

Andrew Bartlett
(This used to be commit a5e7c17c34)
2007-10-10 13:50:59 -05:00
Andrew Bartlett
0ac6b5232d r12874: Try to give the startup a few more seconds, so that hosts with
gnutls-devel installed do not miss the first test.

Andrew Bartlett
(This used to be commit 6e17864c5d)
2007-10-10 13:50:57 -05:00
Andrew Bartlett
b135f4467f r12858: This moves the libnet_LookupPdc code to use a GetDC request to find
the remote server's name, or in the absence of a local nbt_server to
communicate with (or without root access), a node status request.

The result is that we are in a better position to use kerberos, as well
as to remove the 'password server' mandatory parameter for the samsync
and samdump commands.  (I need this to put these into SWAT).

The only problem I have is that I must create a messaging context, which
requires a server ID.  As a client process, I don't expect to get
messages, but it is currently required for replies, so I generate a
random() number.  We probably need the servers to accept connections on
streamed sockets too, for client-only tasks that want IRPC.

Because I wanted to test this code, I have put the NET-API-* tests into
our test scripts, to ensure they pass and keep passing.  They are good
frontends onto the libnet system, and I see no reason not to test them.

In doing so the NET-API-RPCCONNECT test was simplified to take a
binding string on the command line, removing duplicate code, and
testing the combinations in the scripts instead.

(I have done a bit of work on the list shares code in libnet_share.c
to make it pass 'make test')

In the future, I would like to extend the libcli/findds.c code (based
off volker's winbind/wb_async_helpers.c, which is why it shows up a bit
odd in the patch) to handle getting multiple name replies, sending a
getdc request to each in turn.

(posted to samba-technical for review, and I'll happily update with
any comments)

Andrew Bartlett
(This used to be commit 7ccddfd351)
2007-10-10 13:50:54 -05:00
Stefan Metzmacher
3c2c57a711 r12831: add 'extern' to public prototypes
metze
(This used to be commit d4d2f011e2)
2007-10-10 13:50:03 -05:00
Andrew Tridgell
d0a851e889 r12812: speed up RPC-ECHO with validate some more, and re-enable it under
valgrind in 'make valgrindtest'
(This used to be commit b2030d527a)
2007-10-10 13:49:59 -05:00
Stefan Metzmacher
faeff2a169 r12806: tridge: in revision 12634 you introduced to validate the ndr_print output
and RPC-ECHO doesn't pass under valgrind anymore with this

metze
(This used to be commit 2482bf969d)
2007-10-10 13:49:58 -05:00
Stefan Metzmacher
042fcee4cd r12778: export TEST_DATA_PREFIX in make test
metze
(This used to be commit beea805a61)
2007-10-10 13:49:54 -05:00
Jelmer Vernooij
63d718e243 r12696: Reduce the size of include/structs.h
(This used to be commit 6391761601)
2007-10-10 13:49:40 -05:00
Jelmer Vernooij
19d606ce18 r12584: Move NDR tests from rpc/ to local/, add to list of tests
to run for 'make all'
(This used to be commit e71cd4778b)
2007-10-10 13:48:59 -05:00
Jelmer Vernooij
f71f21fa05 r12552: Remove use of Test::Harness - we're not printing the result summaries
on success anyway. Instead, call the scripts directly.
(This used to be commit a83a38eab2)
2007-10-10 13:47:56 -05:00
Jelmer Vernooij
0a3c167f6b r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
10c183d9ae r12520: Add support for --help to mkproto.pl
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM]
and [LIBRARY] sections in .mk files. Public functions can be marked
by adding _PUBLIC_ between their return type and function name.

This should eventually make include/proto.h and include/structs.h obsolete.
(This used to be commit cdfd20fa17)
2007-10-10 13:47:51 -05:00
Stefan Metzmacher
1f8bb5bd85 r12509: make the output for the buildfarm nicer
metze
(This used to be commit f03170cc52)
2007-10-10 13:47:47 -05:00
Jelmer Vernooij
448483199f r12494: Support loading modules from .so files for most subsystems.
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:

	init_module_fn static_init[] = STATIC_AUTH_MODULES;
	init_module_fn *shared_init = load_samba_modules(NULL, "auth");

	run_init_functions(static_init);
	run_init_functions(shared_init);

	talloc_free(shared_init);

I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
(This used to be commit b6d2ad4ce0)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
7717f180ca r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
(This used to be commit 3a57d29a62)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
620d375320 r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
(This used to be commit 6967b98849)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
68ef82aac7 r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
(This used to be commit 975d8816db)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
69a694d7ba r12449: Fix some warnings
(This used to be commit 95f6e49cb8)
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
52728b7d41 r12446: Merge mkproto.sh's functionality into mkproto.pl
Allow specifying the _PUBLIC_ keyword on functions to indicate a function
is public.

Public prototypes can now be written to a seperate header, although this
functionality is not used yet.
(This used to be commit e3466df6df)
2007-10-10 13:47:40 -05:00
Andrew Bartlett
a167713c3c r12373: Add RPC-JOIN as a test to always run.
Andrew Bartlett
(This used to be commit 42c58d4312)
2007-10-10 13:47:32 -05:00
Stefan Metzmacher
736543016e r12304: split out the wins partner configuration into a seperate ldb.
now $privatedir/wins_config.ldb contains the wins partners
and $lockdir/wins.ldb contains the name records

metze
(This used to be commit baa4a7a9d4)
2007-10-10 13:47:28 -05:00
Stefan Metzmacher
8a2385c933 r12287: move the wins.ldb into lockdir
metze
(This used to be commit bcf04a49e3)
2007-10-10 13:47:27 -05:00
Jelmer Vernooij
4bc1cc52ec r12256: Add helper script for installing pkg-config files
(This used to be commit c05ffb05c8)
2007-10-10 13:47:25 -05:00
Jelmer Vernooij
efe67458c1 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
(This used to be commit 4322962074)
2007-10-10 13:47:19 -05:00
Stefan Metzmacher
37cc5873e0 r12075: remove NBT-WINSREPLICATION-QUICK test, as we now pass the NBT-WINSREPLICATION
test

metze
(This used to be commit 224dab45ab)
2007-10-10 13:47:06 -05:00
Andrew Tridgell
86a6ce529f r12009: made the LOCAL-SDDL test less verbose by default, and add it to the
standard tests for the build farm
(This used to be commit 9d6d9b6e50)
2007-10-10 13:46:58 -05:00
Andrew Tridgell
4544226935 r11818: - changed the option torture:echo_TestSleep=yes/no to the more generic
option torture:quick=yes/no. This should be used in all slow tests to
  enable a quick mode

- enabled the test_rpc_quick.sh tests in 'make quicktest'
(This used to be commit 180c209c1b)
2007-10-10 13:46:33 -05:00
Andrew Tridgell
5358763b41 r11659: allow the max runtime for smbtorture and smbd to be controlled on a
per-host basis in the build farm
(This used to be commit c8185fe414)
2007-10-10 13:46:08 -05:00
Stefan Metzmacher
14b59bcbec r11555: - change socket_wrapper to support multiple IP's
- SOCKET_WRAPPER_DEFAULT_IFACE=X specifies the default interface
  for 127.0.0.X
- we now use multiple interfaces for smbtorture in make test
  127.0.0.26-127.0.0.31
- and 127.0.0.1 only for smbd

the are more work needed for better support for broacast messages...
but this is enough for the winsrepl tests

metze
(This used to be commit dbd01110d1)
2007-10-10 13:45:53 -05:00
Stefan Metzmacher
819744cab2 r11503: be quite...
metze
(This used to be commit e992119bf3)
2007-10-10 13:45:46 -05:00
Stefan Metzmacher
4f78115d6d r11489: add the one replication cycle test to NBT-WINSREPLICATION-QUICK
metze
(This used to be commit fc53eab2f1)
2007-10-10 13:45:44 -05:00
Andrew Bartlett
7915aa9725 r11442: Don't use BASE-NEGNOWAIT any more. It is a mostly meaningless test.
Andrew Bartlett
(This used to be commit c105112902)
2007-10-10 13:45:38 -05:00
Andrew Bartlett
a2b93c3f5f r11372: Now RPC-SAMLOGON works, place it into the default 'make test'.
Andrew Bartlett
(This used to be commit 381c4f9fef)
2007-10-10 13:45:28 -05:00
Jelmer Vernooij
8ee1ee66ed r11303: Support defining and installing public headers for libraries.
Support installing libraries.
Get rid of pkg-config file (will be autogenerated later on).
(This used to be commit b4745032a2)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
8955516c10 r11245: Hopefully fix heimdal build on some hosts
Fix manpage locations
(This used to be commit 33c71c0fb1)
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
f4d590662e r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c917)
2007-10-10 13:45:03 -05:00
Jelmer Vernooij
8d036f304e r11099: Replace unistr with [string] equivalent
(This used to be commit 6a8291c80e)
2007-10-10 13:44:49 -05:00
Stefan Metzmacher
9259f9ecc0 r11092: run NBT-WINSREPLICATION-QUICK test with make test
metze
(This used to be commit 2577c02a51)
2007-10-10 13:44:47 -05:00
Andrew Tridgell
92da5aa6b8 r10752: make sure we set the exist status correctly for the tdb tests
(This used to be commit e83635941c)
2007-10-10 13:39:26 -05:00
Andrew Tridgell
6566c9dffe r10643: increase smbd max runtime when using valgrind
(This used to be commit c394a4a602)
2007-10-10 13:39:14 -05:00
Andrew Bartlett
b0a5e91261 r10599: Use localhost again for now, until I trace where we are leaking name lookups.
Andrew Bartlett
(This used to be commit 23f834dd19)
2007-10-10 13:39:10 -05:00