Skip to content
Snippets Groups Projects
Commit 401bd749 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fixed uninitialized Backend pointer.

parent e66aa921
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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;
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment