]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23918: not all ldap libraries support debugging
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Jul 2007 07:29:43 +0000 (07:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:41 +0000 (12:28 -0500)
metze

source/libads/sasl_wrapping.c

index 1160493902452a94e5ae06977347987c72d30394..4a26afe740242d14588cfe0b252cb5192c9135a9 100644 (file)
@@ -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;
 }