/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2005-2007 The OpenLDAP Foundation.
+ * Copyright 2005-2013 The OpenLDAP Foundation.
* Portions Copyright 2003 Howard Chu.
* All rights reserved.
*
} ContinuationReference_t;
#define CR_INIT { NULL, BER_BVNULL, LDAP_DP_RT_UNKNOWN, BER_BVNULL, LDAP_DP_SS_UNKNOWN, NULL, BER_BVNULL }
+#ifdef unused
static struct berval bv2rt[] = {
BER_BVC( "superior" ),
BER_BVC( "subordinate" ),
ber_str2bv( s, 0, 0, &bv );
return ldap_distproc_bv2ss( &bv );
}
+#endif /* unused */
/*
* NOTE: this overlay assumes that the chainingBehavior control
#define ldap_distproc_db_close_one(be) (0)
#define ldap_distproc_db_destroy_one(be, ca) (lback)->bi_db_destroy( (be), (ca) )
-static int
-ldap_distproc_parse_ctrl(
- Operation *op,
- SlapReply *rs,
- LDAPControl *ctrl );
-
static int
ldap_distproc_uri_cmp( const void *c1, const void *c2 )
{
* database. This fix is likely to intercept also entries
* generated by back-perl and so. */
if ( rs->sr_entry->e_private == NULL ) {
- return 0;
+ return LDAP_SUCCESS;
}
return SLAP_CB_CONTINUE;