Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 5037373c4c788ed5a74fbc90a190dd8245fe2029)
|
|
metze
(This used to be commit 75d5155cd33096aea0dc31dfa596769eb923299d)
|
|
- 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 4db64b4ce2320b88d648078cbf86385f6fb44f1f)
|
|
(sles8)
- fix compiler warning on some systems
metze
(This used to be commit 2097ac64fc5b2b7e9a8221861a788c4a5f44948a)
|
|
provided by the system.
(This used to be commit bdde74055121ac538f6006750c94b514e962619d)
|
|
- fix compiler warning about unused ';'
metze
(This used to be commit 715060187f482486f00e2d6b2cd62d2a0e215a2f)
|
|
(This used to be commit 8197cb975ec8ed92f10782cef20ff4373d6d6965)
|
|
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 f0a12355bcfab47663e62f3d8ae820815210cdc5)
|
|
(This used to be commit b0c8c1cd21e3f91431504d70a4bc0d3c6dee6071)
|
|
(This used to be commit 216aa06fe634f98dce3f157e67303e90ddb70e2d)
|
|
so deferr the freeing
metze
(This used to be commit 3a30bc0d6137fe2b7440106b35dd0a9175cc8057)
|
|
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 55306c618807f2661090d2189e269cb3e142ee06)
|
|
and we don't need an extra allocated string anyway
metze
(This used to be commit 44c27b2fe6f130332d9f7c6bdd901eb025aa3eff)
|
|
metze
(This used to be commit 79c1133467cca54bc6b647ca74744e0be7bb9f81)
|
|
metze
(This used to be commit 32c805919faaeeaa0bfd0ede775c7f077bc89cd0)
|
|
- use the netbiosname as domain and realm for the provision
of the member server
metze
(This used to be commit fdb08a5b9cd00f8ad5bfd753733a9b390a870853)
|
|
metze
(This used to be commit 6fb6666e42b78bce57feaccb9a74231074f0abce)
|
|
very usefull for make testenv!
this makes it also possible to pass a config file to smbscript
metze
(This used to be commit f65fcd764b656ba9953d88dc7b002e4977af5011)
|
|
metze
(This used to be commit 255acbb1132891e0316a38f1d4721863bb7a7226)
|
|
metze
(This used to be commit b7adc88e743308742545f3ee6710f8c0bfa197d8)
|
|
metze
(This used to be commit 4105e3db317b124bb9c708d508895756c9c0c5a3)
|
|
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 3b3344f1df000974ad89bf370e99fd6b6dc42000)
|
|
'declare' this should fix the problem with the winbind IRPC calls
metze
(This used to be commit 5abbb4673a49a9dee4002cc6f2ee8180b85cb5e5)
|
|
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 946f5d09ae204348026170173cf2bfd30d49e4f2)
|
|
composite_context, because we don't use the creation function.
Andrew Bartlett
(This used to be commit e37064e356c17d0c87bb7fa7adf0c0d04d8daba2)
|
|
metze
(This used to be commit aece281c3b99252d55a4b7ced6548101a45361a8)
|
|
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 924102aa1d413c002676824cf7019db0efe6f55a)
|
|
a share name longer than 12 chars
metze
(This used to be commit f8c1b561e997e1d6878dde80b0eef732111cbd6d)
|
|
metze
(This used to be commit c992e882b53525fea995c68be668ba939671139c)
|
|
metze
(This used to be commit eb0f257cd16e0191f5430a233f268bd01e46b2e1)
|
|
(This used to be commit adf835a32440b4a531ce27a78920df945eca1ba8)
|
|
(This used to be commit 5ff665b6531fdb4c7e56c49b7f923546d93b384c)
|
|
metze
(This used to be commit 3064d881e3dd029816d7111d579ad06766393184)
|
|
support of system versions of tdb, talloc.
(This used to be commit 9b991ce9ca28b3d88c778305ec5f681506162637)
|
|
(This used to be commit 4ef937a08dcf9dde3cd308cadfba467c9297abe2)
|
|
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
|
|
metze
(This used to be commit f7a3d78fef8755cba3b23c5fd4b68b44d6fa3ebd)
|
|
This should make it easier to allow use of system tdb or talloc libs using
pkg-config.
(This used to be commit a3ec90a2635d47e5c073e873c15daab4a8ef5400)
|
|
(This used to be commit 54cc097e0f8ca880c6c370e712ce427cefb16f08)
|
|
it any more.
Andrew Bartlett
(This used to be commit 367231ea2103b6442ecf8333cb7150dfd98c79f4)
|
|
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
(This used to be commit bd26e4ffaf1c060fdc3aae28fd4393e83c5a83ea)
|
|
we should maybe disable them complete they're protocol scanners!
and take more than 400s each
metze
(This used to be commit 592d2c0017eefe6d08f7685122cfb99aa03d6df4)
|
|
metze
(This used to be commit 57939600ee954c7510d8219200d3c759fbb69372)
|
|
metze
(This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)
|
|
as discussed with jelmer and abartlet
metze
(This used to be commit e9fe3c40e10accb63d7a2124d3a7e77e499c4209)
|
|
(This used to be commit b5afec8b828e1aba231501b68aa4196b94a87c32)
|
|
- use different passwords for dc and member
metze
(This used to be commit 9e882cbde232e5945c77eb162645328146023bee)
|
|
metze
(This used to be commit 307cee21e4fd56150bdee9f1bbc2a1f2c2440afc)
|
|
$SERVER from localhost to localdc.
we should find out why this is needed and add explicit name resolution
in related code...
metze
(This used to be commit 8336e85aad03deb6fffe89c0a770fb05c2319c8e)
|
|
$SERVER from localhost to localdc
mimir: please take a look why that's needed at all, as it shouldn't:-)
metze
(This used to be commit b06a9a00cf8414b13c16550a8156dba65c5dd7ea)
|