From: Quanah Gibson-Mount Date: Mon, 3 Jan 2011 23:30:11 +0000 (+0000) Subject: ITS#6540 X-Git-Tag: OPENLDAP_REL_ENG_2_4_24~189 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f2ace48a1bbdd30a20e647dcf0f3446363f6620;p=openldap ITS#6540 --- diff --git a/CHANGES b/CHANGES index aa3b752be7..55277649b8 100644 --- a/CHANGES +++ b/CHANGES @@ -31,6 +31,7 @@ OpenLDAP 2.4.24 Engineering Fixed slapd-ldap debug output of timeout (ITS#6721) Fixed slapd-ldap DNSSRV referral chaining (ITS#6565) Fixed slapd-ldap chaining with onelevel scope (ITS#6699) + Fixed slapd-ldap chaining with ppolicy (ITS#6540) Fixed slapd-ldap with SASL/EXTERNAL (ITS#6642) Fixed slapd-ndb to honor rootpw setting (ITS#6661) Fixed slapd-meta anon retry with failed auth method (ITS#6643) diff --git a/servers/slapd/back-ldap/chain.c b/servers/slapd/back-ldap/chain.c index 9c23dbf9b1..c5f783034b 100644 --- a/servers/slapd/back-ldap/chain.c +++ b/servers/slapd/back-ldap/chain.c @@ -1262,6 +1262,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 */ @@ -1272,7 +1273,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: "