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

Tom Beerbower updated AMBARI-9767:
----------------------------------
    Description: 
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)



  was:
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 = true by default
2) expose a step in setup-ldap to set the referral method (follow or ignore)




> 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)

Reply via email to