Author: metze
Date: 2007-07-17 07:29:43 +0000 (Tue, 17 Jul 2007)
New Revision: 23918

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23918

Log:
not all ldap libraries support debugging

metze
Modified:
   branches/SAMBA_3_2/source/libads/sasl_wrapping.c


Changeset:
Modified: branches/SAMBA_3_2/source/libads/sasl_wrapping.c
===================================================================
--- branches/SAMBA_3_2/source/libads/sasl_wrapping.c    2007-07-17 07:28:26 UTC 
(rev 23917)
+++ branches/SAMBA_3_2/source/libads/sasl_wrapping.c    2007-07-17 07:29:43 UTC 
(rev 23918)
@@ -80,15 +80,6 @@
                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 @@
                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;
 }
 

Reply via email to