Commit 99ba53cf authored by Ondřej Kuzník's avatar Ondřej Kuzník
Browse files

ITS#XXXX Fix bind cred output in back-sock

parent f4bfb5e0
......@@ -69,7 +69,15 @@ sock_back_bind(
fprintf( fp, "dn: %s\n", op->o_req_dn.bv_val );
fprintf( fp, "method: %d\n", op->oq_bind.rb_method );
fprintf( fp, "credlen: %lu\n", op->oq_bind.rb_cred.bv_len );
fprintf( fp, "cred: %s\n", op->oq_bind.rb_cred.bv_val ); /* XXX */
text = ldif_put_wrap( LDIF_PUT_VALUE, "cred",
op->oq_bind.rb_cred.bv_val,
op->oq_bind.rb_cred.bv_len, LDIF_LINE_WIDTH_MAX );
if ( text ) {
fprintf( fp, "%s\n", text );
ber_memfree( text );
} else {
fprintf( fp, "\n\n" );
}
fprintf( fp, "\n" );
/* read in the results and send them along */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment