Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A9F31790B for ; Tue, 24 Feb 2015 17:27:05 +0000 (UTC) Received: (qmail 84872 invoked by uid 500); 24 Feb 2015 17:27:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 84844 invoked by uid 500); 24 Feb 2015 17:27:05 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 84829 invoked by uid 99); 24 Feb 2015 17:27:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 17:27:05 +0000 Date: Tue, 24 Feb 2015 17:27:05 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-9767) Provide setup-ldap option option to set referral method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-9767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14335117#comment-14335117 ] Hudson commented on AMBARI-9767: -------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #1852 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1852/]) AMBARI-9767 - Provide setup-ldap option option to set referral method (tbeerbower) (tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3114fb5dc0b20f9f135734970c000280bc7decb5) * ambari-server/src/main/python/ambari_server/setupSecurity.py * ambari-server/src/main/java/org/apache/ambari/server/security/authorization/LdapServerProperties.java * ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java * ambari-server/src/test/python/TestAmbariServer.py * ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java * ambari-server/src/test/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulatorTest.java > Provide setup-ldap option option to set referral method > ------------------------------------------------------- > > Key: AMBARI-9767 > URL: https://issues.apache.org/jira/browse/AMBARI-9767 > Project: Ambari > Issue Type: Task > Reporter: Tom Beerbower > Assignee: Tom Beerbower > Fix For: 2.0.0 > > Attachments: AMBARI-9767.patch > > > ambari-server sync-ldap fails with certain AD setups. Need to follow referrals. > {noformat} > [root@revo1 hdfs]# ambari-server sync-ldap --all > Using python /usr/bin/python2.6 > Syncing with LDAP... > Enter Ambari Admin login: admin > Enter Ambari Admin password: > Syncing all...ERROR: Exiting with exit code 1. > REASON: Caught exception running LDAP sync. Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'dc=...' > {noformat} > To fix this: > 1) Have sync-ldap follow referrals by default > 2) expose a step in setup-ldap to set the referral method (follow or ignore) -- This message was sent by Atlassian JIRA (v6.3.4#6332)