Diff for /servers/slapd/back-ldap/modrdn.c between versions 1.47.2.4 and 1.47.2.5

version 1.47.2.4, 2007/02/13 20:22:24 version 1.47.2.5, 2007/08/31 23:14:02
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.57 2007/01/17 20:52:13 ando Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/modrdn.c,v 1.58 2007/08/22 13:49:35 ando 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-2007 The OpenLDAP Foundation.   * Copyright 1999-2007 The OpenLDAP Foundation.
Line 74  ldap_back_modrdn( Line 74  ldap_back_modrdn(
   
 retry:  retry:
         ctrls = op->o_ctrls;          ctrls = op->o_ctrls;
         rc = ldap_back_proxy_authz_ctrl( &lc->lc_bound_ndn,          rc = ldap_back_controls_add( op, rs, lc, &ctrls );
                 li->li_version, &li->li_idassert, 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;
Line 92  retry: Line 91  retry:
                 retrying &= ~LDAP_BACK_RETRYING;                  retrying &= ~LDAP_BACK_RETRYING;
                 if ( ldap_back_retry( &lc, op, rs, LDAP_BACK_SENDERR ) ) {                  if ( ldap_back_retry( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
                         /* if the identity changed, there might be need to re-authz */                          /* if the identity changed, there might be need to re-authz */
                         (void)ldap_back_proxy_authz_ctrl_free( op, &ctrls );                          (void)ldap_back_controls_free( op, rs, &ctrls );
                         goto retry;                          goto retry;
                 }                  }
         }          }
   
 cleanup:  cleanup:
         (void)ldap_back_proxy_authz_ctrl_free( op, &ctrls );          (void)ldap_back_controls_free( op, rs, &ctrls );
   
         if ( lc != NULL ) {          if ( lc != NULL ) {
                 ldap_back_release_conn( li, lc );                  ldap_back_release_conn( li, lc );

Removed from v.1.47.2.4  
changed lines
  Added in v.1.47.2.5


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