mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
a06d66a3a6
- moved the knowledge of attribute types out of ldb_tdb and into the
generic ldb code. This allows the ldb_match() message match logic
to be generic, so it can be used by other backend
- added the generic ability to load attribute handlers, for
canonicalisation, compare, ldif read and ldif write. In the future
this will be used by the schema module to allow us to correctly
obey the attributetype schema elements
- added attribute handlers for some of the core ldap attribute types,
Integer, DirectoryString, DN, ObjectClass etc
- added automatic registration of attribute handlers for well-known
attribute names 'cn', 'dc', 'dn', 'ou' and 'objectClass'
- converted the objectSid special handlers for Samba to the new system
- added more correct handling of indexing in tdb backend based on the
attribute canonicalisation function
- added generic support for subclasses, moving it out of the tdb
backend. This will be used in future by the schema module
- fixed several bugs in the dn_explode code. It still needs more
work, but doesn't corrupt ldb dbs any more.
(This used to be commit 944c5844ab
)
188 lines
4.7 KiB
Makefile
188 lines
4.7 KiB
Makefile
################################################
|
|
# Start MODULE libldb_timestamps
|
|
[MODULE::libldb_timestamps]
|
|
SUBSYSTEM = LIBLDB
|
|
INIT_OBJ_FILES = \
|
|
lib/ldb/modules/timestamps.o
|
|
# End MODULE libldb_timestamps
|
|
################################################
|
|
|
|
################################################
|
|
# Start MODULE libldb_schema
|
|
[MODULE::libldb_schema]
|
|
SUBSYSTEM = LIBLDB
|
|
INIT_OBJ_FILES = \
|
|
lib/ldb/modules/schema.o
|
|
# End MODULE libldb_schema
|
|
################################################
|
|
|
|
################################################
|
|
# Start MODULE libldb_ildap
|
|
[MODULE::libldb_ildap]
|
|
SUBSYSTEM = LIBLDB
|
|
INIT_OBJ_FILES = \
|
|
lib/ldb/ldb_ildap/ldb_ildap.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBCLI_LDAP
|
|
NOPROTO = YES
|
|
# End MODULE libldb_ildap
|
|
################################################
|
|
|
|
################################################
|
|
# Start MODULE libldb_sqlite3
|
|
[MODULE::libldb_sqlite3]
|
|
SUBSYSTEM = LIBLDB
|
|
INIT_OBJ_FILES = \
|
|
lib/ldb/ldb_sqlite3/ldb_sqlite3.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
EXT_LIB_SQLITE3
|
|
NOPROTO = YES
|
|
# End MODULE libldb_sqlite3
|
|
################################################
|
|
|
|
################################################
|
|
# Start MODULE libldb_tdb
|
|
[MODULE::libldb_tdb]
|
|
SUBSYSTEM = LIBLDB
|
|
INIT_OBJ_FILES = \
|
|
lib/ldb/ldb_tdb/ldb_tdb.o
|
|
ADD_OBJ_FILES = \
|
|
lib/ldb/ldb_tdb/ldb_search.o \
|
|
lib/ldb/ldb_tdb/ldb_pack.o \
|
|
lib/ldb/ldb_tdb/ldb_index.o \
|
|
lib/ldb/ldb_tdb/ldb_cache.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBTDB
|
|
NOPROTO = YES
|
|
# End MODULE libldb_tdb
|
|
################################################
|
|
|
|
################################################
|
|
# Start SUBSYSTEM LIBLDB
|
|
[SUBSYSTEM::LIBLDB]
|
|
INIT_OBJ_FILES = \
|
|
lib/ldb/common/ldb.o
|
|
ADD_OBJ_FILES = \
|
|
lib/ldb/common/ldb_ldif.o \
|
|
lib/ldb/common/ldb_parse.o \
|
|
lib/ldb/common/ldb_msg.o \
|
|
lib/ldb/common/ldb_utf8.o \
|
|
lib/ldb/common/ldb_debug.o \
|
|
lib/ldb/common/ldb_modules.o \
|
|
lib/ldb/common/ldb_match.o \
|
|
lib/ldb/common/ldb_attributes.o \
|
|
lib/ldb/common/attrib_handlers.o \
|
|
lib/ldb/common/ldb_dn.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBREPLACE LIBTALLOC LDBSAMBA
|
|
NOPROTO = YES
|
|
MANPAGE = lib/ldb/man/ldb.3
|
|
#
|
|
# End SUBSYSTEM LIBLDB
|
|
################################################
|
|
|
|
################################################
|
|
# Start LIBRARY LIBLDB
|
|
[LIBRARY::libldb]
|
|
MAJOR_VERSION = 0
|
|
MINOR_VERSION = 0
|
|
RELEASE_VERSION = 1
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBLDB
|
|
#
|
|
# End LIBRARY LIBLDB
|
|
################################################
|
|
|
|
################################################
|
|
# Start SUBSYSTEM LDBSAMBA
|
|
[SUBSYSTEM::LDBSAMBA]
|
|
OBJ_FILES = \
|
|
lib/ldb/samba/ldif_handlers.o
|
|
# End SUBSYSTEM LDBSAMBA
|
|
################################################
|
|
|
|
################################################
|
|
# Start SUBSYSTEM LIBLDB_CMDLINE
|
|
[SUBSYSTEM::LIBLDB_CMDLINE]
|
|
OBJ_FILES= \
|
|
lib/ldb/tools/cmdline.o
|
|
REQUIRED_SUBSYSTEMS = LIBLDB LIBCMDLINE LIBBASIC
|
|
# End SUBSYSTEM LIBLDB_CMDLINE
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY ldbadd
|
|
[BINARY::ldbadd]
|
|
OBJ_FILES = \
|
|
lib/ldb/tools/ldbadd.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBLDB_CMDLINE
|
|
MANPAGE = lib/ldb/man/ldbadd.1
|
|
# End BINARY ldbadd
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY ldbdel
|
|
[BINARY::ldbdel]
|
|
OBJ_FILES= \
|
|
lib/ldb/tools/ldbdel.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBLDB_CMDLINE
|
|
MANPAGE = lib/ldb/man/ldbdel.1
|
|
# End BINARY ldbdel
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY ldbmodify
|
|
[BINARY::ldbmodify]
|
|
OBJ_FILES= \
|
|
lib/ldb/tools/ldbmodify.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBLDB_CMDLINE
|
|
MANPAGE = lib/ldb/man/ldbmodify.1
|
|
# End BINARY ldbmodify
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY ldbsearch
|
|
[BINARY::ldbsearch]
|
|
OBJ_FILES= \
|
|
lib/ldb/tools/ldbsearch.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBLDB_CMDLINE
|
|
MANPAGE = lib/ldb/man/ldbsearch.1
|
|
# End BINARY ldbsearch
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY ldbedit
|
|
[BINARY::ldbedit]
|
|
OBJ_FILES= \
|
|
lib/ldb/tools/ldbedit.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBLDB_CMDLINE
|
|
MANPAGE = lib/ldb/man/ldbedit.1
|
|
# End BINARY ldbedit
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY ldbrename
|
|
[BINARY::ldbrename]
|
|
OBJ_FILES= \
|
|
lib/ldb/tools/ldbrename.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBLDB_CMDLINE
|
|
MANPAGE = lib/ldb/man/ldbrename.1
|
|
# End BINARY ldbrename
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY ldbtest
|
|
[BINARY::ldbtest]
|
|
OBJ_FILES= \
|
|
lib/ldb/tools/ldbtest.o
|
|
REQUIRED_SUBSYSTEMS = \
|
|
LIBLDB_CMDLINE
|
|
# End BINARY ldbtest
|
|
################################################
|