/* make sure this backend recongizes critical controls */
rc = backend_check_controls( be, conn, op, &text ) ;
-
if( rc != LDAP_SUCCESS ) {
send_ldap_result( conn, op, rc,
NULL, text, NULL, NULL );
}
/* check for referrals */
- rc = backend_check_referrals( be, conn, op,
- e->e_dn, e->e_ndn, &text );
-
+ rc = backend_check_referrals( be, conn, op, e->e_dn, e->e_ndn );
if ( rc != LDAP_SUCCESS ) {
goto done;
}
Connection *conn,
Operation *op,
const char *dn,
- const char *ndn,
- const char **text )
+ const char *ndn )
{
int rc = LDAP_SUCCESS;
- *bv = NULL;
if( be->be_chk_referrals ) {
+ const char *text;
+
rc = be->be_chk_referrals( be,
- conn, op, dn, ndn, text );
+ conn, op, dn, ndn, &text );
if( rc != LDAP_SUCCESS && rc != LDAP_REFERRAL ) {
send_ldap_result( conn, op, rc,
/* make sure this backend recongizes critical controls */
rc = backend_check_controls( be, conn, op, &text ) ;
-
if( rc != LDAP_SUCCESS ) {
send_ldap_result( conn, op, rc,
NULL, text, NULL, NULL );
}
/* check for referrals */
- rc = backend_check_referrals( be, conn, op,
- dn, ndn, &text );
-
+ rc = backend_check_referrals( be, conn, op, dn, ndn );
if ( rc != LDAP_SUCCESS ) {
goto cleanup;
}
/* make sure this backend recongizes critical controls */
rc = backend_check_controls( be, conn, op, &text ) ;
-
if( rc != LDAP_SUCCESS ) {
send_ldap_result( conn, op, rc,
NULL, text, NULL, NULL );
}
/* check for referrals */
- rc = backend_check_referrals( be, conn, op,
- dn, ndn, &text );
-
+ rc = backend_check_referrals( be, conn, op, dn, ndn );
if ( rc != LDAP_SUCCESS ) {
goto cleanup;
}
/* make sure this backend recongizes critical controls */
rc = backend_check_controls( be, conn, op, &text ) ;
-
if( rc != LDAP_SUCCESS ) {
send_ldap_result( conn, op, rc,
NULL, text, NULL, NULL );
}
/* check for referrals */
- rc = backend_check_referrals( be, conn, op,
- dn, ndn, &text );
-
+ rc = backend_check_referrals( be, conn, op, dn, ndn );
if ( rc != LDAP_SUCCESS ) {
goto cleanup;
}
/* make sure this backend recongizes critical controls */
rc = backend_check_controls( be, conn, op, &text ) ;
-
if( rc != LDAP_SUCCESS ) {
send_ldap_result( conn, op, rc,
NULL, text, NULL, NULL );
}
/* check for referrals */
- rc = backend_check_referrals( be, conn, op,
- dn, ndn, &text );
-
+ rc = backend_check_referrals( be, conn, op, dn, ndn );
if ( rc != LDAP_SUCCESS ) {
goto cleanup;
}
Connection *conn,
Operation *op,
const char *dn,
- const char *ndn,
- const char **text ));
+ const char *ndn ));
LIBSLAPD_F (int) backend_connection_init LDAP_P((Connection *conn));
LIBSLAPD_F (int) backend_connection_destroy LDAP_P((Connection *conn));
}
/* check for referrals */
- rc = backend_check_referrals( be, conn, op,
- base, nbase, &text );
-
+ rc = backend_check_referrals( be, conn, op, base, nbase );
if ( rc != LDAP_SUCCESS ) {
goto return_results;
}