Diff for /servers/slapd/back-relay/op.c between versions 1.10 and 1.11

version 1.10, 2004/10/06 03:51:41 version 1.11, 2004/12/11 15:28:45
Line 40  relay_back_swap_bd( struct slap_op *op, Line 40  relay_back_swap_bd( struct slap_op *op,
 static void  static void
 relay_back_add_cb( slap_callback *cb, struct slap_op *op )  relay_back_add_cb( slap_callback *cb, struct slap_op *op )
 {  {
                 cb->sc_next = op->o_callback;          cb->sc_next = op->o_callback;
                 cb->sc_response = relay_back_swap_bd;          cb->sc_response = relay_back_swap_bd;
                 cb->sc_cleanup = relay_back_swap_bd;          cb->sc_cleanup = relay_back_swap_bd;
                 cb->sc_private = op->o_bd;          cb->sc_private = op->o_bd;
                 op->o_callback = cb;          op->o_callback = cb;
 }  }
   
 static BackendDB *  static BackendDB *
Line 83  relay_back_select_backend( struct slap_o Line 83  relay_back_select_backend( struct slap_o
                 } else {                  } else {
                         /* NOTE: err is LDAP_INVALID_CREDENTIALS for bind,                          /* NOTE: err is LDAP_INVALID_CREDENTIALS for bind,
                          * LDAP_NO_SUCH_OBJECT for other operations.                           * LDAP_NO_SUCH_OBJECT for other operations.
                          * noSuchObject is not allowed to be returned by bind */                           * noSuchObject cannot be returned by bind */
                         rs->sr_err = err;                          rs->sr_err = err;
                         send_ldap_result( op, rs );                          send_ldap_result( op, rs );
                 }                  }

Removed from v.1.10  
changed lines
  Added in v.1.11


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org