/* test access to attribute */
for ( i = 0; !BER_BVISNULL( &a->a_vals[i] ); i++ )
- /* jst count */ ;
+ /* just count */ ;
vals = op->o_tmpalloc( ( i + 1 ) * sizeof( struct berval ), op->o_tmpmemctx );
if ( a->a_nvals != a->a_vals ) {
Attribute *a;
slap_callback cb;
Operation o = *op;
- SlapReply r = *rs;
+ SlapReply r = { REP_SEARCH };
struct berval *url;
Entry *e;
int e_flags;
cb.sc_next = NULL;
o.o_callback = &cb;
+ o.ors_deref = LDAP_DEREF_NEVER;
o.ors_limit = NULL;
o.ors_tlimit = SLAP_NO_LIMIT;
o.ors_slimit = SLAP_NO_LIMIT;
}
o.ors_scope = LDAP_SCOPE_BASE;
+ o.ors_deref = LDAP_DEREF_NEVER;
an[0].an_name = op->orc_ava->aa_desc->ad_cname;
an[0].an_desc = op->orc_ava->aa_desc;
BER_BVZERO( &an[1].an_name );
static slap_overinst dynlist = { { NULL } };
int
-dynlist_over_init(void)
+dynlist_init(void)
{
dynlist.on_bi.bi_type = "dynlist";
dynlist.on_bi.bi_db_init = dynlist_db_init;
int
init_module( int argc, char *argv[] )
{
- return dynlist_over_init();
+ return dynlist_init();
}
#endif