summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-17 07:28:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:41 -0500
commitd48dbc8bad3b3b3eae4a82ae2b1d609d086f4cc8 (patch)
tree41930f366d663d9477957831fdb9c096a473b9bc /source3/libads
parent63e93ad01274f34617bacd56d0e43cb0b81475c9 (diff)
downloadsamba-d48dbc8bad3b3b3eae4a82ae2b1d609d086f4cc8.tar.gz
samba-d48dbc8bad3b3b3eae4a82ae2b1d609d086f4cc8.tar.bz2
samba-d48dbc8bad3b3b3eae4a82ae2b1d609d086f4cc8.zip
r23916: use the correct io operations for debugging
metze (This used to be commit d745a1a71991f306c29b3c62f43d619177f79725)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/sasl_wrapping.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/libads/sasl_wrapping.c b/source3/libads/sasl_wrapping.c
index 5afa3eef15..1160493902 100644
--- a/source3/libads/sasl_wrapping.c
+++ b/source3/libads/sasl_wrapping.c
@@ -81,8 +81,9 @@ ADS_STATUS ads_setup_sasl_wrapping(ADS_STRUCT *ads)
}
/* debugging for the layer above SASL */
- rc = ber_sockbuf_add_io(sb, io, LBER_SBIOD_LEVEL_TRANSPORT,
- (void *)"ads_sasl_wrapping_above" );
+ 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;
@@ -96,8 +97,9 @@ ADS_STATUS ads_setup_sasl_wrapping(ADS_STRUCT *ads)
}
/* debugging for the layer below SASL */
- rc = ber_sockbuf_add_io(sb, io, LBER_SBIOD_LEVEL_TRANSPORT,
- (void *)"ads_sasl_wrapping_below" );
+ 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;