#include "lber-int.h"
struct lber_options ber_int_options = {
- LBER_UNINITIALIZED, 0, 0 };
+ LBER_UNINITIALIZED, 0, 0, 0 };
int
ber_get_option(
static int filter2ber( char *filter )
{
int rc;
- struct berval bv = {0};
+ struct berval bv = {0, NULL};
BerElement *ber;
printf( "Filter: %s\n", filter );
int i;
long stoptime = 0;
glue_state gs = {0, 0, NULL, 0, NULL, NULL};
- slap_callback cb = { glue_back_response };
+ slap_callback cb = { glue_back_response, NULL };
int scope0, slimit0, tlimit0;
struct berval dn, ndn;
}
if (doit) {
- slap_callback cb = { sasl_ap_lookup };
+ slap_callback cb = { sasl_ap_lookup, NULL };
cb.sc_private = &sl;
op.o_bd = select_backend( &op.o_req_ndn, 0, 1 );
if ( op.o_bd && op.o_bd->be_search ) {
- slap_callback cb = { sasl_cb_checkpass };
+ slap_callback cb = { sasl_cb_checkpass, NULL };
SlapReply rs = {REP_RESULT};
ci.cred.bv_val = (char *)pass;
int rc;
regex_t reg;
smatch_info sm;
- slap_callback cb = { sasl_sc_smatch };
+ slap_callback cb = { sasl_sc_smatch, NULL };
Operation op = {0};
SlapReply rs = {REP_RESULT};
struct berval *saslname, struct berval *sasldn )
{
int rc;
- slap_callback cb = { sasl_sc_sasl2dn };
+ slap_callback cb = { sasl_sc_sasl2dn, NULL };
Operation op = {0};
SlapReply rs = {REP_RESULT};
struct berval regout = { 0, NULL };
NULL, NULL, NULL, NULL, NULL,
offsetof(struct slap_internal_schema, si_ad_krbName) },
#endif
- { NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0 }
+ { NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 }
};
static AttributeType slap_at_undefined = {