mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
cleanup ITS#4781 enhancement
This commit is contained in:
parent
b0f06da400
commit
45edf395eb
@ -1919,7 +1919,10 @@ ldap_back_is_proxy_authz( Operation *op, SlapReply *rs, ldap_back_send_t sendok,
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
/* NOTE: rootdn can always idassert */
|
/* NOTE: rootdn can always idassert */
|
||||||
if ( BER_BVISNULL( &ndn ) && li->li_idassert_authz == NULL ) {
|
if ( BER_BVISNULL( &ndn )
|
||||||
|
&& li->li_idassert_authz == NULL
|
||||||
|
&& !( li->li_idassert_flags & LDAP_BACK_AUTH_AUTHZ_ALL ) )
|
||||||
|
{
|
||||||
if ( li->li_idassert_flags & LDAP_BACK_AUTH_PRESCRIPTIVE ) {
|
if ( li->li_idassert_flags & LDAP_BACK_AUTH_PRESCRIPTIVE ) {
|
||||||
rs->sr_err = LDAP_INAPPROPRIATE_AUTH;
|
rs->sr_err = LDAP_INAPPROPRIATE_AUTH;
|
||||||
if ( sendok & LDAP_BACK_SENDERR ) {
|
if ( sendok & LDAP_BACK_SENDERR ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user