1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
Commit Graph

111 Commits

Author SHA1 Message Date
Volker Lendecke
9c32358ac7 r26568: Revert r26482
Next attempt to fix the Samba3 torture breakage

Jelmer, can you please review this?

Thanks,

Volker
(This used to be commit 1d624c8b88)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
20a6fcf726 r26482: Use shared library version of ldb, to make sure not every module ends up with its own private copy of ldb with its own list of modules...
(This used to be commit ef029d950c)
2007-12-21 05:50:39 +01:00
Jelmer Vernooij
2e5f282a7e r26374: Remove dependency on dynconfig.
(This used to be commit a232a38d1c)
2007-12-21 05:49:09 +01:00
Jelmer Vernooij
8515d23a3a r26196: Always build python bindings for ldb.
(This used to be commit 0aa19ce73f)
2007-12-21 05:46:46 +01:00
Jelmer Vernooij
ea85165841 r26068: Import improved Python bindings for LDB, including tests.
(This used to be commit fc3a8caef7)
2007-12-21 05:45:51 +01:00
Stefan Metzmacher
91a0879b1f r25425: move LDB_MODULESDIR define into config.h
this hopefully fixes the build on some hosts

metze
(This used to be commit d03ec5655d)
2007-10-10 15:07:30 -05:00
Stefan Metzmacher
7f0904cb1a r25421: SHLIBEXT comes in via samba's config.h already
metze
(This used to be commit dcead25b29)
2007-10-10 15:07:30 -05:00
Stefan Metzmacher
ba7f46418e r25269: this doesn't fix the problems with BSD make completely...
metze
(This used to be commit 869c30abb6)
2007-10-10 15:07:03 -05:00
Stefan Metzmacher
a3c1115e20 r25259: try to work arround the build failures on OpenBSD 3.7
metze
(This used to be commit 5679e7d824)
2007-10-10 15:07:01 -05:00
Stefan Metzmacher
d6c66ea774 r25187: pass FIRST_PREREQ to Makefile so that the value can be used
in handwritten rules too, hopefully fix the build
of ldb with bsd make.

metze
(This used to be commit 9d6d296105)
2007-10-10 15:06:48 -05:00
Jelmer Vernooij
e885a8f477 r25105: No need to register ldb_map as a module.
(This used to be commit 6c66e09c9e)
2007-10-10 15:06:38 -05:00
Jelmer Vernooij
2e5f023a69 r25093: Use system-provided ldb library if available. Note that this only means using the ldb library from the system - the custom command-line tools for Samba 4 will still be built even if they are already provided by the system.
(This used to be commit 8aab673df5)
2007-10-10 15:06:27 -05:00
Jelmer Vernooij
4a4cdc990c r25084: Move samba-specific code out of lib/ldb directory.
(This used to be commit 917bd737cb)
2007-10-10 15:06:26 -05:00
Jelmer Vernooij
ed2a1c718a r25081: Add modules_dir member to ldb_context that is used rather than a global
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb
(This used to be commit e672380d21)
2007-10-10 15:06:25 -05:00
Andrew Bartlett
10c1480d16 r24259: Rework the objectclass module to use the new schema, rather than the
ldb_subclass list.

Next step will be to have this module also set the objectCategory and
default ntSecurityDescriptor

Andrew Bartlett
(This used to be commit 0f7135a468)
2007-10-10 15:01:31 -05:00
James Peach
66cc0b1e21 r22952: Make sure we look at extra_cflags when building custom targets.
(This used to be commit 2d990cd374)
2007-10-10 14:52:31 -05:00
Jelmer Vernooij
cc26fe9b74 r22762: Some ldb_map changes:
* Change license to LGPL, so it can be used by non-Samba users of
LDB (cleared with Martin as well).

* Include ldb_map in standalone build.

* Move ldb_map to its own directory
(This used to be commit a90202abca)
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
9dba7d7613 r22722: fix dependencies
metze
(This used to be commit 0397eca102)
2007-10-10 14:52:07 -05:00
Jelmer Vernooij
9b03417172 r22684: Fix native Samba build.
(This used to be commit 582e743e68)
2007-10-10 14:52:01 -05:00
Jelmer Vernooij
52fb06edc2 r22681: Fix standalone ldb build when parent directory name != ldb.
(This used to be commit 1093875d59)
2007-10-10 14:52:00 -05:00
Stefan Metzmacher
44760c3e6f r22404: more dependencies which should be private
metze
(This used to be commit e0e35965d1)
2007-10-10 14:51:14 -05:00
Jelmer Vernooij
60e7b4d995 r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
(This used to be commit db237ad52f)
2007-10-10 14:28:27 -05:00
Stefan Metzmacher
a7127ad79e r19743: merge from samba3:
remove old unused schema module

metze
(This used to be commit 3c16951b0d)
2007-10-10 14:28:18 -05:00
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f)
2007-10-10 14:25:29 -05:00
Stefan Metzmacher
a46e12d0e0 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
(This used to be commit 135d096776)
2007-10-10 14:17:50 -05:00
Jelmer Vernooij
ca720634dd r18123: Fix manual file build.
(This used to be commit e84b6c70a1)
2007-10-10 14:17:35 -05:00
Jelmer Vernooij
a59706f721 r18121: Simplify m4 code, hopefully fix Samba4 build problems.
(This used to be commit 1adf65b4d7)
2007-10-10 14:17:35 -05:00
Andrew Tridgell
b7477fb388 r18117: first steps in making samba4 use libreplace
(This used to be commit c079cedb08)
2007-10-10 14:17:34 -05:00
Jelmer Vernooij
38fdde5d9b r18031: Merge my replace fixes:
* libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
(This used to be commit fe7ca4b145)
2007-10-10 14:17:05 -05:00
Andrew Tridgell
309ef90690 r17738: solving the seemingly trivial problem of timegm() being missing on
some systems requires quite a large change in ldb. The core problem is
that ldb doesn't have its own equivalent of lib/replace/, so we have
no sane place to put things like timegm.c

This patch moves part of lib/replace/ from Samba4 into ldb, and the
next patch will remove those parts from Samba4. We will probably need
to similarly move parts of lib/replace/ into lib/talloc/ and lib/tdb/,
so that at each level the libraries have replacements for the
functions they need, but higher level libraries don't need to
re-include replacements if a lower level library already replaces the
function
(This used to be commit c2f6c217fb)
2007-10-10 14:16:34 -05:00
Simo Sorce
071aa999ab r17614: Our first "client side' ldb module.
This module has been created with the purpose of being used
for searches against ldap servers without the need to handle
the control manually

You can test it by passing -o modules:paged_searches to ldbsearch

The page search size is set to 500 objects.

Simo.
(This used to be commit 07d377f3c2)
2007-10-10 14:16:17 -05:00
Andrew Bartlett
7de75a991b r17580: Add a new tools to convert back from AD-like schema to OpenLDAP.
Add attribute syntax mapping to the existing OpenLDAP -> AD tool.

Andrew Bartlett
(This used to be commit ba1c652bae)
2007-10-10 14:15:39 -05:00
Andrew Bartlett
027583e6de r17525: This is a merge from the Google Summer of Code 2006 project by Martin Kühl
<mkhl@samba.org>.

Martin took over the work done last year by Jelmer, in last year's
SoC.  This was a substanital task, as the the ldb modules API changed
significantly during the past year, with the addition of async calls.

This changeset reimplements and enables the ldb_map ldb module and
adapts the example module and test case, both named samba3sam, to the
implementation.

The ldb_map module supports splitting an ldb database into two parts
(called the "local" and "remote" part) and storing the data in one of
them (the remote database) in a different format while the other acts
as a fallback.
This allows ldb to e.g. store to and load data from a remote LDAP
server and present it according to the Samba4 schema while still
allowing the LDAP to present and modify its data separately.

A complex example of this is the samba3sam module (by Jelmer
Vernooij), which maps data between the samba3 and samba4 schemas.

A simpler example is given by the entryUUID module (by Andrew
Bartlett), which handles some of the differences between AD and
OpenLDAP in operational attributes.  It principally maps objectGUID,
to and from entryUUID elements.  This is also an example of a module
that doesn't use the local backend as fallback storage.

This merge also splits the ldb_map.c file into smaller, more
manageable parts.
(This used to be commit af2bece4d3)
2007-10-10 14:15:33 -05:00
Andrew Bartlett
b31c685ec2 r16028: Re-add the objectclass module, in the new async scheme.
Add a test to show that we need this, and to prove it works (for add
at least).

Andrew Bartlett
(This used to be commit f72079029a)
2007-10-10 14:08:51 -05:00
Simo Sorce
0c7b82e5f6 r15942: Remove the sync internal ldb calls altogether.
This means that some modules have been disabled as well as they
have not been ported to the async interface

One of them is the ugly objectclass module.
I hope that the change in samldb module will make the MMC happy
without the need of this crappy module, we need proper handling
in a decent schema module.

proxy and ldb_map have also been disabled
ldb_sqlite3 need to be ported as well (currenlty just broken).
(This used to be commit 51083de795)
2007-10-10 14:08:43 -05:00
Stefan Metzmacher
ed173c9693 r15315: - reenable the ildap backend
- this fixes the make test panics

jelmer: why have you disabled it in
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15295 ?

metze
(This used to be commit 658fb2b842)
2007-10-10 14:05:11 -05:00
Jelmer Vernooij
b00c236906 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
(This used to be commit 0654739166)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
620d759f49 r15298: Fix the build using a few hacks in the build system.
Recursive dependencies are now forbidden (the build system
will bail out if there are any).

I've split up auth_sam.c into auth_sam.c and sam.c. Andrew,
please rename sam.c / move its contents to whatever/wherever you think suits
best.
(This used to be commit 6646384aaf)
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
8d137d9785 r15295: Fix some dependencies
Move unistr-specific code to lib/charset/. Remove _m from some places where it's not needed.
(This used to be commit 03224e1124)
2007-10-10 14:05:03 -05:00
Jelmer Vernooij
0d5587b5d1 r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
(empty) libpopt.a overriding global one
(This used to be commit 2f06305e53)
2007-10-10 14:05:00 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6)
2007-10-10 14:04:18 -05:00
Tim Potter
8c23f133c4 r14968: Move tdb and ldb swig wrappers in to lib/tdb and lib/ldb directories.
(This used to be commit fa8d0dc14a)
2007-10-10 14:00:48 -05:00
Jelmer Vernooij
e90d88106a r14660: Install ldb_errors.h
(This used to be commit 438636c475)
2007-10-10 13:59:06 -05:00
Jelmer Vernooij
e67c24159b r14604: Support 'aliases' for ldb modules
(This used to be commit 73889a327c)
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
dab516d3e7 r14603: Fix building of ejs modules as shared libs
Fix calling of ejs_exception() without requiring --export-dynamic
(This used to be commit 8575e9a490)
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
508f2f5506 r14594: Fix some dependencies (required for shared library build)
(This used to be commit 06f7a8c692)
2007-10-10 13:58:58 -05:00
Jelmer Vernooij
bb1909e15e r14592: Add support for loading shared modules to LDB.
(This used to be commit f10fae23f0)
2007-10-10 13:58:58 -05:00
Jelmer Vernooij
184955ffd7 r14572: Give libraries saner names, remove some .pc files, make some things
subsystems in case a library doesn't make sense.
(This used to be commit ed382873fd)
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
b785a7c40c r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce0)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
71b4fd9792 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
(This used to be commit 9c37f847d3)
2007-10-10 13:57:30 -05:00