return status;
}
- /* debugging for the layer above SASL */
- rc = ber_sockbuf_add_io(sb, &ber_sockbuf_io_debug,
- LBER_SBIOD_LEVEL_TRANSPORT,
- (void *)"ads_sasl_wrapping_above");
- status = ADS_ERROR_LDAP(rc);
- if (!ADS_ERR_OK(status)) {
- return status;
- }
-
/* setup the real wrapping callbacks */
rc = ber_sockbuf_add_io(sb, io, LBER_SBIOD_LEVEL_TRANSPORT, ads);
status = ADS_ERROR_LDAP(rc);
return status;
}
- /* debugging for the layer below SASL */
- rc = ber_sockbuf_add_io(sb, &ber_sockbuf_io_debug,
- LBER_SBIOD_LEVEL_TRANSPORT,
- (void *)"ads_sasl_wrapping_below");
- status = ADS_ERROR_LDAP(rc);
- if (!ADS_ERR_OK(status)) {
- return status;
- }
-
return ADS_SUCCESS;
}