Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-06 | fix a segfault in the notify subsystem | Christian Ambach | 1 | -5/+16 | |
When the notify_array cannot be loaded correctly, do not keep the half-baked parsing results in the global variable. This can lead to segfaults next time notify_load is entered and the seqnum has not changed. This has been seen in a case where mixed smbd versions were running in a CTDB cluster (versions with and w/o commit c216d1e6 that changed the notify_entry structure). There will be missed notifications until all smbds are at the same software level, but this should be acceptable and is better than crashing and interrupting client operations. This fix cleans up the notify_array, removes the unparseable data from the TDB and returns a fresh notify_array that can be worked with. The NDR_PRINT_DEBUG had to be moved to only be called when the parsing succeeded, it was seen to cause additional segfaults. The status variable is intentionally left to NT_STATUS_OK to not make callers abort and report errors to the clients and make them disconnect. Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> | |||||
2010-04-06 | s4-python: Move set_session_info to PySambaLdb. | Jelmer Vernooij | 6 | -33/+44 | |
2010-04-06 | s4-python: Move register_samba_handlers to PySambaLdb. | Jelmer Vernooij | 3 | -27/+44 | |
2010-04-06 | s4-python: Move ldb_set_utf8_casefold to pyldb-samba. | Jelmer Vernooij | 4 | -31/+21 | |
2010-04-06 | s4-python: Move set_opaque_integer to pyldb. | Jelmer Vernooij | 2 | -66/+65 | |
2010-04-06 | Move glue.set_credentials hack to samba.Ldb. | Jelmer Vernooij | 3 | -27/+26 | |
2010-04-06 | Add C-based Samba-specific subclass of Ldb. | Jelmer Vernooij | 6 | -36/+105 | |
2010-04-06 | s4-build: remove any 'makefile' that may have been left by the waf build | Andrew Tridgell | 1 | -0/+3 | |
this allows ./autogen.sh to be used to switch back to the old build system after trying the waf build | |||||
2010-04-06 | build: use a target_in_list() function for more flexible builtin control | Andrew Tridgell | 1 | -3/+14 | |
2010-04-06 | build: cope with binaries with subdir prefixes (for s3 waf build) | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | s4-waf: don't need TOUCH_FILE() any more | Andrew Tridgell | 1 | -1/+0 | |
2010-04-06 | build: run distcheck in testwaf.sh | Andrew Tridgell | 1 | -0/+1 | |
2010-04-06 | s4-waf: add subdir argument to distcheck for source4 | Andrew Tridgell | 1 | -0/+7 | |
2010-04-06 | build: update version of waf to add subdir argument to distcheck | Andrew Tridgell | 1 | -0/+0 | |
2010-04-06 | s4-waf: replace TOUCH_FILE() with normal install rules | Andrew Tridgell | 3 | -18/+6 | |
this allows it to work with 'waf uninstall' | |||||
2010-04-06 | build: simpler symlink_bin and symlink_lib methods | Andrew Tridgell | 1 | -22/+20 | |
2010-04-06 | s4-waf: fixed waf distcheck for our standalone libs and s4 | Andrew Tridgell | 6 | -5/+31 | |
2010-04-06 | s4-waf: added simple 'waf test' support for tdb, talloc and ldb | Andrew Tridgell | 4 | -4/+22 | |
2010-04-06 | s4-waf: added python_dsdb from merge with master | Andrew Tridgell | 1 | -0/+5 | |
2010-04-06 | build: fixed LOAD_ENVIRONMENT for out of tree builds | Andrew Tridgell | 1 | -1/+2 | |
2010-04-06 | s4-waf: autogen-waf.sh for the standalone library builds | Andrew Tridgell | 5 | -0/+110 | |
2010-04-06 | s4-waf: new autogen-waf.sh | Andrew Tridgell | 4 | -26/+28 | |
this one will work with the tdb, talloc, etc directories | |||||
2010-04-06 | s4-waf: use a common pattern for finding buildtools and libs | Andrew Tridgell | 4 | -55/+38 | |
2010-04-06 | s4-waf: move to a universal method of recursing into subdirs | Andrew Tridgell | 20 | -193/+211 | |
This works with both standalone lib builds and bundled builds | |||||
2010-04-06 | s4-waf: fixed finding of buildtools and srcdir | Andrew Tridgell | 5 | -38/+38 | |
2010-04-06 | ldb-waf: fixed buildtools path | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | s4-waf: avoid having to run waf configure before waf dist | Andrew Tridgell | 8 | -25/+42 | |
This should be useful for building tarballs from a clean checkout | |||||
2010-04-06 | build: nicer error msg when git ls-files fails | Andrew Tridgell | 1 | -1/+5 | |
2010-04-06 | s4-waf: allow standalone tarball build of libraries | Andrew Tridgell | 4 | -7/+35 | |
2010-04-06 | s4-waf: added 'waf dist' to our standalone libs as well | Andrew Tridgell | 6 | -6/+16 | |
2010-04-06 | s4-waf: added 'waf dist' to build the tarball | Andrew Tridgell | 4 | -2/+89 | |
2010-04-06 | build: removed some unused imports found by pyflakes | Andrew Tridgell | 3 | -4/+2 | |
thanks to Jelmer for pointing me at pyflakes | |||||
2010-04-06 | talloc-waf: install talloc.pc if standalone | Andrew Tridgell | 1 | -0/+8 | |
2010-04-06 | build: fixed the expansions in pkgconfig files | Andrew Tridgell | 1 | -1/+7 | |
thanks to Jelmer for the hint on this | |||||
2010-04-06 | build: fixed DESTDIR for TOUCH_FILE() | Andrew Tridgell | 2 | -2/+8 | |
2010-04-06 | build: waf update to fix macos build error | Andrew Tridgell | 1 | -0/+0 | |
2010-04-06 | build: try to fix the python link problem on SerNet-imini | Andrew Tridgell | 1 | -0/+0 | |
2010-04-06 | build: use waf from waf-svn.git repo | Andrew Tridgell | 2 | -0/+16 | |
Added README explaining where waf comes from, and where to get the upstream sources and the exact version we use in Samba | |||||
2010-04-06 | build: try the generic C compiler on hpux if gcc not found | Andrew Tridgell | 1 | -0/+1 | |
2010-04-06 | build: update wav-svn | Andrew Tridgell | 1 | -0/+0 | |
this version works around the tarfile problem on irix | |||||
2010-04-06 | build: added 'generic' cc support and a simple irix cc support module | Andrew Tridgell | 4 | -1/+150 | |
these will let us get past the 'detect cc' stage and try a build. It also makes for a reasonable template for new ports | |||||
2010-04-06 | build: initial version of a tru64 compiler module | Andrew Tridgell | 2 | -0/+78 | |
this doesn't do shared libs yet, but at least configure passes | |||||
2010-04-06 | pidl-waf: disable pidl manpages | Andrew Tridgell | 1 | -1/+1 | |
it's still causing trouble in the build farm | |||||
2010-04-06 | pidl-waf: better handling of the man page generation | Andrew Tridgell | 2 | -10/+14 | |
we now avoid leaving build files in the source tree | |||||
2010-04-06 | pidl-waf: build pidl man pages and parsers separately | Andrew Tridgell | 1 | -9/+14 | |
this should prevent gratuitious builds | |||||
2010-04-06 | build: don't depend on the blib/ files in SAMBA_PIDL() | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | talloc-waf: match version number with main build | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: loop until all object reductions are complete | Andrew Tridgell | 1 | -2/+14 | |
we will issue a warning if any object duplication remains | |||||
2010-04-06 | build: make sure the directory exists in TOUCH_FILE() | Andrew Tridgell | 1 | -0/+1 | |
2010-04-06 | build: nicer display of command type for prototypes and generators | Andrew Tridgell | 2 | -0/+12 | |