Age | Commit message (Collapse) | Author | Files | Lines |
|
irpc_servers_byname()
metze
(This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
|
|
metze
(This used to be commit cd958034df67a606492b69e55f1f4bc5fa95383b)
|
|
metze
(This used to be commit d907fb26a7b0a6543a4bf0b848327a0b7d0da9fa)
|
|
(This used to be commit 7240c2d7e30968b751d944f8a9a50573fcbe6671)
|
|
(This used to be commit 40d6235b2491462bae480415e2ae075c041b3b7e)
|
|
rafal
(This used to be commit 6d4268bcd3c28ed2928e68aea567517a671e314a)
|
|
- close connection handle after domains enumeration
- collect domain names in subsequent rounds of enumeration
(if there are more than one)
rafal
(This used to be commit 5ab76ce515c9b0524529e8e3607e991aff0fd7be)
|
|
metze
(This used to be commit d8440f0579a87e7edff466269bc1dfab8796af34)
|
|
metze
(This used to be commit 0397eca102e17d2da726d1669e3ff6d925e50e89)
|
|
fixes the code to support both...
the problem is that we always add EXT::TALLOC in config.mk
before 'include lib/talloc/config.mk'
metze
(This used to be commit fa5b22e0c63f8fb06bfee1cfd7ca20cf5c34f1d4)
|
|
.m4 files only once
metze
(This used to be commit 81f906537dc6db6357b1eca1f506bb1b1153c56f)
|
|
(This used to be commit 05ca6ecef70b0e66348b479badcb77d0a0bef9f2)
|
|
(This used to be commit 4d3f02e845577be4a995398dbc5322da8d470009)
|
|
(This used to be commit 3a2f9e0977bc311daa8171ea709a9cbcdd0a0c85)
|
|
spotted by Volker
(This used to be commit e24812016f60f506f0df2cb5ba8c2c6987f7da40)
|
|
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 75ba82dee052fa5f4141e66e1cb748101aa95d71)
|
|
(This used to be commit 0b34da929f2a482c6470a18a6b365634cb1f5b22)
|
|
(This used to be commit 582e743e68a1dbfafe06e7e283ff998140149ae7)
|
|
code on the 2nd run.
thanks volker for finding this!
metze
(This used to be commit 00ccc217da62a7f4125f28e77030ae526d573f3a)
|
|
(This used to be commit 532f28724dcc9e0fe7051e27d145469398041101)
|
|
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
|
|
(This used to be commit 3c46831f66136896b6b15c351442684ed20730d6)
|
|
rafal
(This used to be commit 969b175c739ca29b04c15a26a05f317703eed656)
|
|
(This used to be commit 12ce85aea16379b9946851806c1782272ee1c48f)
|
|
password set'
metze
(This used to be commit 9bbe4733562a8fc6fe49377a47e482a14a6efc61)
|
|
(This used to be commit 331a0f608f3ae2199a8e3290d79d3a0623fb8a35)
|
|
metze
(This used to be commit b5c84460fc8599fbd894bcf8c4f7b440e2424af1)
|
|
(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)
|