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

13061 Commits

Author SHA1 Message Date
Jelmer Vernooij
b3a4fd11e9 r22698: Support using system tdb, when available.
(This used to be commit 4d3f02e845)
2007-10-10 14:52:03 -05:00
Jelmer Vernooij
30baa7f39e r22697: Support building with external talloc.
(This used to be commit 3a2f9e0977)
2007-10-10 14:52:02 -05:00
Simo Sorce
31d28c5b8c r22696: Make sure this is an ascii char
spotted by Volker
(This used to be commit e24812016f)
2007-10-10 14:52:02 -05:00
Volker Lendecke
d6121458b0 r22694: It seems that AIX 5.3 with XLC has difficulties with <ctype.h>. This is
an attempt to work around this: Maybe it helps if we include other stuff
first.

This raises a question however: Do we want the DN handling to be locale
dependent? isalpha() can return different things depending on the
current locale.
(This used to be commit 75ba82dee0)
2007-10-10 14:52:02 -05:00
Jelmer Vernooij
bb71fc3856 r22687: use DESTDIR.
(This used to be commit 0b34da929f)
2007-10-10 14:52:02 -05:00
Jelmer Vernooij
9b03417172 r22684: Fix native Samba build.
(This used to be commit 582e743e68)
2007-10-10 14:52:01 -05:00
Stefan Metzmacher
9644ced731 r22683: fix the logic for skipping the pipe_dead()
code on the 2nd run.

thanks volker for finding this!

metze
(This used to be commit 00ccc217da)
2007-10-10 14:52:01 -05:00
Jelmer Vernooij
e0e8fc3db4 r22682: Fix standalone ldb build when parent directory name != ldb.
(This used to be commit 532f28724d)
2007-10-10 14:52:01 -05:00
Jelmer Vernooij
52fb06edc2 r22681: Fix standalone ldb build when parent directory name != ldb.
(This used to be commit 1093875d59)
2007-10-10 14:52:00 -05:00
Volker Lendecke
be7eb080fe r22680: Fix a talloc ctx name
(This used to be commit 3c46831f66)
2007-10-10 14:52:00 -05:00
Rafal Szczesniak
d02dc1b674 r22672: use composite_create calls instead of talloc_zero.
rafal
(This used to be commit 969b175c73)
2007-10-10 14:52:00 -05:00
Andrew Tridgell
5f475b80ee r22670: changed the RAW-NOTIFY test to support clustered testing (two nodes)
(This used to be commit 12ce85aea1)
2007-10-10 14:52:00 -05:00
Stefan Metzmacher
aa95279b81 r22669: fix uninitialized element which was causing a crash with 'net password set'
metze
(This used to be commit 9bbe473356)
2007-10-10 14:51:59 -05:00
Jelmer Vernooij
9fc5647043 r22668: Fix ldb build
(This used to be commit 331a0f608f)
2007-10-10 14:51:59 -05:00
Stefan Metzmacher
c83c6740ab r22667: revert revision 22640 as it breaks nested structs in idl
metze
(This used to be commit b5c84460fc)
2007-10-10 14:51:59 -05:00
Jelmer Vernooij
1477b7a24f r22665: Change version back to 0.9.
(This used to be commit 5037373c4c)
2007-10-10 14:51:59 -05:00
Stefan Metzmacher
91ec102fb9 r22662: disable shared library support on Tru64
metze
(This used to be commit 75d5155cd3)
2007-10-10 14:51:58 -05:00
Stefan Metzmacher
6c6c5927a1 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);
}
(This used to be commit 4db64b4ce2)
2007-10-10 14:51:58 -05:00
Stefan Metzmacher
e4161f9dee r22658: - add AC_GNU_SOURCE macro for systems which don't have it
(sles8)
- fix compiler warning on some systems

metze
(This used to be commit 2097ac64fc)
2007-10-10 14:51:58 -05:00
Jelmer Vernooij
f239b809b4 r22642: Allow standalone build to work without tdb or talloc checked out, but
provided by the system.
(This used to be commit bdde740551)
2007-10-10 14:51:57 -05:00
Stefan Metzmacher
0bc6c5a7b1 r22640: - generate nicer output
- fix compiler warning about unused ';'

metze
(This used to be commit 715060187f)
2007-10-10 14:51:57 -05:00
Jelmer Vernooij
8f786106a5 r22637: Install tdbbackup and tdbdump again.
(This used to be commit 8197cb975e)
2007-10-10 14:51:57 -05:00
Stefan Metzmacher
7983989508 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
(This used to be commit f0a12355bc)
2007-10-10 14:51:56 -05:00
Andrew Tridgell
19a6878380 r22634: make the events system much less dependent on the samba4 build system
(This used to be commit b0c8c1cd21)
2007-10-10 14:51:56 -05:00
Andrew Tridgell
20a0206a10 r22632: merged volkers select events fix
(This used to be commit 216aa06fe6)
2007-10-10 14:51:56 -05:00
Stefan Metzmacher
de9768764d r22629: if irpc gets freed within event_loop_once() we crash...
so deferr the freeing

metze
(This used to be commit 3a30bc0d61)
2007-10-10 14:51:56 -05:00
Stefan Metzmacher
298f178dca 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
(This used to be commit 55306c6188)
2007-10-10 14:51:55 -05:00
Stefan Metzmacher
e2633be313 r22627: fix crash msgs_tmp isn't always initialized
and we don't need an extra allocated string anyway

metze
(This used to be commit 44c27b2fe6)
2007-10-10 14:51:55 -05:00
Stefan Metzmacher
037a3e0fc2 r22626: test member server with local and domain credentials
metze
(This used to be commit 79c1133467)
2007-10-10 14:51:55 -05:00
Stefan Metzmacher
0f50e7b812 r22625: hopefully fix make test on solaris
metze
(This used to be commit 32c805919f)
2007-10-10 14:51:55 -05:00
Stefan Metzmacher
614cb1e9db r22624: - configure other auth methods for the member server
- use the netbiosname as domain and realm for the provision
  of the member server

metze
(This used to be commit fdb08a5b9c)
2007-10-10 14:51:54 -05:00
Stefan Metzmacher
d67c96504c r22623: export SMB_CONF_PATH from selftest.pl
metze
(This used to be commit 6fb6666e42)
2007-10-10 14:51:54 -05:00
Stefan Metzmacher
f7e0935727 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
(This used to be commit f65fcd764b)
2007-10-10 14:51:54 -05:00
Stefan Metzmacher
a5df01c992 r22621: fix the 'sam' auth module
metze
(This used to be commit 255acbb113)
2007-10-10 14:51:54 -05:00
Stefan Metzmacher
a475bfdcca r22620: fix compiler warnings
metze
(This used to be commit b7adc88e74)
2007-10-10 14:51:53 -05:00
Stefan Metzmacher
2c78837e34 r22619: fix pidl warnings
metze
(This used to be commit 4105e3db31)
2007-10-10 14:51:53 -05:00
Stefan Metzmacher
bab99337f8 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
(This used to be commit 3b3344f1df)
2007-10-10 14:51:53 -05:00
Stefan Metzmacher
118313f9a3 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
(This used to be commit 5abbb4673a)
2007-10-10 14:51:52 -05:00
Andrew Tridgell
b7e20c87e3 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.
(This used to be commit 946f5d09ae)
2007-10-10 14:51:52 -05:00
Andrew Bartlett
f5a94f978b r22612: Fix more cases where we have uninitialised values in the
composite_context, because we don't use the creation function.

Andrew Bartlett
(This used to be commit e37064e356)
2007-10-10 14:51:52 -05:00
Stefan Metzmacher
2c65bbc984 r22610: fix build with included popt
metze
(This used to be commit aece281c3b)
2007-10-10 14:51:52 -05:00
Stefan Metzmacher
49aee27f86 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
(This used to be commit 924102aa1d)
2007-10-10 14:51:51 -05:00
Stefan Metzmacher
950ba8f3d4 r22608: use a shorter share name as testparm complained about
a share name longer than 12 chars

metze
(This used to be commit f8c1b561e9)
2007-10-10 14:51:51 -05:00
Stefan Metzmacher
3c3869cea6 r22607: work with the solaris version of popt
metze
(This used to be commit c992e882b5)
2007-10-10 14:51:51 -05:00
Stefan Metzmacher
16df1115fe r22606: don't every try to prompt within make test...
metze
(This used to be commit eb0f257cd1)
2007-10-10 14:51:51 -05:00
Jelmer Vernooij
c0ac3d26ab r22605: Set up all required environments before starting tests.
(This used to be commit adf835a324)
2007-10-10 14:51:50 -05:00
Jelmer Vernooij
b481b29a1a r22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal.
(This used to be commit 5ff665b653)
2007-10-10 14:51:50 -05:00
Stefan Metzmacher
b8bba729dd r22601: run net join with the correct socket_wrapper and krb5 configuration
metze
(This used to be commit 3064d881e3)
2007-10-10 14:51:50 -05:00
Jelmer Vernooij
42cf31f3c6 r22600: Update bzr ignores, put right version in .pc files, prepare for support of system versions of tdb, talloc.
(This used to be commit 9b991ce9ca)
2007-10-10 14:51:50 -05:00
Jelmer Vernooij
d8e28e1f6d r22599: Document member server.
(This used to be commit 4ef937a08d)
2007-10-10 14:51:49 -05:00