summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06fix a segfault in the notify subsystemChristian Ambach1-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-06s4-python: Move set_session_info to PySambaLdb.Jelmer Vernooij6-33/+44
2010-04-06s4-python: Move register_samba_handlers to PySambaLdb.Jelmer Vernooij3-27/+44
2010-04-06s4-python: Move ldb_set_utf8_casefold to pyldb-samba.Jelmer Vernooij4-31/+21
2010-04-06s4-python: Move set_opaque_integer to pyldb.Jelmer Vernooij2-66/+65
2010-04-06Move glue.set_credentials hack to samba.Ldb.Jelmer Vernooij3-27/+26
2010-04-06Add C-based Samba-specific subclass of Ldb.Jelmer Vernooij6-36/+105
2010-04-06s4-build: remove any 'makefile' that may have been left by the waf buildAndrew Tridgell1-0/+3
this allows ./autogen.sh to be used to switch back to the old build system after trying the waf build
2010-04-06build: use a target_in_list() function for more flexible builtin controlAndrew Tridgell1-3/+14
2010-04-06build: cope with binaries with subdir prefixes (for s3 waf build)Andrew Tridgell1-1/+1
2010-04-06s4-waf: don't need TOUCH_FILE() any moreAndrew Tridgell1-1/+0
2010-04-06build: run distcheck in testwaf.shAndrew Tridgell1-0/+1
2010-04-06s4-waf: add subdir argument to distcheck for source4Andrew Tridgell1-0/+7
2010-04-06build: update version of waf to add subdir argument to distcheckAndrew Tridgell1-0/+0
2010-04-06s4-waf: replace TOUCH_FILE() with normal install rulesAndrew Tridgell3-18/+6
this allows it to work with 'waf uninstall'
2010-04-06build: simpler symlink_bin and symlink_lib methodsAndrew Tridgell1-22/+20
2010-04-06s4-waf: fixed waf distcheck for our standalone libs and s4Andrew Tridgell6-5/+31
2010-04-06s4-waf: added simple 'waf test' support for tdb, talloc and ldbAndrew Tridgell4-4/+22
2010-04-06s4-waf: added python_dsdb from merge with masterAndrew Tridgell1-0/+5
2010-04-06build: fixed LOAD_ENVIRONMENT for out of tree buildsAndrew Tridgell1-1/+2
2010-04-06s4-waf: autogen-waf.sh for the standalone library buildsAndrew Tridgell5-0/+110
2010-04-06s4-waf: new autogen-waf.shAndrew Tridgell4-26/+28
this one will work with the tdb, talloc, etc directories
2010-04-06s4-waf: use a common pattern for finding buildtools and libsAndrew Tridgell4-55/+38
2010-04-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell20-193/+211
This works with both standalone lib builds and bundled builds
2010-04-06s4-waf: fixed finding of buildtools and srcdirAndrew Tridgell5-38/+38
2010-04-06ldb-waf: fixed buildtools pathAndrew Tridgell1-1/+1
2010-04-06s4-waf: avoid having to run waf configure before waf distAndrew Tridgell8-25/+42
This should be useful for building tarballs from a clean checkout
2010-04-06build: nicer error msg when git ls-files failsAndrew Tridgell1-1/+5
2010-04-06s4-waf: allow standalone tarball build of librariesAndrew Tridgell4-7/+35
2010-04-06s4-waf: added 'waf dist' to our standalone libs as wellAndrew Tridgell6-6/+16
2010-04-06s4-waf: added 'waf dist' to build the tarballAndrew Tridgell4-2/+89
2010-04-06build: removed some unused imports found by pyflakesAndrew Tridgell3-4/+2
thanks to Jelmer for pointing me at pyflakes
2010-04-06talloc-waf: install talloc.pc if standaloneAndrew Tridgell1-0/+8
2010-04-06build: fixed the expansions in pkgconfig filesAndrew Tridgell1-1/+7
thanks to Jelmer for the hint on this
2010-04-06build: fixed DESTDIR for TOUCH_FILE()Andrew Tridgell2-2/+8
2010-04-06build: waf update to fix macos build errorAndrew Tridgell1-0/+0
2010-04-06build: try to fix the python link problem on SerNet-iminiAndrew Tridgell1-0/+0
2010-04-06build: use waf from waf-svn.git repoAndrew Tridgell2-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-06build: try the generic C compiler on hpux if gcc not foundAndrew Tridgell1-0/+1
2010-04-06build: update wav-svnAndrew Tridgell1-0/+0
this version works around the tarfile problem on irix
2010-04-06build: added 'generic' cc support and a simple irix cc support moduleAndrew Tridgell4-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-06build: initial version of a tru64 compiler moduleAndrew Tridgell2-0/+78
this doesn't do shared libs yet, but at least configure passes
2010-04-06pidl-waf: disable pidl manpagesAndrew Tridgell1-1/+1
it's still causing trouble in the build farm
2010-04-06pidl-waf: better handling of the man page generationAndrew Tridgell2-10/+14
we now avoid leaving build files in the source tree
2010-04-06pidl-waf: build pidl man pages and parsers separatelyAndrew Tridgell1-9/+14
this should prevent gratuitious builds
2010-04-06build: don't depend on the blib/ files in SAMBA_PIDL()Andrew Tridgell1-1/+1
2010-04-06talloc-waf: match version number with main buildAndrew Tridgell1-1/+1
2010-04-06build: loop until all object reductions are completeAndrew Tridgell1-2/+14
we will issue a warning if any object duplication remains
2010-04-06build: make sure the directory exists in TOUCH_FILE()Andrew Tridgell1-0/+1
2010-04-06build: nicer display of command type for prototypes and generatorsAndrew Tridgell2-0/+12