mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Fixed uninitialized Backend pointer.
This commit is contained in:
parent
e66aa92102
commit
401bd7495a
10
Make-common
10
Make-common
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user