Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-20 | pytalloc: ensure talloc_ctx is directly after PyObject_HEAD | Andrew Tridgell | 1 | -6/+6 | |
the talloc python interface for tp_alloc and tp_dealloc relies on a cast to a py_talloc_Object to find the talloc_ctx (see py_talloc_dealloc). This means we rely on the talloc_ctx for the object being directly after the PyObject_HEAD This fixes the talloc free with references bug in samba_dnsupdate The actual problem was the tp_alloc() call in PyCredentialCacheContainer_from_ccache_container() which used a cast from a py_talloc_Object to a PyCredentialCacheContainerObject. That case effectively changed the parent/child relationship between the talloc_ctx and the ccc ptr. This patch changes all the structures that follow this pattern to put the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if anyone else decides to do a dangerous cast like this that it won't cause the same sort of subtle breakage. Pair-Programmed-With: Rusty Russell <rusty@samba.org> | |||||
2010-04-20 | Removed more excess looping and fixed problem with incorrect IO flag handling. | Nadezhda Ivanova | 1 | -0/+33 | |
2010-04-18 | build: more adjustments for the ABI type name maps | Andrew Tridgell | 3 | -63/+3 | |
- use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI | |||||
2010-04-18 | s4-waf: rebuild signature files with the api type maps | Andrew Tridgell | 2 | -32/+32 | |
This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names | |||||
2010-04-18 | ldb-waf: enable ABI checking in ldb | Andrew Tridgell | 3 | -0/+506 | |
we use separate signature files for ldb and ldb-samba4, as the samba4 varient of the library has many more public symbols | |||||
2010-04-18 | ldb: mark the tdb backend in ldb as _PRIVATE_ | Andrew Tridgell | 1 | -1/+1 | |
2010-04-17 | s4:Added a test for correct CO expansion in SD creation. | Nadezhda Ivanova | 1 | -0/+13 | |
2010-04-15 | s4:Added a test to make sure we ignore ACEs with ID flag set. | Nadezhda Ivanova | 1 | -0/+13 | |
2010-04-13 | s4-waf: don't try to use the system lib for the library build | Andrew Tridgell | 1 | -4/+6 | |
when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-12 | s4-ldb: enable waf build of ldb without ldap backend | Andrew Tridgell | 1 | -2/+3 | |
this is useful for cross-compilation testing, where getting all the ldap deps installed can be hard | |||||
2010-04-12 | s4-ldb: fixed a crash bug for non-UTF8 strings | Andrew Tridgell | 1 | -1/+3 | |
when one of the strings was not valid UTF8, we would try to dereference NULL | |||||
2010-04-12 | build: use a common autogen-waf.sh for all builds | Andrew Tridgell | 1 | -22/+1 | |
the symlink will get updated with the right target when waf dist is used in each directory | |||||
2010-04-11 | subunit: Remove more test output that could be interpreted by subunit. | Jelmer Vernooij | 1 | -1/+1 | |
2010-04-11 | subunit: Support formatting compatible with upstream subunit, for consistency. | Jelmer Vernooij | 1 | -1/+1 | |
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit. | |||||
2010-04-09 | s4/schema: Torture test for schemaInfo implementation | Kamen Mazdrashki | 1 | -0/+209 | |
This test checks if schemaInfo revision changes when an object is added or modified in Schema. Ref. [MS-ADTS], 3.1.1.2.1 | |||||
2010-04-08 | s4-python: Move load_partition_usn to dsdb module. | Jelmer Vernooij | 1 | -28/+28 | |
2010-04-08 | s4-python: More cleanups. | Jelmer Vernooij | 2 | -6/+5 | |
2010-04-08 | s4-python: rename samba.glue to samba._glue to indicate it's private. | Jelmer Vernooij | 1 | -26/+26 | |
2010-04-08 | s4-python: Fix formatting, import of FLG_NOSYNC. | Jelmer Vernooij | 1 | -5/+4 | |
2010-04-07 | LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statement | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
Obviously this is really needed by the "samba4.ldb" test. | |||||
2010-04-07 | LDB:python bindings - also empty LDB message elements should have a python ↵ | Matthias Dieter Wallnöfer | 1 | -3/+6 | |
representation Bug found by ekacnet (see technical mailing list). | |||||
2010-04-07 | urgent_replication: Use standard comments rather than docstrings. | Jelmer Vernooij | 1 | -29/+28 | |
2010-04-06 | LDB:sample_module.c - remove code parts which generate warnings | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message object is strongly discouraged. Better is to make a shallow copy of this message and attach it to a new child request which is handled by the following modules. | |||||
2010-04-06 | s4-python: Move ldb_set_utf8_casefold to pyldb-samba. | Jelmer Vernooij | 1 | -1/+0 | |
2010-04-06 | Add C-based Samba-specific subclass of Ldb. | Jelmer Vernooij | 1 | -6/+6 | |
2010-04-06 | s4-waf: fixed waf distcheck for our standalone libs and s4 | Andrew Tridgell | 1 | -2/+7 | |
2010-04-06 | s4-waf: added simple 'waf test' support for tdb, talloc and ldb | Andrew Tridgell | 1 | -0/+6 | |
2010-04-06 | s4-waf: autogen-waf.sh for the standalone library builds | Andrew Tridgell | 1 | -0/+22 | |
2010-04-06 | s4-waf: use a common pattern for finding buildtools and libs | Andrew Tridgell | 1 | -17/+14 | |
2010-04-06 | s4-waf: move to a universal method of recursing into subdirs | Andrew Tridgell | 1 | -8/+8 | |
This works with both standalone lib builds and bundled builds | |||||
2010-04-06 | s4-waf: fixed finding of buildtools and srcdir | Andrew Tridgell | 1 | -9/+8 | |
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 | 1 | -3/+4 | |
This should be useful for building tarballs from a clean checkout | |||||
2010-04-06 | s4-waf: allow standalone tarball build of libraries | Andrew Tridgell | 1 | -2/+8 | |
2010-04-06 | s4-waf: added 'waf dist' to our standalone libs as well | Andrew Tridgell | 1 | -0/+3 | |
2010-04-06 | s4-waf: use cflags for LDB_MODULESDIR | Andrew Tridgell | 1 | -0/+3 | |
this prevents rebuilds when it changes | |||||
2010-04-06 | s4-waf: added implied_deps for system libraries | Andrew Tridgell | 1 | -1/+2 | |
when we use a system version of a library such as talloc, then we no longer get the automtica dependency propogation of talloc implying libreplace. That means we don't get the includes for libreplace, which means things can fail to build. To fix this this change adds an implied_deps option to CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an implied dependency on the listed targets if the system library is chosen. | |||||
2010-04-06 | ldb-waf: ldb needs HAVE_CONFIG_H for building a bundled popt | Andrew Tridgell | 1 | -0/+2 | |
2010-04-06 | s4-waf: ensure we don't end up with mixed versions of talloc/tdb/tevent | Andrew Tridgell | 1 | -1/+2 | |
2010-04-06 | s4-waf: cleanup use of LIBPOPT vs popt dependency | Andrew Tridgell | 1 | -0/+3 | |
2010-04-06 | s4-waf: support the use of system libraries | Andrew Tridgell | 1 | -7/+11 | |
distros can set --bundled-libraries=NONE to force use of all system libraries. If the right version isn't found then configure will fail. Users may choose which libraries to use from the system, and which to use bundled libs. The default is to try system libs, and use them if their version matches the one in the source tree. | |||||
2010-04-06 | s4-waf: set default for bundled libraries | Andrew Tridgell | 1 | -2/+2 | |
2010-04-06 | s4-waf: set the bundled library extension for some libs | Andrew Tridgell | 1 | -8/+3 | |
2010-04-06 | ldb-waf: rename libldb.so to libldb-s4.so if built as part of s4 | Andrew Tridgell | 1 | -1/+23 | |
Also include the ldap backend if not built as part of s4. In s4, we use the ldapi backend. | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 1 | -0/+2 | |
them | |||||
2010-04-06 | s4-waf: ensure all the ldb.pc.in vars are set | Andrew Tridgell | 1 | -0/+9 | |
2010-04-06 | s4-waf: enable the pc_files in the build rules | Andrew Tridgell | 1 | -0/+1 | |
2010-04-06 | s4-waf: install the rest of the headers | Andrew Tridgell | 1 | -0/+1 | |
2010-04-06 | build: updated configure checks or new syntax | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: don't install talloc_testsuite and ldbtest | Andrew Tridgell | 1 | -2/+4 | |