Jelmer Vernooij
a35d876537
s4-python: rename samba.glue to samba._glue to indicate it's private.
2010-04-08 23:20:36 +02:00
Jelmer Vernooij
cc6e2b8a81
s4-python: Fix formatting, import of FLG_NOSYNC.
2010-04-08 23:20:36 +02:00
Matthias Dieter Wallnöfer
64957ce068
LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statement
...
Obviously this is really needed by the "samba4.ldb" test.
2010-04-07 23:06:02 +02:00
Matthias Dieter Wallnöfer
baf81a0e08
LDB:python bindings - also empty LDB message elements should have a python representation
...
Bug found by ekacnet (see technical mailing list).
2010-04-07 20:40:06 +02:00
Jelmer Vernooij
fe4b212eba
urgent_replication: Use standard comments rather than docstrings.
2010-04-07 17:39:59 +02:00
Matthias Dieter Wallnöfer
0086db6c0c
LDB:sample_module.c - remove code parts which generate warnings
...
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 14:54:10 +02:00
Jelmer Vernooij
e9c3f2ef13
s4-python: Move ldb_set_utf8_casefold to pyldb-samba.
2010-04-06 13:12:43 +02:00
Jelmer Vernooij
099fc00b60
Add C-based Samba-specific subclass of Ldb.
2010-04-06 13:12:43 +02:00
Andrew Tridgell
7ae4372124
s4-waf: fixed waf distcheck for our standalone libs and s4
2010-04-06 20:27:26 +10:00
Andrew Tridgell
fe060c8f50
s4-waf: added simple 'waf test' support for tdb, talloc and ldb
2010-04-06 20:27:26 +10:00
Andrew Tridgell
ccfce0bbae
s4-waf: autogen-waf.sh for the standalone library builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8835f440a
s4-waf: use a common pattern for finding buildtools and libs
2010-04-06 20:27:25 +10:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
8dc8d31f4a
s4-waf: fixed finding of buildtools and srcdir
2010-04-06 20:27:25 +10:00
Andrew Tridgell
a884008797
ldb-waf: fixed buildtools path
2010-04-06 20:27:25 +10:00
Andrew Tridgell
1883ee6dbc
s4-waf: avoid having to run waf configure before waf dist
...
This should be useful for building tarballs from a clean checkout
2010-04-06 20:27:25 +10:00
Andrew Tridgell
9e9e878e8f
s4-waf: allow standalone tarball build of libraries
2010-04-06 20:27:25 +10:00
Andrew Tridgell
528d7c7cf3
s4-waf: added 'waf dist' to our standalone libs as well
2010-04-06 20:27:25 +10:00
Andrew Tridgell
aceb14f611
s4-waf: use cflags for LDB_MODULESDIR
...
this prevents rebuilds when it changes
2010-04-06 20:27:21 +10:00
Andrew Tridgell
874e39cbf0
s4-waf: added implied_deps for system libraries
...
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 20:27:17 +10:00
Andrew Tridgell
3e01746420
ldb-waf: ldb needs HAVE_CONFIG_H for building a bundled popt
2010-04-06 20:27:16 +10:00
Andrew Tridgell
a2b4d7e8eb
s4-waf: ensure we don't end up with mixed versions of talloc/tdb/tevent
2010-04-06 20:27:15 +10:00
Andrew Tridgell
b9aa63887c
s4-waf: cleanup use of LIBPOPT vs popt dependency
2010-04-06 20:27:13 +10:00
Andrew Tridgell
bfbf43cc36
s4-waf: support the use of system libraries
...
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 20:27:13 +10:00
Andrew Tridgell
c2d17cf978
s4-waf: set default for bundled libraries
2010-04-06 20:27:12 +10:00
Andrew Tridgell
42c9380760
s4-waf: set the bundled library extension for some libs
2010-04-06 20:27:12 +10:00
Andrew Tridgell
00825ecf34
ldb-waf: rename libldb.so to libldb-s4.so if built as part of s4
...
Also include the ldap backend if not built as part of s4. In s4, we
use the ldapi backend.
2010-04-06 20:27:12 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
cf77a1025c
s4-waf: ensure all the ldb.pc.in vars are set
2010-04-06 20:27:11 +10:00
Andrew Tridgell
bd44f14d8f
s4-waf: enable the pc_files in the build rules
2010-04-06 20:27:10 +10:00
Andrew Tridgell
aa5e08eb83
s4-waf: install the rest of the headers
2010-04-06 20:27:09 +10:00
Andrew Tridgell
00649a9c62
build: updated configure checks or new syntax
2010-04-06 20:27:00 +10:00
Andrew Tridgell
6ef00262ef
build: don't install talloc_testsuite and ldbtest
2010-04-06 20:26:54 +10:00
Andrew Tridgell
ec2cb473d0
build: added ldb 'skel' module
2010-04-06 20:26:48 +10:00
Andrew Tridgell
05bda767c5
build: need the sample ldb module for our testsuite
2010-04-06 20:26:48 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
7abe08af92
build: fixed LDB_MODULESDIR
2010-04-06 20:26:46 +10:00
Andrew Tridgell
7ed65d2e12
build: result of hack session with ita
2010-04-06 20:26:40 +10:00
Andrew Tridgell
5ad6369cd0
build: started to split up wafsamba.py into separate modules
2010-04-06 20:26:38 +10:00
Andrew Tridgell
c3d04fd8fc
build: don't distinguish system and local libs in wscript files
2010-04-06 20:26:37 +10:00
Andrew Tridgell
42f92494ea
build: LIBLDB hack not needed any more
2010-04-06 20:26:36 +10:00
Andrew Tridgell
a3421fe6e9
build: added BUILD_SUBDIR() wrapper
2010-04-06 20:26:35 +10:00
Andrew Tridgell
d0c19bb35e
build: LIBLDB alias
2010-04-06 20:26:35 +10:00
Andrew Tridgell
9a1cd09a10
build: added ADD_CFLAGS() and started of Samba4 build
2010-04-06 20:26:34 +10:00
Andrew Tridgell
2b5a1cc70c
build: added waf build rules for ldb
2010-04-06 20:26:34 +10:00
Andrew Tridgell
04aa584c02
build: added target directory options
2010-04-06 20:26:34 +10:00
Jelmer Vernooij
ccd954f2a7
s4-python: Avoid importing glue directly.
2010-04-04 00:30:34 +02:00
Jelmer Vernooij
31a517e172
s4-python: Move dsdb constants to a separate python module.
2010-04-04 00:14:23 +02:00
Jelmer Vernooij
5a026219a9
s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.
2010-04-03 23:47:26 +02:00
Andrew Tridgell
5ccd30e9ac
talloc: change talloc minor version to 2.0.2
...
this has the talloc_is_parent() bugfix
2010-04-02 13:15:18 +11:00