]> git.sur5r.net Git - openldap/commitdiff
Fixed uninitialized Backend pointer.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 17 Aug 1998 21:10:02 +0000 (21:10 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 17 Aug 1998 21:10:02 +0000 (21:10 +0000)
Make-common
servers/slapd/tools/ldif2id2children.c
servers/slapd/tools/ldif2index.c

index 567d9f3bf882313f821836fae45febf79d1373e9..800a743742194ed1078b0452a564b5e82192a1f3 100644 (file)
@@ -117,7 +117,7 @@ EXTRALDFLAGS=-g
 MAKESLAPD= yes
 #
 # remove the defines for backends you don't want to enable 
-SLAPD_BACKENDS= -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
+SLAPD_BACKENDS= -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
 #
 # If you have included -DLDAP_LDBM in the SLAPD_BACKENDS line you need
 # to specify which low-level database package to use.  There are
@@ -199,13 +199,13 @@ LDAP_DEBUG=-DLDAP_DEBUG
 LDAP_REFERRALS=-DLDAP_REFERRALS
 
 # uncomment these lines to enable support for CRYPT passwords in LDBM.
-#LDAP_CRYPT=-DLDAP_CRYPT
-#LDAP_CRYPT_LIB=-lcrypt
+LDAP_CRYPT=-DLDAP_CRYPT
+LDAP_CRYPT_LIB=-lcrypt
 
 # uncomment these lines to enable support fro tcp_wrappers in servers.
 # Requires tcp_wrappers.
-#LDAP_TCP_WRAPPERS=-DTCP_WRAPPERS -I/usr/local/include
-#LDAP_TCP_WRAPPERS_LIB=-L/usr/local/lib -lwrap
+LDAP_TCP_WRAPPERS=-DTCP_WRAPPERS -I/usr/local/include
+LDAP_TCP_WRAPPERS_LIB=-L/usr/local/lib -lwrap
 
 # uncomment this line to use soundex for approximate matches in slapd.
 # the default is to use the metaphone algorithm.
index b53ed8cdd373585bcbcd8ea8a7e407c24fa012f3..3267c211f90263719e9aa259a7dbe821c5915a7f 100644 (file)
@@ -63,7 +63,7 @@ main( int argc, char **argv )
        int             dbnum;
        ID              id;
        struct dbcache  *db, *db2;
-       Backend         *be;
+       Backend         *be = NULL;
        struct berval   bv;
        struct berval   *vals[2];
        Avlnode         *avltypes = NULL;
index 20156d2b7db0d948956cea99e90ca87ddf3569bc..31d5701ac9f4672b0b7779a37ed78304fd12195b 100644 (file)
@@ -53,7 +53,7 @@ main( int argc, char **argv )
        int             lmax, lcur, indexmask, syntaxmask;
        int             dbnum;
        unsigned long   id;
-       Backend         *be;
+       Backend         *be = NULL;
        struct berval   bv;
        struct berval   *vals[2];
        extern char     *optarg;