mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
minor cleanup
This commit is contained in:
parent
7cf03f2b50
commit
22bc85dc77
1 changed files with 4 additions and 4 deletions
|
|
@ -248,7 +248,7 @@ access_allowed_mask(
|
|||
#endif /* LDAP_SLAPI */
|
||||
|
||||
/* grant database root access */
|
||||
if ( be != NULL && be_isroot( op ) ) {
|
||||
if ( /* be != NULL && */ be_isroot( op ) ) {
|
||||
Debug( LDAP_DEBUG_ACL,
|
||||
"<= root access granted\n",
|
||||
0, 0, 0 );
|
||||
|
|
@ -713,17 +713,17 @@ acl_mask(
|
|||
* is maintaned in a_dn_pat.
|
||||
*/
|
||||
if ( b->a_dn_style == ACL_STYLE_ANONYMOUS ) {
|
||||
if ( op->o_ndn.bv_len != 0 ) {
|
||||
if ( !BER_BVISEMPTY( &op->o_ndn ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
} else if ( b->a_dn_style == ACL_STYLE_USERS ) {
|
||||
if ( op->o_ndn.bv_len == 0 ) {
|
||||
if ( BER_BVISEMPTY( &op->o_ndn ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
} else if ( b->a_dn_style == ACL_STYLE_SELF ) {
|
||||
if ( op->o_ndn.bv_len == 0 ) {
|
||||
if ( BER_BVISEMPTY( &op->o_ndn ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue