char *realbase = base;
if ( realbase == NULL ) {
- ldap_get_option( ld, LDAP_OPT_DEFBASE, (void **)&realbase );
+ ldap_get_option( ld, LDAP_OPT_DEFBASE, (void **)(char *)&realbase );
}
printf( "#\n" );
return -1;
}
sasl_getprop( p->sasl_context, SASL_MAXOUTBUF,
- (SASL_CONST void **) &p->sasl_maxbuf );
+ (SASL_CONST void **)(char *) &p->sasl_maxbuf );
sbiod->sbiod_pvt = p;
if( flags != LDAP_SASL_QUIET ) {
saslrc = sasl_getprop( ctx, SASL_USERNAME,
- (SASL_CONST void **) &data );
+ (SASL_CONST void **)(char *) &data );
if( saslrc == SASL_OK && data && *data ) {
fprintf( stderr, "SASL username: %s\n", data );
}
#endif
}
- saslrc = sasl_getprop( ctx, SASL_SSF, (SASL_CONST void **) &ssf );
+ saslrc = sasl_getprop( ctx, SASL_SSF, (SASL_CONST void **)(char *) &ssf );
if( saslrc == SASL_OK ) {
if( flags != LDAP_SASL_QUIET ) {
fprintf( stderr, "SASL SSF: %lu\n",
}
sc = sasl_getprop( ctx, SASL_SSF,
- (SASL_CONST void **) &ssf );
+ (SASL_CONST void **)(char *) &ssf );
if ( sc != SASL_OK ) {
return -1;
assert( ber_bvcmp( &slap_EXOP_MODIFY_PASSWD, &op->ore_reqoid ) == 0 );
rs->sr_err = sasl_getprop( op->o_conn->c_sasl_authctx, SASL_USERNAME,
- (SASL_CONST void **)&id.bv_val );
+ (SASL_CONST void **)(char *)&id.bv_val );
if( rs->sr_err != SASL_OK ) {
rs->sr_text = "unable to retrieve SASL username";