goto done;
}
+ be = op->o_bd;
+ if ( be == NULL ) {
+ be = &backends[0];
+ be_null = 1;
+ op->o_bd = be;
+ }
+ assert( be != NULL );
+
#ifdef LDAP_SLAPI
if ( op->o_pb != NULL ) {
ret = slapi_int_access_allowed( op, e, desc, val, access, state );
}
#endif /* LDAP_SLAPI */
- be = op->o_bd;
- if ( be == NULL ) {
- be = &backends[0];
- be_null = 1;
- op->o_bd = be;
- }
- assert( be != NULL );
-
/* grant database root access */
if ( be != NULL && be_isroot( be, &op->o_ndn ) ) {
#ifdef NEW_LOGGING