What version of Ambari and LDAP server are you using. I believe before Ambari 
2.1 there was an issue syncing with OpenLDAP.  

Maybe you are hitting this issue.  Else maybe there is an issue with your 
configuration where the group membership link isn correct and Ambari is trying 
to look up an incorrect field.  Make sure the 
authentication.ldap.groupMembershipAttr value in your ambari.properties file 
matches the schema in your LDAP sever. 


Rob





On 3/7/16, 7:59 AM, "Pratip Ghosh" <[email protected]> wrote:

>Hi
>
>I want to sync membership info just like users & groups from LDAP to 
>ambari database but its not happening in actual.
>All users and groups ware syncing but membership not syncing from LDAP 
>to ambari.
>
>Can anybody help me out on this?
>
>*********************************************
>
># ambari-server sync-ldap --all
>Using python  /usr/bin/python2.7
>Syncing with LDAP...
>Enter Ambari Admin login: admin
>Enter Ambari Admin password:
>Syncing 
>all..................................................................
>
>Completed LDAP Sync.
>Summary:
>   memberships:
>     removed = 0
>     created = 0
>   users:
>     updated = 0
>     removed = 2
>     created = 1
>   groups:
>     updated = 0
>     removed = 3
>     created = 3
>
>Ambari Server 'sync-ldap' completed successfully.
>
>*********************************************************
>
>

Reply via email to