mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
fix slapo-chain startup issue when using back-config, related to ITS#6540
This commit is contained in:
parent
d25e261490
commit
001b30ebc6
@ -1265,6 +1265,7 @@ chain_ldadd( CfEntryInfo *p, Entry *e, ConfigArgs *ca )
|
||||
assert( rc == LDAP_SUCCESS );
|
||||
|
||||
at = attr_find( e->e_attrs, ad );
|
||||
#if 0
|
||||
if ( lc->lc_common_li == NULL && at != NULL ) {
|
||||
/* FIXME: we should generate an empty default entry
|
||||
* if none is supplied */
|
||||
@ -1275,7 +1276,9 @@ chain_ldadd( CfEntryInfo *p, Entry *e, ConfigArgs *ca )
|
||||
rc = LDAP_CONSTRAINT_VIOLATION;
|
||||
goto done;
|
||||
|
||||
} else if ( lc->lc_common_li != NULL && at == NULL ) {
|
||||
} else
|
||||
#endif
|
||||
if ( lc->lc_common_li != NULL && at == NULL ) {
|
||||
/* FIXME: we should generate an empty default entry
|
||||
* if none is supplied */
|
||||
Debug( LDAP_DEBUG_ANY, "slapd-chain: "
|
||||
|
Loading…
Reference in New Issue
Block a user