From: Howard Chu Date: Thu, 29 Aug 2002 11:53:37 +0000 (+0000) Subject: Use sockbuf_max_incoming_auth after successful Bind X-Git-Tag: NO_SLAP_OP_BLOCKS~1113 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20f6bae6128f9a2d6493f3ce16a5f024d411d3e0;p=openldap Use sockbuf_max_incoming_auth after successful Bind --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index e4e8dd5e18..e27873b8d1 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -310,7 +310,7 @@ do_bind( } if( conn->c_dn.bv_len != 0 ) { - ber_len_t max = sockbuf_max_incoming; + ber_len_t max = sockbuf_max_incoming_auth; ber_sockbuf_ctrl( conn->c_sb, LBER_SB_OPT_SET_MAX_INCOMING, &max ); } @@ -541,7 +541,7 @@ do_bind( ndn.bv_len = 0; if( conn->c_dn.bv_len != 0 ) { - ber_len_t max = sockbuf_max_incoming; + ber_len_t max = sockbuf_max_incoming_auth; ber_sockbuf_ctrl( conn->c_sb, LBER_SB_OPT_SET_MAX_INCOMING, &max ); }