mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix prev commit
This commit is contained in:
parent
461461937b
commit
a031b99546
@ -387,10 +387,12 @@ got_soc:
|
||||
}
|
||||
}
|
||||
}
|
||||
snprintf( textbuf, textlen,
|
||||
"class '%s' not allowed by content rule '%s'",
|
||||
oc->soc_cname.bv_val,
|
||||
ldap_contentrule2name( &cr->scr_crule ) );
|
||||
if ( k ) {
|
||||
snprintf( textbuf, textlen,
|
||||
"class '%s' not allowed by content rule '%s'",
|
||||
oc->soc_cname.bv_val,
|
||||
ldap_contentrule2name( &cr->scr_crule ) );
|
||||
}
|
||||
} else if ( global_disallows & SLAP_DISALLOW_AUX_WO_CR ) {
|
||||
k = -1;
|
||||
snprintf( textbuf, textlen,
|
||||
|
Loading…
Reference in New Issue
Block a user