1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

72 Commits

Author SHA1 Message Date
Jelmer Vernooij
5548d3d41e Add missing dependencies for com_err. 2010-10-05 00:38:35 +02:00
Jelmer Vernooij
beed95e3a2 heimdal: convert some subsystems to libraries, consistent with upstream heimdal. 2010-10-03 16:25:37 +02:00
Jelmer Vernooij
78b4b21b40 ldb: Bump version because of addition of ldb_req_location. 2010-09-28 09:12:40 +02:00
Jelmer Vernooij
c031329af1 ldb: Depend directly on replace, fixes the build on systems with
tdb and tevent installed in the system.
2010-09-22 17:48:24 -07:00
Jelmer Vernooij
261d9aaff0 ldb: Add missing aliases for ldb_ildap. 2010-09-04 17:59:48 +02:00
Andrew Tridgell
fc68558ab9 s4-ldb: added ldb_error() and ldb_operr()
These will be used to help avoid the problem we have with hundreds of
places that do "return LDB_ERR_OPERATIONS_ERROR" without an
explanation. It is very difficult to track down ldb errors which don't
have any explanation.

By replacing "return LDB_ERR_OPERATIONS_ERROR;" with "return ldb_operr(ldb);"
we at least get a file:line message in the ldb error string. It isn't
an ideal error message, but it is much better than just "operations
error"

This change also makes ldb_oom() return the error code
(LDB_ERR_OPERATIONS_ERROR) so you can do:

  return ldb_oom(ldb);

instead of:

  ldb_oom(ldb);
  return LDB_ERR_OPERATIONS_ERROR;
2010-07-07 20:14:55 +10:00
Andrew Tridgell
7f9153f7e8 s4-ldb: added ldb_options_find()
ldb_options_find() allows backends to find options in the options[]
array passed to the connect operation.

This will be used by the ldb_ldap bind code
2010-07-07 17:26:03 +10:00
Andrew Tridgell
0be1820718 s4-ldb: use CHECK_XSLTPROC_MANPAGES() 2010-06-24 18:46:57 +10:00
Stefan Metzmacher
e812832db3 s4:ldb: only do ABI checking for the standalone build for now
Otherwise we fail to build samba4 with a system ldb.

metze

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:42:22 +02:00
Jelmer Vernooij
9bcd0daba2 ldb: Change LDBSAMBA back to subsystem, update comments, use different
ABI file based on whether ldb_ildap is included.
2010-06-20 11:49:08 +02:00
Jelmer Vernooij
bd1786f7f1 wafsamba: Fix typo: noextenion -> noextension. 2010-06-19 12:10:29 +02:00
Jelmer Vernooij
380ee5f081 ldb: Remove dependency on self. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
8e8496208b ldb: Don't build pyldb_util as python module but rather as subsystem, so as to not delute /usr/lib. 2010-06-18 23:51:40 +02:00
Jelmer Vernooij
773e47f4a9 wafsamba: Fix include path inheritance from module subsystems. 2010-06-15 20:35:22 +02:00
Jelmer Vernooij
026fcc6a4f ldb: Bump version number, use same ABI version for Samba4 and non-Samba 4 versions.s 2010-06-15 13:15:51 +02:00
Jelmer Vernooij
fb7a98aa32 ldb: Fix included ldb build. 2010-06-15 13:15:50 +02:00
Jelmer Vernooij
e27ef3dd6d ldb: Only build standard ldb modules when building bundled ldb. 2010-06-15 13:15:50 +02:00
Jelmer Vernooij
5a3e744394 pyldb_util: Remove dependency on LIBPYTHON - it's already there
implicitly and not available in the standalone build.
2010-05-31 23:10:59 +02:00
Jelmer Vernooij
7f75ee025f ldb: Install ldb_handlers.h header. 2010-05-31 19:22:04 +02:00
Jelmer Vernooij
1bc53f0213 ldb: Move utility functions to separate file. 2010-05-31 19:22:04 +02:00
Jelmer Vernooij
82d56b9374 ldb: Fix dependencies when building with system ldb. 2010-05-31 19:22:03 +02:00
Jelmer Vernooij
151e239bcf ldb/waf: Fix build with system and bundled ldb. 2010-05-31 13:57:03 +02:00
Jelmer Vernooij
f89e390fbc waf: Refactor manpage building code. 2010-05-31 13:56:25 +02:00
Jelmer Vernooij
f98bb7ffc3 Add manpages argument to SAMBA_LIBRARY(). 2010-05-31 13:56:25 +02:00
Stefan Metzmacher
cc77e7966e s4-waf: Fixed the ldb build. 2010-05-31 12:51:58 +02:00
Jelmer Vernooij
cd2dd33103 ldb: Support building with system ldb library 2010-05-31 04:48:00 +02:00
Jelmer Vernooij
38cbb60e97 ldb: Remove manual pages for binaries that have already been moved to utils/. 2010-05-31 01:38:35 +02:00
Jelmer Vernooij
3e65af312c ldb-waf: Fix installation path of manpages, simplify manpage handling. 2010-05-31 01:38:35 +02:00
Jelmer Vernooij
a042e24137 ldb-waf: Install manual pages for ldb in standalone build, install
python module.
2010-05-24 17:31:43 +02:00
Andrew Tridgell
67fb18adb0 s4-ldb: check for ldap_initialize
HPUX 11.0 has a ldap library that doesn't have ldap_initialize
2010-05-05 21:37:42 +02:00
Anatoliy Atanasov
efb1aea909 s4/waf: ABI update for lib/ldb 2010-05-04 18:32:30 +02:00
Andrew Tridgell
7aa4c11fc4 build: more adjustments for the ABI type name maps
- 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 18:24:27 +10:00
Andrew Tridgell
77768dbd75 ldb-waf: enable ABI checking in ldb
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 15:00:38 +10:00
Andrew Tridgell
c10d267a76 s4-waf: don't try to use the system lib for the library build
when building library FOO, don't try to find the system library FOO
    
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 23:03:27 +10:00
Andrew Tridgell
c168e5ce50 s4-ldb: enable waf build of ldb without ldap backend
this is useful for cross-compilation testing, where getting all the
ldap deps installed can be hard
2010-04-12 23:13:30 +10: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
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