]> git.sur5r.net Git - openldap/commitdiff
sync with HEAD
authorKurt Zeilenga <kurt@openldap.org>
Tue, 11 Apr 2006 22:43:51 +0000 (22:43 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 11 Apr 2006 22:43:51 +0000 (22:43 +0000)
15 files changed:
build/top.mk
doc/guide/admin/slapdconfig.sdf
include/ldap_cdefs.h
include/ldap_defaults.h
libraries/libldap/tls.c
servers/slapd/alock.c
servers/slapd/back-monitor/database.c
servers/slapd/dn.c
servers/slapd/kerberos.c
servers/slapd/slap.h
tests/README
tests/run.in
tests/scripts/test006-acls
tests/scripts/test034-translucent
tests/scripts/test041-aci

index 7e8bf4bbcfbfb30c0e7de430471432cbff951122..d72cec70d2d5080a6aa21fca8aaff556afac1abc 100644 (file)
@@ -157,7 +157,6 @@ LUTIL_LIBS = @LUTIL_LIBS@
 LTHREAD_LIBS = @LTHREAD_LIBS@
 
 BDB_LIBS = @BDB_LIBS@
-LDBM_LIBS = $(BDB_LIBS)
 
 LDAP_LIBLBER_LA = $(LDAP_LIBDIR)/liblber/liblber.la
 LDAP_LIBLDAP_LA = $(LDAP_LIBDIR)/libldap/libldap.la
index e421de751b466dca59a8f0cdd2ff8f53d428b3e0..bd97c8bc1ea0740dcbd889bf76e124d976726a58 100644 (file)
@@ -238,7 +238,6 @@ bdb Berkeley DB transactional backend
 dnssrv DNS SRV backend
 hdb    Hierarchical variant of bdb backend
 ldap   Lightweight Directory Access Protocol (Proxy) backend
-ldbm   Lightweight DBM backend
 meta   Meta Directory backend
 monitor        Monitor backend
 passwd Provides read-only access to {{passwd}}(5)
@@ -530,8 +529,8 @@ The {{EX:realm}} parameter specifies a realm which a certain
 mechanisms authenticate the identity within. The {{EX:secprops}}
 parameter specifies Cyrus SASL security properties.
 
-The syncrepl replication mechanism is supported by the
-three native backends: back-bdb, back-hdb, and back-ldbm.
+The syncrepl replication mechanism is supported by the two primary
+database backends: back-bdb and back-hdb.
 
 See the {{SECT:LDAP Sync Replication}} chapter of the admin guide
 for more information on how to use this directive.
index 126947973ff62764ae46ab63980ac6c521c714e9..b4955ea50a6bd609fc7f642de35ea44d92015a70 100644 (file)
 #      define LDAP_AVL_V(type)         extern type
 #endif
 
-/* LDBM library */
-/* Not exported/imported any more */
-#      define LDAP_LDBM_F(type)        extern type
-#      define LDAP_LDBM_V(type)        extern type
-
 /* LDIF library */
 #if defined(_WIN32) && defined(SLAPD_IMPORT)
 #      define LDAP_LDIF_F(type)        extern __declspec(dllimport) type
index 861c0c199d06c06192abde072c053be769b166a9..b7b481f666b924322aa922d2acd4ea911c73b8a8 100644 (file)
@@ -56,8 +56,6 @@
 #define SLAPD_DEFAULT_SIZELIMIT                500
        /* default timelimit to spend on a search */
 #define SLAPD_DEFAULT_TIMELIMIT                3600
-       /* minimum max ids that a single index entry can map to in ldbm */
-#define SLAPD_LDBM_MIN_MAXIDS          (8192-4)
 
 /* the following DNs must be normalized! */
        /* dn of the default subschema subentry */
index 504263ed14d3df89323f441daa95596dc9ba1d8a..450db9d2d0922b4c76ddeac33f6f9a8814b6244a 100644 (file)
@@ -416,6 +416,7 @@ ldap_pvt_tls_init_def_ctx( int is_server )
 #ifdef LDAP_R_COMPILE
        ldap_pvt_thread_mutex_unlock( &tls_def_ctx_mutex );
 #endif
+       return rc;
 }
 
 static STACK_OF(X509_NAME) *
index b0bb33789fc7801735517184fb13b85e8fd06d66..461f4b556c1eeb0b32b6e7f95620c3ba610e3cb7 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "portable.h"
 
-#if SLAPD_BDB || SLAPD_HDB || SLAPD_LDBM
+#if SLAPD_BDB || SLAPD_HDB
 
 #include "alock.h"
 
index e50b53ff8a9701f8e73a0728d389fa4d93fea8a1..629248ec79698cca959f9ace7d5fde6b838f51b1 100644 (file)
@@ -42,9 +42,6 @@ static int monitor_back_add_plugin( monitor_info_t *mi, Backend *be, Entry *e );
 #if defined(SLAPD_LDAP) 
 #include "../back-ldap/back-ldap.h"
 #endif /* defined(SLAPD_LDAP) */
-#if 0 && defined(SLAPD_LDBM) 
-#include "../back-ldbm/back-ldbm.h"
-#endif /* defined(SLAPD_LDBM) */
 #if defined(SLAPD_META) 
 #include "../back-meta/back-meta.h"
 #endif /* defined(SLAPD_META) */
index 7effba1534808bad1945ca07ea6d61a21de3f780..83d042d9b4d338e117d22e22ecbe3dce413e6519 100644 (file)
@@ -1304,7 +1304,7 @@ rdn_validate( struct berval *rdn )
 
 /* build_new_dn:
  *
- * Used by ldbm/bdb2 back_modrdn to create the new dn of entries being
+ * Used by back-bdb back_modrdn to create the new dn of entries being
  * renamed.
  *
  * new_dn = parent (p_dn) + separator + rdn (newrdn) + null.
index 225b8d142116a2a1a83b49fe0f51a3d22c4ba4ba..fd145aaf2ff3a44a430d68e908cbc7a759088ec5 100644 (file)
@@ -1,4 +1,4 @@
-/* kerberos.c - ldbm backend kerberos bind routines */
+/* kerberos.c - kerberos bind routines */
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
index 19fc5d9cf7076d21331162f44304e8c3c4d69137..0136ab8242f8458e98dac8e67f04a361951aabce 100644 (file)
@@ -62,6 +62,7 @@ LDAP_BEGIN_DECL
 #define SLAP_MULTI_CONN_ARRAY
 #ifdef LDAP_PVT_THREAD_POOL_SEM_LOAD_CONTROL
 #define SLAP_SEM_LOAD_CONTROL
+#endif
 
 #define SLAP_ACL_HONOR_DISCLOSE        /* partially implemented */
 #define SLAP_ACL_HONOR_MANAGE  /* not yet implemented */
@@ -78,7 +79,6 @@ LDAP_BEGIN_DECL
 #ifdef ENABLE_REWRITE
 #define SLAP_AUTH_REWRITE      1 /* use librewrite for sasl-regexp */
 #endif
-#endif
 
 #if defined(LDAP_SLAPI) && !defined(SLAP_OVERLAY_ACCESS)
 #define SLAP_OVERLAY_ACCESS
@@ -1676,8 +1676,7 @@ struct slap_backend_db {
 
 /*
  * define to honor hasSubordinates operational attribute in search filters
- * (in previous use there was a flaw with back-bdb and back-ldbm; now it 
- * is fixed).
+ * (in previous use there was a flaw with back-bdb; now it is fixed).
  */
 #define                be_has_subordinates bd_info->bi_has_subordinates
 
index 1a3feed16263a6a5f12ceceb3f6ad44689a68575..b90cc67e18073cd7fcab5909fc11e5efb1f39c3f 100644 (file)
@@ -4,7 +4,6 @@ verify basic functionality of the LDAP libraries, slapd, and slurpd.
        To run all of the tests, type "make test".
        To run BDB tests, type "make bdb".
        To run HDB tests, type "make hdb".
-       To run LDBM tests, type "make ldbm".
        To run SQL tests, define SLAPD_USE_SQL=<rdbms> and type
                "make sql"; define SLAPD_USE_SQLWRITE=yes
                to enable write tests as well.
index 6faeed7fd8064cd24d176bdd7902220c4dd3ed9c..5fc0d4863bac8e128237183f63f54c04e0d91c90 100644 (file)
@@ -27,7 +27,6 @@ export SRCDIR TOPSRCDIR LN_S EGREP_CMD
 AC_bdb=@BUILD_BDB@
 AC_hdb=@BUILD_HDB@
 AC_ldap=ldap@BUILD_LDAP@
-AC_ldbm=@BUILD_LDBM@
 AC_meta=meta@BUILD_META@
 AC_monitor=@BUILD_MONITOR@
 AC_relay=relay@BUILD_RELAY@
@@ -54,7 +53,7 @@ AC_WITH_MODULES_ENABLED=@WITH_MODULES_ENABLED@
 AC_ACI_ENABLED=aci@WITH_ACI_ENABLED@
 AC_THREADS=threads@BUILD_THREAD@
 
-export AC_bdb AC_hdb AC_ldap AC_ldbm AC_meta AC_monitor AC_relay AC_sql \
+export AC_bdb AC_hdb AC_ldap AC_meta AC_monitor AC_relay AC_sql \
        AC_accesslog AC_dynlist AC_pcache AC_ppolicy AC_refint AC_retcode \
        AC_rwm AC_unique AC_syncprov AC_translucent AC_valsort \
        AC_dds \
@@ -113,7 +112,7 @@ while test $# -gt 0 ; do
 done
 
 if test -z "$BACKEND" ; then
-       for b in bdb ldbm hdb ; do
+       for b in bdb hdb ; do
                if eval "test \"\$AC_$b\" != no" ; then
                        BACKEND=$b
                        break
index 23d0fbd5e6ffc012a6074b048e9c29e53614fee7..6f131be1246c5edef5314f8ba8e07ca236de602c 100755 (executable)
@@ -14,7 +14,7 @@
 ## <http://www.OpenLDAP.org/license.html>.
 
 case "$BACKEND" in
-bdb|hdb|ldbm)
+bdb|hdb)
        ;;
 *)
        echo "Test does not support $BACKEND backend"
index 8e52e4a4b817d9c627c148cdd3273f4ee31687e0..75ba8298687815faad611dfabbf335c736f79082 100755 (executable)
@@ -25,11 +25,6 @@ if test $TRANSLUCENT = translucentno ; then
        exit 0
 fi 
 
-if test $BACKEND = ldbm ; then
-       echo "Translucent Proxy overlay not qualified for use with LDBM, test skipped"
-       exit 0
-fi
-
 if test $AC_ldap = ldapno ; then
        echo "Translucent Proxy overlay requires back-ldap backend, test skipped"
        exit 0
index 0d8e27ef481bbf4e44a6c7abf752de21673ec930..8d6f9af8f06a6caab81a409925386efc1b281238 100755 (executable)
@@ -14,7 +14,7 @@
 ## <http://www.OpenLDAP.org/license.html>.
 
 case "$BACKEND" in
-bdb|hdb|ldbm)
+bdb|hdb)
        ;;
 *)
        echo "Test does not support $BACKEND backend"