mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
Use sockbuf_max_incoming_auth after successful Bind
This commit is contained in:
parent
fbc11bd16a
commit
20f6bae612
1 changed files with 2 additions and 2 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue