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

243 Commits

Author SHA1 Message Date
Jelmer Vernooij
41669237cd Use single copy of socket_wrapper in Samba 3 and Samba 4. 2008-09-16 16:39:45 +02:00
Stefan Metzmacher
8699913858 lib/crypto: remove unused sha1 and hmac-sha1 code
metze
(This used to be commit 2c8904be3b)
2008-06-04 09:12:24 +02:00
Jelmer Vernooij
32dfdae009 Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
(This used to be commit 8328ff7641)
2008-05-19 02:03:00 +02:00
Jelmer Vernooij
4c70cda986 Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b5211994)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147 Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
03643aec88 Use variables for source directory in a couple more places.
(This used to be commit c41bd3005f)
2008-05-18 19:54:27 +02:00
Jelmer Vernooij
670122d724 Fix torture module initializion.
(This used to be commit d5bf4e9065)
2008-05-10 23:46:51 +02:00
Jelmer Vernooij
1e973565b6 Move subunit infrastructure code into lib/torture.
(This used to be commit 5b44d8121d)
2008-04-27 14:02:46 +01:00
Jelmer Vernooij
21fc767378 Specify event_context to ldb_wrap_connect explicitly.
(This used to be commit b4e1ae07a2)
2008-04-17 12:23:44 +02:00
Jelmer Vernooij
e9017ba418 Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054)
2008-04-14 17:22:58 +02:00
Andrew Bartlett
c82e9c9f6d Don't specify the ntds_guid to the C -> python provision interface
This paramter was not used anyway.

Andrew Bartlett
(This used to be commit 6875e6823f)
2008-04-11 19:35:15 +10:00
Andrew Bartlett
ae977ef247 Fix merge errors on C provision interface after jelmer's good work.
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet

Conflicts:

	source/torture/local/torture.c
(This used to be commit 5bf1c89cf8)
2008-04-11 11:11:42 +10:00
Andrew Bartlett
9198a519be Set a netbios name into provision, and zero the rest.
Remove dns_name initialisation.

Andrew Bartlett
(This used to be commit e77ab2fbd1)
2008-04-11 11:09:34 +10:00
Jelmer Vernooij
ad8e3e4192 Add infrastructure for returning ProvisionResult in C provision code.
(This used to be commit 98c3d34eb2)
2008-04-10 05:23:17 +02:00
Jelmer Vernooij
82c7872639 Move provision C bindings to param/.
(This used to be commit 7d45ed0c3e)
2008-04-09 03:23:13 +02:00
Andrew Bartlett
3f2e403a86 Rework talloc hirarchy for C provision setup.
This seems to fix (or sweep under the covers) a crash in this code.

Andrew Bartlett
(This used to be commit 2fcddfe583)
2008-04-08 17:26:55 +10:00
Andrew Bartlett
7e0ef3fd0e Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).
To make Samba4, using the python provision system, pass this test
required some major rework.  Untested code is broken code, and some of
the refactoring for a seperate provision test (which also now passes)
broke things.

Similarly, the iconv work has compiled, but these codepaths have never
been run (NULL pointer de-reference).

In working to use a local, rather than global, loadparm context, and
to support using a target directory, a few things needed to be
reworked, particularly around path handling.

Andrew Bartlett
(This used to be commit 1169e8d7be)
2008-03-06 21:55:26 +11:00
Michael Adam
dfc84928d7 libreplace: add extended getifaddrs test that prints out the interfaces.
Michael
(This used to be commit 9d2bab09aa)
2008-02-28 23:01:15 +01:00
Jelmer Vernooij
56e75ed20c Reconcile header files for torture utility functions.
(This used to be commit 1269758e95)
2008-02-15 15:53:06 +01:00
Jelmer Vernooij
85fe22a85f Use struct for provision parameters since there are so many of them.
(This used to be commit 4b9d5bc57c)
2008-02-15 15:14:55 +01:00
Jelmer Vernooij
d499dfd938 Add test for provision_bare() code.
(This used to be commit 0f3a1dbb53)
2008-02-15 01:37:57 +01:00
Kai Blin
3c744ddd2c r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf68)
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
3c12ad6a95 r26346: Add tests for loadparm.
(This used to be commit 064a2329e1)
2007-12-21 05:48:52 +01:00
Jelmer Vernooij
bbdfbf8d9d r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
(This used to be commit a33a553054)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
afafeca814 r26004: Add some simple credentials tests.
(This used to be commit e96c722cbf)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
ca0b72a1fd r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
81ad27b309 r25935: Fix registry tests.
(This used to be commit b311094714)
2007-12-21 05:45:09 +01:00
Jelmer Vernooij
73f88ad250 r25931: Add config .mk file for crypto lib.
(This used to be commit 21ab43158f)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
dbc78e2016 r25928: Split up torture-local a bit.
(This used to be commit c6b1090408)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
6ee570c327 r25927: Move share tests to param directory.
(This used to be commit f12f623da5)
2007-12-21 05:45:05 +01:00
Jelmer Vernooij
a86920600a r25926: Move iconv test to iconv code directory.
(This used to be commit e20c4b90e4)
2007-12-21 05:45:05 +01:00
Jelmer Vernooij
0bccc88392 r25903: Move more files out of torture/
(This used to be commit f734df3144)
2007-12-21 05:44:46 +01:00
Jelmer Vernooij
f924ac9744 r25902: Move messaging tests to same directory as code.
(This used to be commit d174dcbb76)
2007-12-21 05:44:45 +01:00
Jelmer Vernooij
b09047b78e r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
(This used to be commit 262c1c23a6)
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
2f3551ca7c r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e77)
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
3048e9ad65 r25392: Add loadparm context as argument in a couple more places.
(This used to be commit c62f51cc28)
2007-10-10 15:07:24 -05:00
Jelmer Vernooij
f2d64e1c45 r25306: Add tests for string_sub().
(This used to be commit 2d37ddcbd1)
2007-10-10 15:07:11 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
Stefan Metzmacher
039a369a4f r24988: LOCAL-IRPC needs a the pid dir setup (as LOCAL-MESSAGING)
not the lock dir...

metze
(This used to be commit bccc014757)
2007-10-10 15:05:24 -05:00
Jelmer Vernooij
356294da18 r24686: Make sure control messages are on a new line.
(This used to be commit 90119f96e9)
2007-10-10 15:02:42 -05:00
Jelmer Vernooij
11744d9f1d r24685: Don't warn about iconv tests not being usable until they're actually being run.
(This used to be commit df34e60698)
2007-10-10 15:02:42 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358)
2007-10-10 15:02:34 -05:00
Andrew Bartlett
1133678c34 r24502: More work to get LOCAL-EVENT passing on all platforms:
- Make the epoll_event_context_init() call fail if epoll_create() fails.

  This should cause this backend to be skipped on host with epoll() in
  libc but not in the kernel.

- At the moment, there is no sensible way to handle failures to add an
  epoll() event, and 'fallback to select' is misnamed (so we now
  abort()).

Andrew Bartlett
(This used to be commit fb1e1eebda)
2007-10-10 15:02:02 -05:00
Andrew Bartlett
1ea23c2a95 r24390: Another attempt to find out why we fail the LOCAL-EVENT test on some build farm hosts.
Andrew Bartlett
(This used to be commit 1abd8edb57)
2007-10-10 15:01:49 -05:00
Andrew Bartlett
cf9972a1bd r24300: Try to get the LOCAL-EVENT test to pass on hosts with epoll() in
glibc, but not in the host kernel.

Andrew Bartlett
(This used to be commit bd70b0d106)
2007-10-10 15:01:37 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
c42219d735 r22969: fix some more places where we could end up with more than one event
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb656)
2007-10-10 14:52:34 -05:00