Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E820B200B0F for ; Fri, 3 Jun 2016 00:00:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E55F9160A3E; Thu, 2 Jun 2016 22:00:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3CE56160A54 for ; Fri, 3 Jun 2016 00:00:01 +0200 (CEST) Received: (qmail 7473 invoked by uid 500); 2 Jun 2016 22:00:00 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 7306 invoked by uid 99); 2 Jun 2016 22:00:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2016 22:00:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0D3952C1F6F for ; Thu, 2 Jun 2016 22:00:00 +0000 (UTC) Date: Thu, 2 Jun 2016 22:00:00 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13105) Support timeouts in LDAP queries in LdapGroupsMapping. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 02 Jun 2016 22:00:02 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15313164#comment-15313164 ] Chris Nauroth commented on HADOOP-13105: ---------------------------------------- The testing approach looks good to me. Here are a few comments on patch 002. # I recommend adding a comment on {{AUTHENTICATE_SUCCESS_MSG}} to clarify what is in that binary data. # It's fun to see the lambdas. :-) This does mean it can't apply to branch-2 though. You'd either need to take away the lambdas for a patch that can apply to both trunk and branch-2, or post separate patches. > Support timeouts in LDAP queries in LdapGroupsMapping. > ------------------------------------------------------ > > Key: HADOOP-13105 > URL: https://issues.apache.org/jira/browse/HADOOP-13105 > Project: Hadoop Common > Issue Type: Improvement > Components: security > Affects Versions: 3.0.0-alpha1 > Reporter: Chris Nauroth > Assignee: Mingliang Liu > Attachments: HADOOP-13105.000.patch, HADOOP-13105.001.patch, HADOOP-13105.002.patch > > > {{LdapGroupsMapping}} currently does not set timeouts on the LDAP queries. This can create a risk of a very long/infinite wait on a connection. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org