1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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)
This commit is contained in:
Jelmer Vernooij 2007-05-08 21:17:58 +00:00 committed by Gerald (Jerry) Carter
parent 7ef755d150
commit cc26fe9b74
16 changed files with 130 additions and 119 deletions

View File

@ -1,7 +1,7 @@
################################################ ################################################
# Start MODULE ldb_objectguid # Start MODULE ldb_objectguid
[MODULE::ldb_objectguid] [MODULE::ldb_objectguid]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = LIBTALLOC LIBNDR NDR_MISC PRIVATE_DEPENDENCIES = LIBTALLOC LIBNDR NDR_MISC
INIT_FUNCTION = objectguid_module_init INIT_FUNCTION = objectguid_module_init
OBJ_FILES = \ OBJ_FILES = \
@ -12,7 +12,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_repl_mata_data # Start MODULE ldb_repl_mata_data
[MODULE::ldb_repl_meta_data] [MODULE::ldb_repl_meta_data]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC LIBNDR NDR_MISC NDR_DRSUAPI NDR_DRSBLOBS PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC LIBNDR NDR_MISC NDR_DRSUAPI NDR_DRSBLOBS
INIT_FUNCTION = repl_meta_data_module_init INIT_FUNCTION = repl_meta_data_module_init
OBJ_FILES = \ OBJ_FILES = \
@ -23,7 +23,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_dsdb_cache # Start MODULE ldb_dsdb_cache
[MODULE::ldb_dsdb_cache] [MODULE::ldb_dsdb_cache]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC
INIT_FUNCTION = dsdb_cache_module_init INIT_FUNCTION = dsdb_cache_module_init
OBJ_FILES = \ OBJ_FILES = \
@ -34,7 +34,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_schema_fsmo # Start MODULE ldb_schema_fsmo
[MODULE::ldb_schema_fsmo] [MODULE::ldb_schema_fsmo]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC
INIT_FUNCTION = schema_fsmo_module_init INIT_FUNCTION = schema_fsmo_module_init
OBJ_FILES = \ OBJ_FILES = \
@ -45,7 +45,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_naming_fsmo # Start MODULE ldb_naming_fsmo
[MODULE::ldb_naming_fsmo] [MODULE::ldb_naming_fsmo]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC
INIT_FUNCTION = naming_fsmo_module_init INIT_FUNCTION = naming_fsmo_module_init
OBJ_FILES = \ OBJ_FILES = \
@ -56,7 +56,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_pdc_fsmo # Start MODULE ldb_pdc_fsmo
[MODULE::ldb_pdc_fsmo] [MODULE::ldb_pdc_fsmo]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC PRIVATE_DEPENDENCIES = SAMDB LIBTALLOC
INIT_FUNCTION = pdc_fsmo_module_init INIT_FUNCTION = pdc_fsmo_module_init
OBJ_FILES = \ OBJ_FILES = \
@ -67,7 +67,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_samldb # Start MODULE ldb_samldb
[MODULE::ldb_samldb] [MODULE::ldb_samldb]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = samldb_module_init INIT_FUNCTION = samldb_module_init
OBJ_FILES = \ OBJ_FILES = \
@ -79,7 +79,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_samba3sam # Start MODULE ldb_samba3sam
[MODULE::ldb_samba3sam] [MODULE::ldb_samba3sam]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
INIT_FUNCTION = ldb_samba3sam_module_init INIT_FUNCTION = ldb_samba3sam_module_init
PRIVATE_DEPENDENCIES = LIBTALLOC ldb_map SMBPASSWD PRIVATE_DEPENDENCIES = LIBTALLOC ldb_map SMBPASSWD
OBJ_FILES = \ OBJ_FILES = \
@ -91,7 +91,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_entryUUID # Start MODULE ldb_entryUUID
[MODULE::ldb_entryUUID] [MODULE::ldb_entryUUID]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
INIT_FUNCTION = ldb_entryUUID_module_init INIT_FUNCTION = ldb_entryUUID_module_init
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
ENABLE = YES ENABLE = YES
@ -104,7 +104,7 @@ OBJ_FILES = \
# ################################################ # ################################################
# # Start MODULE ldb_proxy # # Start MODULE ldb_proxy
# [MODULE::ldb_proxy] # [MODULE::ldb_proxy]
# SUBSYSTEM = ldb # SUBSYSTEM = LIBLDB
# INIT_FUNCTION = proxy_module_init # INIT_FUNCTION = proxy_module_init
# OBJ_FILES = \ # OBJ_FILES = \
# proxy.o # proxy.o
@ -116,7 +116,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_rootdse # Start MODULE ldb_rootdse
[MODULE::ldb_rootdse] [MODULE::ldb_rootdse]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = rootdse_module_init INIT_FUNCTION = rootdse_module_init
OBJ_FILES = \ OBJ_FILES = \
@ -128,7 +128,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_password_hash # Start MODULE ldb_password_hash
[MODULE::ldb_password_hash] [MODULE::ldb_password_hash]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
INIT_FUNCTION = password_hash_module_init INIT_FUNCTION = password_hash_module_init
OBJ_FILES = password_hash.o OBJ_FILES = password_hash.o
PRIVATE_DEPENDENCIES = HEIMDAL_HDB_KEYS LIBTALLOC HEIMDAL_KRB5 PRIVATE_DEPENDENCIES = HEIMDAL_HDB_KEYS LIBTALLOC HEIMDAL_KRB5
@ -140,7 +140,7 @@ PRIVATE_DEPENDENCIES = HEIMDAL_HDB_KEYS LIBTALLOC HEIMDAL_KRB5
# Start MODULE ldb_local_password # Start MODULE ldb_local_password
[MODULE::ldb_local_password] [MODULE::ldb_local_password]
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
INIT_FUNCTION = local_password_module_init INIT_FUNCTION = local_password_module_init
OBJ_FILES = local_password.o OBJ_FILES = local_password.o
# #
@ -151,7 +151,7 @@ OBJ_FILES = local_password.o
# Start MODULE ldb_kludge_acl # Start MODULE ldb_kludge_acl
[MODULE::ldb_kludge_acl] [MODULE::ldb_kludge_acl]
PRIVATE_DEPENDENCIES = LIBTALLOC LIBSECURITY PRIVATE_DEPENDENCIES = LIBTALLOC LIBSECURITY
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
INIT_FUNCTION = ldb_kludge_acl_init INIT_FUNCTION = ldb_kludge_acl_init
OBJ_FILES = \ OBJ_FILES = \
kludge_acl.o kludge_acl.o
@ -162,7 +162,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_extended_dn # Start MODULE ldb_extended_dn
[MODULE::ldb_extended_dn] [MODULE::ldb_extended_dn]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = ldb_extended_dn_init INIT_FUNCTION = ldb_extended_dn_init
OBJ_FILES = \ OBJ_FILES = \
@ -174,7 +174,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_show_deleted # Start MODULE ldb_show_deleted
[MODULE::ldb_show_deleted] [MODULE::ldb_show_deleted]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = ldb_show_deleted_init INIT_FUNCTION = ldb_show_deleted_init
OBJ_FILES = \ OBJ_FILES = \
@ -186,7 +186,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_partition # Start MODULE ldb_partition
[MODULE::ldb_partition] [MODULE::ldb_partition]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = ldb_partition_init INIT_FUNCTION = ldb_partition_init
OBJ_FILES = \ OBJ_FILES = \
@ -198,7 +198,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_schema # Start MODULE ldb_schema
[MODULE::ldb_schema] [MODULE::ldb_schema]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = ldb_schema_init INIT_FUNCTION = ldb_schema_init
OBJ_FILES = \ OBJ_FILES = \
@ -210,7 +210,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_update_kt # Start MODULE ldb_update_kt
[MODULE::ldb_update_kt] [MODULE::ldb_update_kt]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
PRIVATE_DEPENDENCIES = LIBTALLOC CREDENTIALS_KRB5 PRIVATE_DEPENDENCIES = LIBTALLOC CREDENTIALS_KRB5
#Also depends on credentials, but that would loop #Also depends on credentials, but that would loop
INIT_FUNCTION = ldb_update_kt_init INIT_FUNCTION = ldb_update_kt_init

View File

@ -9,7 +9,7 @@ OBJ_FILES = \
kdc.o \ kdc.o \
kpasswdd.o kpasswdd.o
PRIVATE_DEPENDENCIES = \ PRIVATE_DEPENDENCIES = \
ldb KERBEROS_LIB HEIMDAL_KDC HEIMDAL_HDB SAMDB LIBLDB KERBEROS_LIB HEIMDAL_KDC HEIMDAL_HDB SAMDB
# End SUBSYSTEM KDC # End SUBSYSTEM KDC
####################### #######################
@ -22,7 +22,7 @@ OBJ_FILES = \
hdb-ldb.o \ hdb-ldb.o \
pac-glue.o pac-glue.o
PRIVATE_DEPENDENCIES = \ PRIVATE_DEPENDENCIES = \
ldb auth_sam KERBEROS LIBLDB auth_sam KERBEROS
# End SUBSYSTEM KDC # End SUBSYSTEM KDC
####################### #######################

View File

@ -43,5 +43,5 @@ OBJ_FILES = gencache/gencache.o \
PUBLIC_PROTO_HEADER = db_wrap_proto.h PUBLIC_PROTO_HEADER = db_wrap_proto.h
PUBLIC_HEADERS = db_wrap.h PUBLIC_HEADERS = db_wrap.h
OBJ_FILES = db_wrap.o gendb.o OBJ_FILES = db_wrap.o gendb.o
PUBLIC_DEPENDENCIES = LIBTDB ldb PUBLIC_DEPENDENCIES = LIBTDB LIBLDB
PRIVATE_DEPENDENCIES = LDBSAMBA PRIVATE_DEPENDENCIES = LDBSAMBA

View File

@ -41,6 +41,10 @@ LDB_TDB_OBJ=$(LDB_TDB_DIR)/ldb_tdb.o \
$(LDB_TDB_DIR)/ldb_pack.o $(LDB_TDB_DIR)/ldb_search.o $(LDB_TDB_DIR)/ldb_index.o \ $(LDB_TDB_DIR)/ldb_pack.o $(LDB_TDB_DIR)/ldb_search.o $(LDB_TDB_DIR)/ldb_index.o \
$(LDB_TDB_DIR)/ldb_cache.o $(LDB_TDB_DIR)/ldb_tdb_wrap.o $(LDB_TDB_DIR)/ldb_cache.o $(LDB_TDB_DIR)/ldb_tdb_wrap.o
LDB_MAP_DIR=ldb_map
LDB_MAP_OBJ=$(LDB_MAP_DIR)/ldb_map.o $(LDB_MAP_DIR)/ldb_map_inbound.o \
$(LDB_MAP_DIR)/ldb_map_outbound.o
COMDIR=common COMDIR=common
COMMON_OBJ=$(COMDIR)/ldb.o $(COMDIR)/ldb_ldif.o \ COMMON_OBJ=$(COMDIR)/ldb.o $(COMDIR)/ldb_ldif.o \
$(COMDIR)/ldb_parse.o $(COMDIR)/ldb_msg.o $(COMDIR)/ldb_utf8.o \ $(COMDIR)/ldb_parse.o $(COMDIR)/ldb_msg.o $(COMDIR)/ldb_utf8.o \
@ -57,7 +61,7 @@ NSSDIR=nssldb
NSS_OBJ= $(NSSDIR)/ldb-nss.o $(NSSDIR)/ldb-pwd.o $(NSSDIR)/ldb-grp.o NSS_OBJ= $(NSSDIR)/ldb-nss.o $(NSSDIR)/ldb-pwd.o $(NSSDIR)/ldb-grp.o
NSS_LIB = lib/libnss_ldb.so.2 NSS_LIB = lib/libnss_ldb.so.2
OBJS = $(MODULES_OBJ) $(COMMON_OBJ) $(LDB_TDB_OBJ) $(TDB_OBJ) $(TALLOC_OBJ) $(POPT_OBJ) @LIBREPLACEOBJ@ $(EXTRA_OBJ) OBJS = $(MODULES_OBJ) $(COMMON_OBJ) $(LDB_TDB_OBJ) $(TDB_OBJ) $(TALLOC_OBJ) $(POPT_OBJ) $(LDB_MAP_OBJ) @LIBREPLACEOBJ@ $(EXTRA_OBJ)
LDB_LIB = lib/libldb.a LDB_LIB = lib/libldb.a

View File

@ -4,7 +4,7 @@
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
INIT_FUNCTION = ldb_asq_init INIT_FUNCTION = ldb_asq_init
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
OBJ_FILES = \ OBJ_FILES = \
modules/asq.o modules/asq.o
# End MODULE ldb_asq # End MODULE ldb_asq
@ -16,7 +16,7 @@ OBJ_FILES = \
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
INIT_FUNCTION = ldb_sort_init INIT_FUNCTION = ldb_sort_init
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
OBJ_FILES = \ OBJ_FILES = \
modules/sort.o modules/sort.o
# End MODULE ldb_sort # End MODULE ldb_sort
@ -28,7 +28,7 @@ OBJ_FILES = \
INIT_FUNCTION = ldb_paged_results_init INIT_FUNCTION = ldb_paged_results_init
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
OBJ_FILES = \ OBJ_FILES = \
modules/paged_results.o modules/paged_results.o
# End MODULE ldb_paged_results # End MODULE ldb_paged_results
@ -40,7 +40,7 @@ OBJ_FILES = \
INIT_FUNCTION = ldb_paged_searches_init INIT_FUNCTION = ldb_paged_searches_init
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
OBJ_FILES = \ OBJ_FILES = \
modules/paged_searches.o modules/paged_searches.o
# End MODULE ldb_paged_results # End MODULE ldb_paged_results
@ -49,7 +49,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_operational # Start MODULE ldb_operational
[MODULE::ldb_operational] [MODULE::ldb_operational]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = ldb_operational_init INIT_FUNCTION = ldb_operational_init
@ -64,7 +64,7 @@ OBJ_FILES = \
INIT_FUNCTION = ldb_objectclass_init INIT_FUNCTION = ldb_objectclass_init
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
OBJ_FILES = \ OBJ_FILES = \
modules/objectclass.o modules/objectclass.o
# End MODULE ldb_objectclass # End MODULE ldb_objectclass
@ -73,7 +73,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_rdn_name # Start MODULE ldb_rdn_name
[MODULE::ldb_rdn_name] [MODULE::ldb_rdn_name]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = ldb_rdn_name_init INIT_FUNCTION = ldb_rdn_name_init
@ -85,7 +85,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_ildap # Start MODULE ldb_ildap
[MODULE::ldb_ildap] [MODULE::ldb_ildap]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC LIBCLI_LDAP PRIVATE_DEPENDENCIES = LIBTALLOC LIBCLI_LDAP
INIT_FUNCTION = ldb_ildap_init INIT_FUNCTION = ldb_ildap_init
@ -99,19 +99,19 @@ OBJ_FILES = \
# Start MODULE ldb_map # Start MODULE ldb_map
[MODULE::ldb_map] [MODULE::ldb_map]
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
CFLAGS = -Ilib/ldb/include -Ilib/ldb/modules CFLAGS = -Ilib/ldb/include -Ilib/ldb/ldb_map
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
OBJ_FILES = \ OBJ_FILES = \
modules/ldb_map_inbound.o \ ldb_map/ldb_map_inbound.o \
modules/ldb_map_outbound.o \ ldb_map/ldb_map_outbound.o \
modules/ldb_map.o ldb_map/ldb_map.o
# End MODULE ldb_map # End MODULE ldb_map
################################################ ################################################
################################################ ################################################
# Start MODULE ldb_skel # Start MODULE ldb_skel
[MODULE::ldb_skel] [MODULE::ldb_skel]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC
INIT_FUNCTION = ldb_skel_init INIT_FUNCTION = ldb_skel_init
@ -122,7 +122,7 @@ OBJ_FILES = modules/skel.o
################################################ ################################################
# Start MODULE ldb_sqlite3 # Start MODULE ldb_sqlite3
[MODULE::ldb_sqlite3] [MODULE::ldb_sqlite3]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
PRIVATE_DEPENDENCIES = LIBTALLOC SQLITE3 LIBTALLOC PRIVATE_DEPENDENCIES = LIBTALLOC SQLITE3 LIBTALLOC
INIT_FUNCTION = ldb_sqlite3_init INIT_FUNCTION = ldb_sqlite3_init
@ -134,7 +134,7 @@ OBJ_FILES = \
################################################ ################################################
# Start MODULE ldb_tdb # Start MODULE ldb_tdb
[MODULE::ldb_tdb] [MODULE::ldb_tdb]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
CFLAGS = -Ilib/ldb/include -Ilib/ldb/ldb_tdb CFLAGS = -Ilib/ldb/include -Ilib/ldb/ldb_tdb
INIT_FUNCTION = ldb_tdb_init INIT_FUNCTION = ldb_tdb_init
OBJ_FILES = \ OBJ_FILES = \
@ -155,7 +155,7 @@ PRIVATE_DEPENDENCIES = \
################################################ ################################################
# Start SUBSYSTEM ldb # Start SUBSYSTEM ldb
[LIBRARY::ldb] [LIBRARY::LIBLDB]
VERSION = 0.0.1 VERSION = 0.0.1
SO_VERSION = 0 SO_VERSION = 0
CFLAGS = -Ilib/ldb/include CFLAGS = -Ilib/ldb/include
@ -186,24 +186,13 @@ PUBLIC_HEADERS = include/ldb.h include/ldb_errors.h
# End SUBSYSTEM ldb # End SUBSYSTEM ldb
################################################ ################################################
################################################
# Start SUBSYSTEM LDBSAMBA
[SUBSYSTEM::LDBSAMBA]
PUBLIC_DEPENDENCIES = ldb
PRIVATE_PROTO_HEADER = samba/ldif_handlers.h
PRIVATE_DEPENDENCIES = LIBSECURITY SAMDB
OBJ_FILES = \
samba/ldif_handlers.o
# End SUBSYSTEM LDBSAMBA
################################################
################################################ ################################################
# Start SUBSYSTEM LIBLDB_CMDLINE # Start SUBSYSTEM LIBLDB_CMDLINE
[SUBSYSTEM::LIBLDB_CMDLINE] [SUBSYSTEM::LIBLDB_CMDLINE]
CFLAGS = -Ilib/ldb CFLAGS = -Ilib/ldb
OBJ_FILES= \ OBJ_FILES= \
tools/cmdline.o tools/cmdline.o
PUBLIC_DEPENDENCIES = ldb LIBPOPT PUBLIC_DEPENDENCIES = LIBLDB LIBPOPT
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL POPT_SAMBA POPT_CREDENTIALS gensec PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL POPT_SAMBA POPT_CREDENTIALS gensec
# End SUBSYSTEM LIBLDB_CMDLINE # End SUBSYSTEM LIBLDB_CMDLINE
################################################ ################################################
@ -319,8 +308,10 @@ PRIVATE_DEPENDENCIES = \
####################### #######################
# Start LIBRARY swig_ldb # Start LIBRARY swig_ldb
[LIBRARY::swig_ldb] [LIBRARY::swig_ldb]
PUBLIC_DEPENDENCIES = ldb DYNCONFIG PUBLIC_DEPENDENCIES = LIBLDB DYNCONFIG
LIBRARY_REALNAME = swig/_ldb.$(SHLIBEXT) LIBRARY_REALNAME = swig/_ldb.$(SHLIBEXT)
OBJ_FILES = swig/ldb_wrap.o OBJ_FILES = swig/ldb_wrap.o
# End LIBRARY swig_ldb # End LIBRARY swig_ldb
####################### #######################
include samba/config.mk

View File

@ -4,23 +4,24 @@
Copyright (C) Jelmer Vernooij 2005 Copyright (C) Jelmer Vernooij 2005
Copyright (C) Martin Kuehl <mkhl@samba.org> 2006 Copyright (C) Martin Kuehl <mkhl@samba.org> 2006
* NOTICE: this module is NOT released under the GNU LGPL license as ** NOTE! The following LGPL license applies to the ldb
* other ldb code. This module is release under the GNU GPL v2 or ** library. This does NOT imply that all of Samba is released
* later license. ** under the LGPL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is free software; you can redistribute it and/or modify This library is distributed in the hope that it will be useful,
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
GNU General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU Lesser General Public
along with this program; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
/* /*

View File

@ -4,23 +4,24 @@
Copyright (C) Jelmer Vernooij 2005 Copyright (C) Jelmer Vernooij 2005
Copyright (C) Martin Kuehl <mkhl@samba.org> 2006 Copyright (C) Martin Kuehl <mkhl@samba.org> 2006
* NOTICE: this module is NOT released under the GNU LGPL license as ** NOTE! The following LGPL license applies to the ldb
* other ldb code. This module is release under the GNU GPL v2 or ** library. This does NOT imply that all of Samba is released
* later license. ** under the LGPL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is free software; you can redistribute it and/or modify This library is distributed in the hope that it will be useful,
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
GNU General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU Lesser General Public
along with this program; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#ifndef __LDB_MAP_H__ #ifndef __LDB_MAP_H__

View File

@ -4,23 +4,24 @@
Copyright (C) Jelmer Vernooij 2005 Copyright (C) Jelmer Vernooij 2005
Copyright (C) Martin Kuehl <mkhl@samba.org> 2006 Copyright (C) Martin Kuehl <mkhl@samba.org> 2006
* NOTICE: this module is NOT released under the GNU LGPL license as ** NOTE! The following LGPL license applies to the ldb
* other ldb code. This module is release under the GNU GPL v2 or ** library. This does NOT imply that all of Samba is released
* later license. ** under the LGPL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is free software; you can redistribute it and/or modify This library is distributed in the hope that it will be useful,
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
GNU General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU Lesser General Public
along with this program; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "ldb_includes.h" #include "ldb_includes.h"

View File

@ -5,23 +5,24 @@
Copyright (C) Martin Kuehl <mkhl@samba.org> 2006 Copyright (C) Martin Kuehl <mkhl@samba.org> 2006
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2006 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2006
* NOTICE: this module is NOT released under the GNU LGPL license as ** NOTE! The following LGPL license applies to the ldb
* other ldb code. This module is release under the GNU GPL v2 or ** library. This does NOT imply that all of Samba is released
* later license. ** under the LGPL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is free software; you can redistribute it and/or modify This library is distributed in the hope that it will be useful,
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
GNU General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU Lesser General Public
along with this program; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "ldb_includes.h" #include "ldb_includes.h"

View File

@ -0,0 +1,12 @@
################################################
# Start SUBSYSTEM LDBSAMBA
[SUBSYSTEM::LDBSAMBA]
PUBLIC_DEPENDENCIES = LIBLDB
PRIVATE_PROTO_HEADER = ldif_handlers.h
PRIVATE_DEPENDENCIES = LIBSECURITY SAMDB
OBJ_FILES = \
ldif_handlers.o
# End SUBSYSTEM LDBSAMBA
################################################

View File

@ -68,7 +68,7 @@ SUBSYSTEM = registry
OBJ_FILES = \ OBJ_FILES = \
reg_backend_ldb.o reg_backend_ldb.o
PRIVATE_DEPENDENCIES = \ PRIVATE_DEPENDENCIES = \
ldb LIBLDB
# End MODULE registry_ldb # End MODULE registry_ldb
################################################ ################################################

View File

@ -77,7 +77,7 @@ DESCRIPTION = CLDAP client library
OBJ_FILES = cldap/cldap.o OBJ_FILES = cldap/cldap.o
PUBLIC_HEADERS = cldap/cldap.h PUBLIC_HEADERS = cldap/cldap.h
PUBLIC_DEPENDENCIES = LIBCLI_LDAP PUBLIC_DEPENDENCIES = LIBCLI_LDAP
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL ldb PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBLDB
[LIBRARY::LIBCLI_WREPL] [LIBRARY::LIBCLI_WREPL]
PRIVATE_PROTO_HEADER = wrepl/winsrepl_proto.h PRIVATE_PROTO_HEADER = wrepl/winsrepl_proto.h

View File

@ -8,14 +8,14 @@ OBJ_FILES = \
wins/wins_hook.o wins/wins_hook.o
PRIVATE_PROTO_HEADER = wins/winsdb_proto.h PRIVATE_PROTO_HEADER = wins/winsdb_proto.h
PUBLIC_DEPENDENCIES = \ PUBLIC_DEPENDENCIES = \
ldb LIBLDB
# End SUBSYSTEM WINSDB # End SUBSYSTEM WINSDB
####################### #######################
####################### #######################
# Start MODULE ldb_wins_ldb # Start MODULE ldb_wins_ldb
[MODULE::ldb_wins_ldb] [MODULE::ldb_wins_ldb]
SUBSYSTEM = ldb SUBSYSTEM = LIBLDB
INIT_FUNCTION = wins_ldb_module_init INIT_FUNCTION = wins_ldb_module_init
OBJ_FILES = \ OBJ_FILES = \
wins/wins_ldb.o wins/wins_ldb.o

View File

@ -8,7 +8,7 @@ SUBSYSTEM = ntptr
OBJ_FILES = \ OBJ_FILES = \
simple_ldb/ntptr_simple_ldb.o simple_ldb/ntptr_simple_ldb.o
PRIVATE_DEPENDENCIES = \ PRIVATE_DEPENDENCIES = \
ldb NDR_SPOOLSS DCERPC_COMMON LIBLDB NDR_SPOOLSS DCERPC_COMMON
# End MODULE ntptr_simple_ldb # End MODULE ntptr_simple_ldb
################################################ ################################################

View File

@ -41,7 +41,7 @@ PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
SUBSYSTEM = share SUBSYSTEM = share
INIT_FUNCTION = share_ldb_init INIT_FUNCTION = share_ldb_init
OBJ_FILES = share_ldb.o OBJ_FILES = share_ldb.o
PRIVATE_DEPENDENCIES = ldb PRIVATE_DEPENDENCIES = LIBLDB
# End MODULE share_ldb # End MODULE share_ldb
################################################ ################################################