From: Stefan Metzmacher Date: Tue, 17 Jul 2007 07:29:43 +0000 (+0000) Subject: r23918: not all ldap libraries support debugging X-Git-Tag: samba-misc-tags/initial-v3-2-unstable~693 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f68189c9a319ac9cae76f6d2b586cbde6d31e3c;p=thirdparty%2Fsamba.git r23918: not all ldap libraries support debugging metze --- diff --git a/source/libads/sasl_wrapping.c b/source/libads/sasl_wrapping.c index 11604939024..4a26afe7402 100644 --- a/source/libads/sasl_wrapping.c +++ b/source/libads/sasl_wrapping.c @@ -80,15 +80,6 @@ ADS_STATUS ads_setup_sasl_wrapping(ADS_STRUCT *ads) 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); @@ -96,15 +87,6 @@ ADS_STATUS ads_setup_sasl_wrapping(ADS_STRUCT *ads) 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; }