Author: metze Date: 2007-07-17 07:30:11 +0000 (Tue, 17 Jul 2007) New Revision: 23919
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23919 Log: merge from SAMBA_3_2: not all ldap libraries support debugging metze Modified: branches/SAMBA_3_2_0/source/libads/sasl_wrapping.c Changeset: Modified: branches/SAMBA_3_2_0/source/libads/sasl_wrapping.c =================================================================== --- branches/SAMBA_3_2_0/source/libads/sasl_wrapping.c 2007-07-17 07:29:43 UTC (rev 23918) +++ branches/SAMBA_3_2_0/source/libads/sasl_wrapping.c 2007-07-17 07:30:11 UTC (rev 23919) @@ -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; }
