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 78459200BB7 for ; Tue, 25 Oct 2016 18:32:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7710D160AD8; Tue, 25 Oct 2016 16:32: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 C5AFB160AF3 for ; Tue, 25 Oct 2016 18:32:00 +0200 (CEST) Received: (qmail 4951 invoked by uid 500); 25 Oct 2016 16:32:00 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 4735 invoked by uid 99); 25 Oct 2016 16:31:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2016 16:31:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A5A772C2A68 for ; Tue, 25 Oct 2016 16:31:59 +0000 (UTC) Date: Tue, 25 Oct 2016 16:31:59 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-18664) While syncing with LDAP, username collisions should be handled based on configuration value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 25 Oct 2016 16:32:01 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15605778#comment-15605778 ] Hudson commented on AMBARI-18664: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5866 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5866/]) AMBARI-18664. While syncing with LDAP, username collisions should be (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b67d8832108cf5874bddf1a6ccc186fa5ca69e85]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java * (edit) ambari-server/src/main/python/ambari_server/setupSecurity.py * (edit) ambari-server/src/main/java/org/apache/ambari/server/security/ldap/LdapBatchDto.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulatorTest.java * (edit) ambari-server/docs/configuration/index.md * (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/LdapSyncEventResourceProvider.java * (edit) ambari-server/src/main/python/ambari-server.py * (edit) ambari-server/src/test/python/TestAmbariServer.py * (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/LdapSyncEventEntity.java > While syncing with LDAP, username collisions should be handled based on configuration value > ------------------------------------------------------------------------------------------- > > Key: AMBARI-18664 > URL: https://issues.apache.org/jira/browse/AMBARI-18664 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.0.0 > Reporter: Robert Levas > Assignee: Robert Levas > Fix For: 2.4.2 > > Attachments: AMBARI-18664_branch-2.4_01.patch, AMBARI-18664_branch-2.4_02.patch, AMBARI-18664_branch-2.5_01.patch, AMBARI-18664_branch-2.5_02.patch, AMBARI-18664_branch-2.5_03.patch > > > While syncing with LDAP, username collisions should be handled based on an LDAP sync configuration value. > The configuration options should be to indicate the following behaviors > * convert > ** convert the existing (non-LDAP user) user to an LDAP user > ** This is the existing behavior > * skip > ** skip or ignore the collision, leaving the existing user unchanged > ** a new user record should not be created > Note: Future behavior may be to cause the sync operation to fail, but that shouldn't be handed yet. > This configuration value should be set when setting up LDAP sync properties via {{ambari-server setup-ldap}} and be enforced when processing the sync operation in methods like {{org.apache.ambari.server.controller.AmbariManagementControllerImpl#synchronizeLdapUsersAndGroups}} or {{org.apache.ambari.server.security.authorization.Users#processLdapSync}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)