Diff for /servers/slapd/back-ldap/modrdn.c between versions 1.39 and 1.40

version 1.39, 2005/01/01 19:49:54 version 1.40, 2005/01/20 08:04:37
Line 1 Line 1
 /* modrdn.c - ldap backend modrdn function */  /* modrdn.c - ldap backend modrdn function */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/modrdn.c,v 1.38 2004/11/13 13:43:30 ando Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/modrdn.c,v 1.39 2005/01/01 19:49:54 kurt Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1999-2005 The OpenLDAP Foundation.   * Copyright 1999-2005 The OpenLDAP Foundation.
Line 56  ldap_back_modrdn( Line 56  ldap_back_modrdn(
         }          }
   
         ctrls = op->o_ctrls;          ctrls = op->o_ctrls;
 #ifdef LDAP_BACK_PROXY_AUTHZ  
         rc = ldap_back_proxy_authz_ctrl( lc, op, rs, &ctrls );          rc = ldap_back_proxy_authz_ctrl( lc, op, rs, &ctrls );
         if ( rc != LDAP_SUCCESS ) {          if ( rc != LDAP_SUCCESS ) {
                 send_ldap_result( op, rs );                  send_ldap_result( op, rs );
                 rc = -1;                  rc = -1;
                 goto cleanup;                  goto cleanup;
         }          }
 #endif /* LDAP_BACK_PROXY_AUTHZ */  
   
 retry:  retry:
         rs->sr_err = ldap_rename( lc->lc_ld, op->o_req_ndn.bv_val,          rs->sr_err = ldap_rename( lc->lc_ld, op->o_req_ndn.bv_val,
Line 78  retry: Line 76  retry:
         }          }
   
 cleanup:  cleanup:
 #ifdef LDAP_BACK_PROXY_AUTHZ  
         (void)ldap_back_proxy_authz_ctrl_free( op, &ctrls );          (void)ldap_back_proxy_authz_ctrl_free( op, &ctrls );
 #endif /* LDAP_BACK_PROXY_AUTHZ */  
   
         return rc;          return rc;
 }  }

Removed from v.1.39  
changed lines
  Added in v.1.40


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