You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2015/01/21 21:50:35 UTC

[jira] [Updated] (AMBARI-9250) LDAP Group sync truncates whitespace in group name

     [ https://issues.apache.org/jira/browse/AMBARI-9250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Beerbower updated AMBARI-9250:
----------------------------------
    Attachment: AMBARI-9250.patch

> 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
>
>         Attachments: AMBARI-9250.patch
>
>
> 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)