summaryrefslogtreecommitdiff
path: root/source3/libads/sasl_wrapping.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-17 07:29:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:41 -0500
commit8cd89a20cea949485d9f54ad17ea0590a2380ca5 (patch)
tree79e3fe6cd75b946d519aac1f19f37cf56994059e /source3/libads/sasl_wrapping.c
parentd48dbc8bad3b3b3eae4a82ae2b1d609d086f4cc8 (diff)
downloadsamba-8cd89a20cea949485d9f54ad17ea0590a2380ca5.tar.gz
samba-8cd89a20cea949485d9f54ad17ea0590a2380ca5.tar.bz2
samba-8cd89a20cea949485d9f54ad17ea0590a2380ca5.zip
r23918: not all ldap libraries support debugging
metze (This used to be commit 3f68189c9a319ac9cae76f6d2b586cbde6d31e3c)
Diffstat (limited to 'source3/libads/sasl_wrapping.c')
-rw-r--r--source3/libads/sasl_wrapping.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/libads/sasl_wrapping.c b/source3/libads/sasl_wrapping.c
index 1160493902..4a26afe740 100644
--- a/source3/libads/sasl_wrapping.c
+++ b/source3/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;
}