[
https://issues.apache.org/jira/browse/AMBARI-18664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15605922#comment-15605922
]
Hudson commented on AMBARI-18664:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #200 (See
[https://builds.apache.org/job/Ambari-branch-2.5/200/])
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=7800c071774442598ae7c98b07b619160dd1de7b])
* (edit) ambari-server/src/main/python/ambari-server.py
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulatorTest.java
* (edit) ambari-server/src/test/python/TestAmbariServer.py
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/LdapSyncEventResourceProvider.java
* (edit) ambari-server/docs/configuration/index.md
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/LdapSyncEventEntity.java
* (edit) ambari-server/src/main/python/ambari_server/setupSecurity.py
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/security/ldap/LdapBatchDto.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.5.0
>
> Attachments: 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)