Tom Beerbower created AMBARI-9250:
-------------------------------------

             Summary: LDAP Group sync truncates whitespace in group name
                 Key: AMBARI-9250
                 URL: https://issues.apache.org/jira/browse/AMBARI-9250
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower
             Fix For: 2.0.0


Group sync fails with groups whose names have white space such as 'Unix Systems 
Engineers' due to the white space being removed.

{code}
ambari-server sync-ldap --groups=groups.txt
{code}

groups.txt:
{code}
Unix Systems Engineers
{code}

{code}
09:08:06,460 ERROR [pool-2-thread-9] LdapSyncEventResourceProvider:425 - Caught 
exception running LDAP sync. 
org.apache.ambari.server.AmbariException: Couldn't sync LDAP group 
UnixSystemsEngineers, it doesn't exist
        at 
org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.synchronizeLdapGroups(AmbariLdapDataPopulator.java:238)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to