mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
handle unknown attribute type (ITS#3005)
This commit is contained in:
parent
f69c249892
commit
9b6d816fe1
@ -396,7 +396,7 @@ backsql_id2entry( backsql_srch_info *bsi, Entry *e, backsql_entryID *eid )
|
||||
}
|
||||
|
||||
rc = backsql_supad2at( bsi->bsi_oc, attr->an_desc, &vat );
|
||||
if ( rc != 0 ) {
|
||||
if ( rc != 0 || vat == NULL ) {
|
||||
Debug( LDAP_DEBUG_TRACE, "backsql_id2entry(): "
|
||||
"attribute '%s' is not defined "
|
||||
"for objectlass '%s'\n",
|
||||
|
Loading…
Reference in New Issue
Block a user