Jelmer Vernooij [Sat, 5 May 2007 19:54:21 +0000 (19:54 +0000)]
r22684: Fix native Samba build.
Stefan Metzmacher [Sat, 5 May 2007 19:05:42 +0000 (19:05 +0000)]
r22683: fix the logic for skipping the pipe_dead()
code on the 2nd run.
thanks volker for finding this!
metze
Jelmer Vernooij [Sat, 5 May 2007 18:59:52 +0000 (18:59 +0000)]
r22682: Fix standalone ldb build when parent directory name != ldb.
Jelmer Vernooij [Sat, 5 May 2007 18:50:56 +0000 (18:50 +0000)]
r22681: Fix standalone ldb build when parent directory name != ldb.
Volker Lendecke [Sat, 5 May 2007 17:21:10 +0000 (17:21 +0000)]
r22680: Fix a talloc ctx name
Rafal Szczesniak [Fri, 4 May 2007 18:59:51 +0000 (18:59 +0000)]
r22672: use composite_create calls instead of talloc_zero.
rafal
Andrew Tridgell [Fri, 4 May 2007 12:41:28 +0000 (12:41 +0000)]
r22670: changed the RAW-NOTIFY test to support clustered testing (two nodes)
Stefan Metzmacher [Fri, 4 May 2007 11:26:25 +0000 (11:26 +0000)]
r22669: fix uninitialized element which was causing a crash with 'net password set'
metze
Jelmer Vernooij [Fri, 4 May 2007 11:08:53 +0000 (11:08 +0000)]
r22668: Fix ldb build
Stefan Metzmacher [Fri, 4 May 2007 10:44:41 +0000 (10:44 +0000)]
r22667: revert revision 22640 as it breaks nested structs in idl
metze
Jelmer Vernooij [Fri, 4 May 2007 10:02:47 +0000 (10:02 +0000)]
r22665: Change version back to 0.9.
Stefan Metzmacher [Fri, 4 May 2007 09:35:01 +0000 (09:35 +0000)]
r22662: disable shared library support on Tru64
metze
Stefan Metzmacher [Fri, 4 May 2007 09:22:52 +0000 (09:22 +0000)]
r22661: optimize the handling of directly triggered timed events:
- if someone adds a timed_event with a zero timeval
we now avoid serval gettimeofday() calls and the
event handler doesn't get the current time when it's
called, instead we also pass a zero timeval
- this also makes sure multiple timed events with a zero timeval
are processed in the order there're added.
the little benchmark shows that processing
2000000 directly timed events
is now much faster, while avoiding syscalls at all!
> time ./evtest (with the old code)
real 0m6.388s
user 0m1.740s
sys 0m4.632s
> time ./evtest (with the new code)
real 0m1.498s
user 0m1.496s
sys 0m0.004s
metze@SERNOX:~/devel/samba/4.0/samba4-ci/source> cat evtest.c
#include <stdio.h>
#include <stdint.h>
#include <sys/time.h>
#include <talloc.h>
#include <events.h>
static void dummy_fde_handler(struct event_context *ev_ctx, struct fd_event *fde,
uint16_t flags, void *private_data)
{
}
static void timeout_handler(struct event_context *ev, struct timed_event *te,
struct timeval tval, void *private_data)
{
uint32_t *countp = (uint32_t *)private_data;
(*countp)++;
if (*countp >
2000000) exit(0);
event_add_timed(ev, ev, tval, timeout_handler, countp);
}
int main(void)
{
struct event_context *ev;
struct timeval tval = { 0, 0 };
uint32_t count = 0;
ev = event_context_init(NULL);
event_add_fd(ev, ev, 0, 0, dummy_fde_handler, NULL);
event_add_timed(ev, ev, tval, timeout_handler, &count);
return event_loop_wait(ev);
}
Stefan Metzmacher [Fri, 4 May 2007 06:59:02 +0000 (06:59 +0000)]
r22658: - add AC_GNU_SOURCE macro for systems which don't have it
(sles8)
- fix compiler warning on some systems
metze
Jelmer Vernooij [Wed, 2 May 2007 22:05:48 +0000 (22:05 +0000)]
r22642: Allow standalone build to work without tdb or talloc checked out, but
provided by the system.
Stefan Metzmacher [Wed, 2 May 2007 18:00:02 +0000 (18:00 +0000)]
r22640: - generate nicer output
- fix compiler warning about unused ';'
metze
Jelmer Vernooij [Wed, 2 May 2007 16:09:33 +0000 (16:09 +0000)]
r22637: Install tdbbackup and tdbdump again.
Stefan Metzmacher [Wed, 2 May 2007 09:54:06 +0000 (09:54 +0000)]
r22635: make it possible to not turn off dns canonicalization of hostnames
with krb5:set_dns_canonicalize=yes
needed for the drsuapi replication, but we should fix this with
a kdc locator plugin ...
metze
Andrew Tridgell [Tue, 1 May 2007 21:29:42 +0000 (21:29 +0000)]
r22634: make the events system much less dependent on the samba4 build system
Andrew Tridgell [Tue, 1 May 2007 20:57:54 +0000 (20:57 +0000)]
r22632: merged volkers select events fix
Stefan Metzmacher [Tue, 1 May 2007 09:55:36 +0000 (09:55 +0000)]
r22629: if irpc gets freed within event_loop_once() we crash...
so deferr the freeing
metze
Stefan Metzmacher [Tue, 1 May 2007 09:06:25 +0000 (09:06 +0000)]
r22628: convert to new composite api
and free the smbcli_request explicit to fix a crash where
the request handler gets called after its private data is already
freed
metze
Stefan Metzmacher [Tue, 1 May 2007 08:43:52 +0000 (08:43 +0000)]
r22627: fix crash msgs_tmp isn't always initialized
and we don't need an extra allocated string anyway
metze
Stefan Metzmacher [Tue, 1 May 2007 04:12:54 +0000 (04:12 +0000)]
r22626: test member server with local and domain credentials
metze
Stefan Metzmacher [Tue, 1 May 2007 03:30:04 +0000 (03:30 +0000)]
r22625: hopefully fix make test on solaris
metze
Stefan Metzmacher [Tue, 1 May 2007 03:28:12 +0000 (03:28 +0000)]
r22624: - configure other auth methods for the member server
- use the netbiosname as domain and realm for the provision
of the member server
metze
Stefan Metzmacher [Tue, 1 May 2007 03:26:01 +0000 (03:26 +0000)]
r22623: export SMB_CONF_PATH from selftest.pl
metze
Stefan Metzmacher [Tue, 1 May 2007 03:25:17 +0000 (03:25 +0000)]
r22622: make it possible to pass the config file via 'SMB_CONF_PATH' envvar
very usefull for make testenv!
this makes it also possible to pass a config file to smbscript
metze
Stefan Metzmacher [Tue, 1 May 2007 03:22:17 +0000 (03:22 +0000)]
r22621: fix the 'sam' auth module
metze
Stefan Metzmacher [Tue, 1 May 2007 02:08:11 +0000 (02:08 +0000)]
r22620: fix compiler warnings
metze
Stefan Metzmacher [Tue, 1 May 2007 02:01:45 +0000 (02:01 +0000)]
r22619: fix pidl warnings
metze
Stefan Metzmacher [Tue, 1 May 2007 02:00:57 +0000 (02:00 +0000)]
r22618: handle the properties related to the type
and not to 'declare' to avoid a pidl warning with:
declare [switch_type(uint16)] union netr_Validation;
void foo([in] uint16 level, [in,switch_is(level)] netrValidation info);
metze
Stefan Metzmacher [Tue, 1 May 2007 01:57:17 +0000 (01:57 +0000)]
r22617: assume we have defered elements if the type is just provides via
'declare' this should fix the problem with the winbind IRPC calls
metze
Andrew Tridgell [Mon, 30 Apr 2007 22:38:27 +0000 (22:38 +0000)]
r22616: allow the unclist file to not specify a share name, and instead
inherit the share name from the command line if it is not
specified. This allows you to just specify the servers in the unclist,
and connect to the same share on all servers.
Andrew Bartlett [Mon, 30 Apr 2007 16:52:30 +0000 (16:52 +0000)]
r22612: Fix more cases where we have uninitialised values in the
composite_context, because we don't use the creation function.
Andrew Bartlett
Stefan Metzmacher [Mon, 30 Apr 2007 14:32:50 +0000 (14:32 +0000)]
r22610: fix build with included popt
metze
Stefan Metzmacher [Mon, 30 Apr 2007 13:24:00 +0000 (13:24 +0000)]
r22609: skip BASE-UTABLE (400s) and BASE-SMB (837s)
maybe we should have a "make completetest"
that includes all benchmark and scanner tests,
which we can run before doing a release...
metze
Stefan Metzmacher [Mon, 30 Apr 2007 13:17:19 +0000 (13:17 +0000)]
r22608: use a shorter share name as testparm complained about
a share name longer than 12 chars
metze
Stefan Metzmacher [Mon, 30 Apr 2007 13:13:49 +0000 (13:13 +0000)]
r22607: work with the solaris version of popt
metze
Stefan Metzmacher [Mon, 30 Apr 2007 13:03:03 +0000 (13:03 +0000)]
r22606: don't every try to prompt within make test...
metze
Jelmer Vernooij [Mon, 30 Apr 2007 12:48:42 +0000 (12:48 +0000)]
r22605: Set up all required environments before starting tests.
Jelmer Vernooij [Mon, 30 Apr 2007 11:27:41 +0000 (11:27 +0000)]
r22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal.
Stefan Metzmacher [Mon, 30 Apr 2007 11:16:50 +0000 (11:16 +0000)]
r22601: run net join with the correct socket_wrapper and krb5 configuration
metze
Jelmer Vernooij [Mon, 30 Apr 2007 10:49:42 +0000 (10:49 +0000)]
r22600: Update bzr ignores, put right version in .pc files, prepare for support of system versions of tdb, talloc.
Jelmer Vernooij [Mon, 30 Apr 2007 10:23:20 +0000 (10:23 +0000)]
r22599: Document member server.
Jelmer Vernooij [Mon, 30 Apr 2007 09:38:25 +0000 (09:38 +0000)]
r22598: Simplify includes for replace.
Stefan Metzmacher [Mon, 30 Apr 2007 09:35:32 +0000 (09:35 +0000)]
r22597: try to pass on some more boxes in the build-farm without timeout
metze
Jelmer Vernooij [Mon, 30 Apr 2007 08:53:56 +0000 (08:53 +0000)]
r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.
This should make it easier to allow use of system tdb or talloc libs using
pkg-config.
Jelmer Vernooij [Mon, 30 Apr 2007 08:08:36 +0000 (08:08 +0000)]
r22595: Add version numbers.
Andrew Bartlett [Mon, 30 Apr 2007 06:55:23 +0000 (06:55 +0000)]
r22594: This helped coax out valgrind errors last night, but we don't need it any more.
Andrew Bartlett
Andrew Bartlett [Sun, 29 Apr 2007 21:40:48 +0000 (21:40 +0000)]
r22582: Cleanups towards making winbind work again. We still have a long way to go, as this has bitrotted over the past months.
This change in particular catches winbind up with the next
composite_create() function.
We also needed to remove an unused flags field, and fill in the lm
response.
Andrew Bartlett
Stefan Metzmacher [Sun, 29 Apr 2007 21:40:17 +0000 (21:40 +0000)]
r22581: disable BASE-UTABLE and BASE-SMB on the ntvfs/cifs share
we should maybe disable them complete they're protocol scanners!
and take more than 400s each
metze
Stefan Metzmacher [Sun, 29 Apr 2007 21:38:32 +0000 (21:38 +0000)]
r22580: remove not yet needed line...
metze
Stefan Metzmacher [Sun, 29 Apr 2007 21:37:29 +0000 (21:37 +0000)]
r22579: disable progress printing in the build-farm
metze
Stefan Metzmacher [Sun, 29 Apr 2007 20:37:59 +0000 (20:37 +0000)]
r22575: move script/tests/ -> selftest/
as discussed with jelmer and abartlet
metze
Andrew Bartlett [Sun, 29 Apr 2007 15:24:49 +0000 (15:24 +0000)]
r22572: Don't manually set objectGUID values
Stefan Metzmacher [Sun, 29 Apr 2007 13:54:51 +0000 (13:54 +0000)]
r22571: - don't use "localhost" anymore in our tests
- use different passwords for dc and member
metze
Stefan Metzmacher [Sun, 29 Apr 2007 13:31:13 +0000 (13:31 +0000)]
r22570: run the NBT tests against DC and MEMBER
metze
Stefan Metzmacher [Sun, 29 Apr 2007 13:07:36 +0000 (13:07 +0000)]
r22569: use the $SERVER_IP for the LDAP-* tests because I'll later change
$SERVER from localhost to localdc.
we should find out why this is needed and add explicit name resolution
in related code...
metze
Stefan Metzmacher [Sun, 29 Apr 2007 13:05:53 +0000 (13:05 +0000)]
r22568: use the $SERVER_IP for the NET-* tests because I'll later change
$SERVER from localhost to localdc
mimir: please take a look why that's needed at all, as it shouldn't:-)
metze
Rafal Szczesniak [Sun, 29 Apr 2007 12:33:04 +0000 (12:33 +0000)]
r22567: add NET-API-DOMLIST test to automatic testing.
rafal
Rafal Szczesniak [Sun, 29 Apr 2007 12:32:17 +0000 (12:32 +0000)]
r22566: add a simple test of libnet_DomainList function.
rafal
Rafal Szczesniak [Sun, 29 Apr 2007 12:31:09 +0000 (12:31 +0000)]
r22565: add libnet_DomainList function.
rafal
Jeremy Allison [Sat, 28 Apr 2007 23:23:24 +0000 (23:23 +0000)]
r22563: As tridge requested remove the _strict calls - for Samba3 I'm moving
to a separate file.
Jeremy.
Andrew Bartlett [Sat, 28 Apr 2007 16:39:24 +0000 (16:39 +0000)]
r22559: Make the ad2OLschema tool case insensitive.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Apr 2007 16:38:06 +0000 (16:38 +0000)]
r22558: Move to a static list of enctypes to put into our keytab. In future,
I'll allow this to be configured from the secrets.ldb, but it should
fix some user issues.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Apr 2007 15:18:25 +0000 (15:18 +0000)]
r22557: Simo has long bugged me that the paths in the sam.ldb partitions were
not relative to the location of the sam.ldb, but instead
lp_private_dir().
This fixes that issue.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Apr 2007 15:17:03 +0000 (15:17 +0000)]
r22556: Make the slapd command valid.
Andrew Bartlett
Stefan Metzmacher [Sat, 28 Apr 2007 09:34:32 +0000 (09:34 +0000)]
r22552: this doesn't need a dc
metze
Stefan Metzmacher [Sat, 28 Apr 2007 09:01:52 +0000 (09:01 +0000)]
r22551: use fixed passwords, to make it possible to reproduce stuff
and look into krb5 blobs when using wireshark on
--socket-wrapper-pcap created files
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:58:40 +0000 (08:58 +0000)]
r22550: nmblookup -U needs an ip address otherwise we depend on gethostbyname()
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:57:06 +0000 (08:57 +0000)]
r22549: export some more info ipaddress and in member env also the
details of the dc
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:48:11 +0000 (08:48 +0000)]
r22548: - maintain a global array of exported envvars
- make it possible to specify the envname for make testenv:
SELFTEST_TESTENV=member make testenv
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:43:51 +0000 (08:43 +0000)]
r22547: fix some pathes and make sure we work with relative and abslute prefix pathes
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:37:36 +0000 (08:37 +0000)]
r22546: use the same error codes in both share backends
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:00:51 +0000 (08:00 +0000)]
r22545: fix formating and a compiler warning
metze
Stefan Metzmacher [Sat, 28 Apr 2007 07:31:19 +0000 (07:31 +0000)]
r22544: use the same syntax as in all other files
maybe that fixes make test on all sun hosts...
metze
Jeremy Allison [Fri, 27 Apr 2007 22:04:27 +0000 (22:04 +0000)]
r22541: Added talloc_size_strict macro.
Jeremy.
Jeremy Allison [Fri, 27 Apr 2007 21:58:10 +0000 (21:58 +0000)]
r22540: Added _strict varients of the macro calls - added
prototypes.
Jeremy.
Jeremy Allison [Fri, 27 Apr 2007 21:09:16 +0000 (21:09 +0000)]
r22539: Added _strict varients of the talloc calls to
return NULL on size == 0 varients.
Jeremy.
Stefan Metzmacher [Fri, 27 Apr 2007 17:35:15 +0000 (17:35 +0000)]
r22538: same day late at night in au...:-)
fix the strcasecmp_m() returns 0 for a match
also use the correct array element to fill priv->dcinfo
the fixes the problems where ldb changes the order of the search results
when changing the main dc netbios name from "localhost" to "localtest"
metze
Stefan Metzmacher [Fri, 27 Apr 2007 14:31:26 +0000 (14:31 +0000)]
r22536: resolve name before passing to cldap
metze
Stefan Metzmacher [Fri, 27 Apr 2007 14:23:08 +0000 (14:23 +0000)]
r22535: pass down $(TESTS) to all test variants
metze
Stefan Metzmacher [Fri, 27 Apr 2007 14:17:28 +0000 (14:17 +0000)]
r22534: don't remove socket and fd_event before we told the
packet layer.
also fix double free (left over from cut-n-paste)
metze
Andrew Bartlett [Fri, 27 Apr 2007 11:13:37 +0000 (11:13 +0000)]
r22531: Fix up OpenLDAP schema map to almost pass 'make test'.
Andrew Bartlett
Stefan Metzmacher [Fri, 27 Apr 2007 10:06:34 +0000 (10:06 +0000)]
r22530: use message() to make --quiet work
metze
Stefan Metzmacher [Fri, 27 Apr 2007 05:45:53 +0000 (05:45 +0000)]
r22528: remember that the connection was marked dead and don't
allow sending packet over the broken connection,
as we would segfault...
metze
Andrew Bartlett [Thu, 26 Apr 2007 09:32:26 +0000 (09:32 +0000)]
r22523: Give a hint why this test fails (helped debugging backend issues).
Andrew Bartlett
Andrew Bartlett [Wed, 25 Apr 2007 16:36:46 +0000 (16:36 +0000)]
r22522: Print why we can't find these entries.
Andrew Bartlett
Andrew Bartlett [Wed, 25 Apr 2007 16:36:15 +0000 (16:36 +0000)]
r22521: Don't fail the module load just because we don't have a schema yet.
This code to be replaced by metze's schema loader soon...
Andrew Bartlett
Jelmer Vernooij [Wed, 25 Apr 2007 16:10:54 +0000 (16:10 +0000)]
r22520: Fix the TYPE command.
Rafal Szczesniak [Wed, 25 Apr 2007 15:24:01 +0000 (15:24 +0000)]
r22519: convert libnet_DomainOpenSamr function from state-handling routine
to composite_continue.
rafal
Jelmer Vernooij [Wed, 25 Apr 2007 14:18:22 +0000 (14:18 +0000)]
r22518: Create pkgconfig dir.
Jelmer Vernooij [Wed, 25 Apr 2007 13:31:38 +0000 (13:31 +0000)]
r22517: Use DESTDIR
Jelmer Vernooij [Wed, 25 Apr 2007 12:58:49 +0000 (12:58 +0000)]
r22516: Use DESTDIR
Stefan Metzmacher [Wed, 25 Apr 2007 12:36:12 +0000 (12:36 +0000)]
r22515: only steal pipe on success
metze
Jelmer Vernooij [Wed, 25 Apr 2007 12:30:25 +0000 (12:30 +0000)]
r22514: Add version numbers to tdb and talloc (required so they can be packaged independent of Samba for Debian).
Stefan Metzmacher [Wed, 25 Apr 2007 02:43:23 +0000 (02:43 +0000)]
r22508: at option for the startup delay
metze
Jelmer Vernooij [Tue, 24 Apr 2007 13:55:04 +0000 (13:55 +0000)]
r22503: Add support for dgram to socket_ipv6. No tests yet...
Rafal Szczesniak [Tue, 24 Apr 2007 09:35:55 +0000 (09:35 +0000)]
r22501: dispatching events explicitly is not necessary.
rafal