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 41A36200BC0 for ; Mon, 10 Oct 2016 17:08:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4075C160AEB; Mon, 10 Oct 2016 15:08:22 +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 939E1160AE1 for ; Mon, 10 Oct 2016 17:08:21 +0200 (CEST) Received: (qmail 50426 invoked by uid 500); 10 Oct 2016 15:08:20 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 50406 invoked by uid 99); 10 Oct 2016 15:08:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2016 15:08:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 97E452C0059 for ; Mon, 10 Oct 2016 15:08:20 +0000 (UTC) Date: Mon, 10 Oct 2016 15:08:20 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14875) Enhancement and refactoring of TestLdapAtnProviderWithMiniDS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 10 Oct 2016 15:08:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-14875: ---------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Status: Resolved (was: Patch Available) > Enhancement and refactoring of TestLdapAtnProviderWithMiniDS > ------------------------------------------------------------ > > Key: HIVE-14875 > URL: https://issues.apache.org/jira/browse/HIVE-14875 > Project: Hive > Issue Type: Test > Components: Authentication, Tests > Reporter: Illya Yalovyy > Assignee: Illya Yalovyy > Fix For: 2.2.0 > > Attachments: HIVE-14875.1.patch > > > This makes the following enhancements to TestLdapAtnProviderWithMiniDS: > > * Extract defined ldifs to a resource file. > * Remove unneeded attributes defined in each ldif entry such as: > * sn (Surname) and givenName from group entries > * distinguishedName from all entries as this attribute serves more > as a parent type of many other attributes. > * Remove setting ExtensibleObject as an objectClass for all ldap entries > as that is not needed. This objectClass would allow for adding any > attribute to an entry. > * Add missing uid attribute to group entries whose dn refer to a uid > attribute > * Add missing uidObject objectClass to entries that have the uid attribute > * Explicitly set organizationalPerson objectClass to user entries as > they are using inetOrgPerson objectClass which is a subclass of > the organizationalPerson objectClass > * Create indexes on cn and uid attributes as they are commonly > queried. > * Removed unused variables and imports. > * Fixed givenName for user3. > * Other minor code clean up. -- This message was sent by Atlassian JIRA (v6.3.4#6332)