]> git.sur5r.net Git - openldap/commitdiff
Use sockbuf_max_incoming_auth after successful Bind
authorHoward Chu <hyc@openldap.org>
Thu, 29 Aug 2002 11:53:37 +0000 (11:53 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 29 Aug 2002 11:53:37 +0000 (11:53 +0000)
servers/slapd/bind.c

index e4e8dd5e1891fd45e6b990c20c47d3530915b2a5..e27873b8d1ac89c055b84a751c2f0e4fe568c987 100644 (file)
@@ -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 );
                        }