summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22681: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij46-130/+110
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10r22668: Fix ldb buildJelmer Vernooij1-2/+0
(This used to be commit 331a0f608f3ae2199a8e3290d79d3a0623fb8a35)
2007-10-10r22665: Change version back to 0.9.Jelmer Vernooij1-1/+3
(This used to be commit 5037373c4c788ed5a74fbc90a190dd8245fe2029)
2007-10-10r22661: optimize the handling of directly triggered timed events:Stefan Metzmacher6-48/+60
- 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)
2007-10-10r22658: - add AC_GNU_SOURCE macro for systems which don't have itStefan Metzmacher2-1/+14
(sles8) - fix compiler warning on some systems metze (This used to be commit 2097ac64fc5b2b7e9a8221861a788c4a5f44948a)
2007-10-10r22642: Allow standalone build to work without tdb or talloc checked out, butJelmer Vernooij6-1/+178
provided by the system. (This used to be commit bdde74055121ac538f6006750c94b514e962619d)
2007-10-10r22637: Install tdbbackup and tdbdump again.Jelmer Vernooij2-3/+3
(This used to be commit 8197cb975ec8ed92f10782cef20ff4373d6d6965)
2007-10-10r22634: make the events system much less dependent on the samba4 build systemAndrew Tridgell8-21/+69
(This used to be commit b0c8c1cd21e3f91431504d70a4bc0d3c6dee6071)
2007-10-10r22632: merged volkers select events fixAndrew Tridgell1-1/+2
(This used to be commit 216aa06fe634f98dce3f157e67303e90ddb70e2d)
2007-10-10r22629: if irpc gets freed within event_loop_once() we crash...Stefan Metzmacher2-1/+14
so deferr the freeing metze (This used to be commit 3a30bc0d6137fe2b7440106b35dd0a9175cc8057)
2007-10-10r22622: make it possible to pass the config file via 'SMB_CONF_PATH' envvarStefan Metzmacher1-0/+4
very usefull for make testenv! this makes it also possible to pass a config file to smbscript metze (This used to be commit f65fcd764b656ba9953d88dc7b002e4977af5011)
2007-10-10r22610: fix build with included poptStefan Metzmacher1-1/+1
metze (This used to be commit aece281c3b99252d55a4b7ced6548101a45361a8)
2007-10-10r22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal.Jelmer Vernooij2-2/+2
(This used to be commit 5ff665b6531fdb4c7e56c49b7f923546d93b384c)
2007-10-10r22600: Update bzr ignores, put right version in .pc files, prepare for ↵Jelmer Vernooij10-19/+28
support of system versions of tdb, talloc. (This used to be commit 9b991ce9ca28b3d88c778305ec5f681506162637)
2007-10-10r22598: Simplify includes for replace.Jelmer Vernooij5-5/+6
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
2007-10-10r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.Jelmer Vernooij3-2/+17
This should make it easier to allow use of system tdb or talloc libs using pkg-config. (This used to be commit a3ec90a2635d47e5c073e873c15daab4a8ef5400)
2007-10-10r22595: Add version numbers.Jelmer Vernooij2-2/+2
(This used to be commit 54cc097e0f8ca880c6c370e712ce427cefb16f08)
2007-10-10r22563: As tridge requested remove the _strict calls - for Samba3 I'm movingJeremy Allison2-105/+0
to a separate file. Jeremy. (This used to be commit 80706cf98d31593a899652acb2cdedaa8bf3dfab)
2007-10-10r22559: Make the ad2OLschema tool case insensitive.Andrew Bartlett1-6/+6
Andrew Bartlett (This used to be commit ddcca38c65c12a4e6a49151296ab36a458c53cb6)
2007-10-10r22557: Simo has long bugged me that the paths in the sam.ldb partitions wereAndrew Bartlett1-1/+11
not relative to the location of the sam.ldb, but instead lp_private_dir(). This fixes that issue. Andrew Bartlett (This used to be commit c0fd6f63399d55a1938e31ae7b10689cc02ff2fa)
2007-10-10r22541: Added talloc_size_strict macro.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 219e1cae7792a5da886212f335ed11a35f28b3eb)
2007-10-10r22540: Added _strict varients of the macro calls - addedJeremy Allison1-0/+6
prototypes. Jeremy. (This used to be commit ba1a66cc6febed8b9c809c59562414675df5f74e)
2007-10-10r22539: Added _strict varients of the talloc calls toJeremy Allison2-1/+96
return NULL on size == 0 varients. Jeremy. (This used to be commit 1ef269067ca501e2a4ded4ca8654c6a6cc26f385)
2007-10-10r22518: Create pkgconfig dir.Jelmer Vernooij1-0/+1
(This used to be commit 17e9c56a75264e77a9cab130890ad97618442301)
2007-10-10r22517: Use DESTDIRJelmer Vernooij1-7/+7
(This used to be commit 4614da125fe3ce87ab59bc583aa95fa73beebaab)
2007-10-10r22516: Use DESTDIRJelmer Vernooij1-7/+7
(This used to be commit d0f8d46813ea0b633cb40c9a77b90f34307cb2ab)
2007-10-10r22514: Add version numbers to tdb and talloc (required so they can be ↵Jelmer Vernooij2-2/+2
packaged independent of Samba for Debian). (This used to be commit 846cfcf44df07457d228c9a5afab743e071ab7aa)
2007-10-10r22503: Add support for dgram to socket_ipv6. No tests yet...Jelmer Vernooij1-3/+99
(This used to be commit 2f64b758460a3bde6c7b4a240998fb76bd6e0827)
2007-10-10r22497: Support renaming objectclasses and attributes for the LDAP backend.Andrew Bartlett1-17/+65
OpenLDAP is fussy about operational attributes in user-supplied schema. Andrew Bartlett (This used to be commit d7cd4b768a7f56ced8ed94b9a63d01865ba7d10a)
2007-10-10r22488: Hopefully fix ipv6.Jelmer Vernooij1-3/+16
(This used to be commit 7a0da66e39fde8c06ab8af94a14113141076c969)
2007-10-10r22476: The OID match is used very oddly in AD, as it is often used for fieldsAndrew Bartlett1-0/+9
that contain attribute names and objectClasses. Make it a case insensitive string for now. Andrew Bartlett (This used to be commit 9908a05ef70c748c699b5a18178e7948f7814d7a)
2007-10-10r22475: Rather than segfault, show the name of the malformed entry.Andrew Bartlett1-0/+6
Andrew Bartlett (This used to be commit e1536014a05645fd2300de5152e966aa1e067436)
2007-10-10r22474: If ldb does not return sucess, then the res variable may not be valid.Andrew Bartlett1-2/+0
It *should* just be NULL from the initialisation above, but I've had this not be the case... Andrew Bartlett (This used to be commit a2848dbf1fa9eafdef93bd914b12ff2f9f223a70)
2007-10-10r22471: Convert more code to use proper LDB error codes.Simo Sorce4-160/+163
This is a 1 to 1 convertion, next step is to make this code report an error if the basedn is not used, hopefully avoiding an explicit search on the base object in the most common cases. (This used to be commit 50534c84b4577b2d32565a74a4716088f706bfea)
2007-10-10r22424: fixed the bad merge (thanks to metze for pointing out)Andrew Tridgell2-3/+3
(This used to be commit bffb8f88006fd2530cad270df642d9a23a01b34b)
2007-10-10r22422: merged tdb changes from ctdbAndrew Tridgell5-8/+34
(This used to be commit a0ff739bcab32065d9d3957eb1d93f7791f84f04)
2007-10-10r22415: Remove test directory once we are finished. Merge -r 22393:22394James Peach1-0/+2
from SAMBA_3_0. (This used to be commit a8fe3c34e2964c7080ec3702b53ec141d58b7e5f)
2007-10-10r22404: more dependencies which should be privateStefan Metzmacher3-16/+11
metze (This used to be commit e0e35965d1eaab182941d17da744b70c4234ca52)
2007-10-10r22379: add missing fileStefan Metzmacher1-0/+94
metze (This used to be commit 893b6f56b6aef14de7b54c57c23b8a2f885ba6ce)
2007-10-10r22373: move in_list() to util_strlist.c to remove the dependencyStefan Metzmacher2-24/+25
from util.o to next_token() and strcasecmp_m() with this the pidl tests link better on some hosts metze (This used to be commit 54bfc1dccc40883d602402865eff3cfae676e9af)
2007-10-10r22372: split out become_daemon() into it's own functionStefan Metzmacher2-67/+2
this remove the dependency of util.o to swrap_close which causes sometrouble with the pidl tests on some hosts metze (This used to be commit 8cd36c47aaf1098876bceb314cb0a1f39369cb46)
2007-10-10r22371: readd discard_const() to lib/util/util.hStefan Metzmacher1-0/+27
metze (This used to be commit 76fbe90596f5f26c09185129d9a4f3e2b42428e1)
2007-10-10r22369: add ZERO_STRUCT() ... macros to lib/util/util.h againStefan Metzmacher1-0/+41
to fix the openchange build... we need to remove them from libreplace, but I'll think about that next week. metze (This used to be commit 2243142b46e20825339b4f6ed0e878c18e50e45f)
2007-10-10r22368: remove unused header maybe this fixes th ebuild on some hostsStefan Metzmacher1-1/+0
metze (This used to be commit 3fbf80e5bb8e97e7e0387c2f0282d69e76e8e43c)
2007-10-10r22367: prepare merge to samba3Stefan Metzmacher1-0/+4
metze (This used to be commit 8da55d6a64925f55f313c928d0441ff607ab3c07)
2007-10-10r22365: prepare merge to samba3Stefan Metzmacher1-2/+2
metze (This used to be commit 6780c234275b29192c49bf6d45204b0ac458faaf)
2007-10-10r22319: sync lib/tdb/ with samba3Stefan Metzmacher7-26/+243
metze (This used to be commit 8f24f6b38e967075589529a08c68a1a56f9f0499)
2007-10-10r22306: try to make the aix compiler happyStefan Metzmacher2-4/+4
metze (This used to be commit 44e1459373821adf4ed41a814a1be238442e37fb)
2007-10-10r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplaceStefan Metzmacher3-25/+35
metze (This used to be commit b69c950858d837d7bd734d418129ade69106a00d)
2007-10-10r22279: add a lot more detailed strtoll() and strtoull() testsStefan Metzmacher1-56/+254
metze (This used to be commit 8b6d9076040b27fb13b99209116973f5abcec667)