Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-23 | libreplace: fixed the strptime() waf test | Andrew Tridgell | 1 | -8/+2 | |
Thanks to Jelmer for pointing this out | |||||
2010-08-22 | Use DocBook DTD rather than Samba one, as no Samba-specific things are | Jelmer Vernooij | 3 | -3/+3 | |
used in the tdb manpages. | |||||
2010-08-17 | smbtorture: Emit correct test results if setup fails. | James Peach | 1 | -15/+31 | |
If the test setup fails, we still need to format the test result for the UI. At leas in the subunit case, the format doesn't specify what to do here, so we fail every test manually with the setup failure message. | |||||
2010-08-17 | s3: Fix a ton of type-punned warnings | Volker Lendecke | 1 | -4/+4 | |
2010-08-15 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2010-08-14 | talloc:documentation - explain that "talloc_free" works also with "NULL" ↵ | Matthias Dieter Wallnöfer | 2 | -14/+26 | |
pointers (talloc.c) ... > static inline int _talloc_free_internal(void *ptr, const char *location) > { > struct talloc_chunk *tc; > > if (unlikely(ptr == NULL)) { > return -1; > } > > tc = talloc_chunk_from_ptr(ptr); ... Obviously this never had been documented before. | |||||
2010-08-14 | tdb: workaround starvation problem in locking entire database. | Rusty Russell | 4 | -19/+131 | |
We saw tdb_lockall() take 71 seconds under heavy load; this is because Linux (at least) doesn't prevent new small locks being obtained while we're waiting for a big log. The workaround is to do divide and conquer using non-blocking chainlocks: if we get down to a single chain we block. Using a simple test program where children did "hold lock for 100ms, sleep for 1 second" the time to do tdb_lockall() dropped signifiantly. There are ln(hashsize) locks taken in the contended case, but that's slow anyway. More analysis is given in my blog at http://rusty.ozlabs.org/?p=120 This may also help transactions, though in that case it's the initial read lock which uses this gradual locking routine; the update-to-write-lock code is separate and still tries to update in one go. Even though ABI doesn't change, minor version bumped so behavior change can be easily detected. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2010-08-13 | tdb: add TDB_DEPS variable filled with required libraries | Björn Jacke | 4 | -8/+21 | |
This is required for Solaris, which needs to link in librt to make use of fdatasync(). | |||||
2010-07-29 | Fix tdb_check() to work with read-only tdb databases. The function ↵ | Jeremy Allison | 1 | -3/+3 | |
tdb_lockall() uses F_WRLCK internally, which doesn't work on a fd opened with O_RDONLY. Use tdb_lockall_read() instead. Jeremy. | |||||
2010-07-26 | lib: added samba-util.pc creation | Andrew Tridgell | 2 | -1/+13 | |
Thanks to Brad Hards for this patch | |||||
2010-07-17 | s4 nss_switch: fix build problem on computer without the iniparser | Matthieu Patou | 1 | -1/+1 | |
Although the build was ok on my workstation it appears that on build server it was not because the include path was not correct. | |||||
2010-07-17 | s4-waf: add the missing bits for builing nss_winbind and pam_winbind | Matthieu Patou | 1 | -0/+7 | |
This is something that was not picked up during the migration to waf | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 3 | -12/+12 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-11 | tsocket: Fix some unreachable code | Volker Lendecke | 1 | -2/+1 | |
2010-07-01 | tdb: fix the build on mac os x 10.6.4. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2010-06-28 | nss_wrapper: Fixed a possible NULL pointer problem. | Andreas Schneider | 1 | -1/+1 | |
2010-06-25 | Move UCS2 macros to common code | Jelmer Vernooij | 1 | -0/+23 | |
2010-06-24 | s4-ldb: use CHECK_XSLTPROC_MANPAGES() | Andrew Tridgell | 1 | -2/+1 | |
2010-06-24 | s4-python: python is not always in /usr/bin | Andrew Tridgell | 1 | -1/+1 | |
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-21 | smbtorture: Move interactive shell into a separate file. | James Peach | 2 | -2/+2 | |
2010-06-21 | tsocket: Fix some type-punned warnings | Volker Lendecke | 1 | -2/+2 | |
2010-06-19 | pytdb: Cleanup formatting. | Jelmer Vernooij | 1 | -3/+8 | |
2010-06-19 | wafsamba: Fix typo: noextenion -> noextension. | Jelmer Vernooij | 3 | -3/+3 | |
2010-06-18 | replace: Avoid hiding symbols when libreplace is builtin, as this | Jelmer Vernooij | 1 | -1/+5 | |
appears to cause unresolved symbols at the moment. | |||||
2010-06-16 | lib/crypto: only include what is needed. | Günther Deschner | 11 | -10/+15 | |
Guenther | |||||
2010-06-13 | librpc: Install the right headers. | Jelmer Vernooij | 1 | -1/+1 | |
2010-06-10 | Since idtree assigns sequentially, it rarely reaches high numbers. | Rusty Russell | 1 | -3/+5 | |
But such numbers can be forced with idr_get_new_above(), and that reveals two bugs: 1) Crash in sub_remove() caused by pa array being too short. 2) Shift by more than 32 in _idr_find(), which is undefined, causing the "outside the current tree" optimization to misfire and return NULL. | |||||
2010-06-10 | tevent: Fix maxfd calculation in tevent_select | Volker Lendecke | 1 | -1/+2 | |
When doing fd1 = tevent_add_fd(ev, ev, 2, 0, NULL, NULL); fd2 = tevent_add_fd(ev, ev, 3, 0, NULL, NULL); TALLOC_FREE(fd2); fd2 = tevent_add_fd(ev, ev, 1, 0, NULL, NULL); we end up with select_ev->maxfd==1. This is wrong. An alternative fix might be to make select_ev->maxfd an unsigned int and make EVENT_INVALID_MAXFD==UINT_MAX. But in theory we might end up with an fd of UINT_MAX. std_event_add_fd() contains exactly the same piece of code, so I'm directly pushing it. Volker | |||||
2010-06-03 | libreplace: Fix readline build with libedit. | James Peach | 1 | -1/+7 | |
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef, but uses a internal typedef names CPPFunction. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-06-01 | lib/replace: fix some c++ build warnings in testsuite. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2010-05-31 | talloc: Don't set is_bundled for standalone build. | Jelmer Vernooij | 1 | -2/+4 | |
2010-05-31 | Add manpages argument to SAMBA_LIBRARY(). | Jelmer Vernooij | 1 | -17/+2 | |
2010-05-31 | tdb-waf: Don't install binaries when using system tdb. | Jelmer Vernooij | 1 | -17/+17 | |
2010-05-31 | tdb-waf: Simplify manpage handling. | Jelmer Vernooij | 1 | -17/+4 | |
2010-05-31 | s4-waf: sanitize library names like the old build system did, only add | Jelmer Vernooij | 4 | -5/+7 | |
-samba4 suffix for libraries that are bundled. | |||||
2010-05-30 | libreplace: include sys/file.h only when available | Björn Jacke | 3 | -2/+4 | |
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460. | |||||
2010-05-30 | nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" calls | Matthias Dieter Wallnöfer | 1 | -1/+5 | |
This should fix bug #7319 and #7320. | |||||
2010-05-24 | fix a typo | Volker Lendecke | 1 | -1/+1 | |
2010-05-20 | s3-waf: move the KRB5_DEPRECATED check into lib/replace | Andrew Tridgell | 1 | -1/+1 | |
this needs to be with the krb5.h check | |||||
2010-05-20 | build: Don't look for krb5.h in libreplace | Kai Blin | 1 | -1/+1 | |
2010-05-19 | tsocket: Improve the language in some parts of the guide. | Simo Sorce | 1 | -41/+37 | |
2010-05-18 | Change data_blob() to be based on top of data_blob_talloc(), instead of the ↵ | Jeremy Allison | 1 | -15/+10 | |
reverse (as it is now). It makes no sense to talloc off the null context, then talloc steal into the required context - just talloc off the correct context, and change data_blob() to pass in the null context to data_blob_talloc(). Jeremy. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 3 | -21/+16 | |
2010-05-18 | smbconf: only include smbconf headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-14 | lib/util: fix waf configure tests for xattr functions on Mac OS 10. | Stefan Metzmacher | 1 | -4/+6 | |
metze | |||||
2010-05-12 | Install util/tevent_* public headers. Required by OpenChange for compiling IDL | Julien Kerihuel | 2 | -1/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-11 | tdb: commit ABI/tdb-1.2.2.sigs | Stefan Metzmacher | 1 | -0/+60 | |
metze | |||||
2010-05-11 | waf:libreplace: set _OSF_SOURCE to fix build on Tru64 | Björn Jacke | 1 | -0/+4 | |
2010-05-11 | tdb: remove unused variable in tdb_new_database(). | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-05-10 | tevent: Added a description for tevent queue. | Andreas Schneider | 1 | -0/+9 | |