Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Ambari-Server sync-ldap not working

$
0
0

Am trying to sync to my LDAP server using the following command:

Ambari-Server sync-ldap –users user.txt –groups group.txt

I have the following errors:

ERROR: Exiting with exit code 1.
REASON: Sync event creation failed. Error details: <urlopen error [Errno 111] Connection refused>

Note: I can query the LDAP Server using ldapsearch

Here is my ambari-server properties file

authentication.ldap.managerDn=cn=user1,ou=service,ou=service accounts,dc=company,dc=com
ulimit.open.files=10000
server.connection.max.idle.millis=900000
bootstrap.script=/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py
server.version.file=/var/lib/ambari-server/resources/version
api.authenticate=true
jdk1.6.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-6u31-linux-x64.bin
server.persistence.type=local
client.api.ssl.key_name=https.key
authentication.ldap.useSSL=false
authentication.ldap.groupMembershipAttr=member
ambari-server.user=root
webapp.dir=/usr/lib/ambari-server/web
agent.threadpool.size.max=25
client.security=ldap
client.api.ssl.port=8443
authentication.ldap.usernameAttribute=sAMAccountName
jce.name=UnlimitedJCEPolicyJDK7.zip
jce_policy1.6.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jce_policy-6.zip
jce_policy1.7.url=http://public-repo-1.hortonworks.com/ARTIFACTS/UnlimitedJCEPolicyJDK7.zip
java.home=/usr/jdk64/jdk1.7.0_67
server.jdbc.postgres.schema=ambari
jdk.name=jdk-7u67-linux-x64.tar.gz
authentication.ldap.groupNamingAttr=cn
api.ssl=true
client.api.ssl.cert_name=https.crt
authentication.ldap.bindAnonymously=false
recommendations.dir=/var/run/ambari-server/stack-recommendations
server.os_type=redhat6
resources.dir=/var/lib/ambari-server/resources
custom.action.definitions=/var/lib/ambari-server/resources/custom_action_definitions
authentication.ldap.groupObjectClass=group
authentication.ldap.userObjectClass=*
server.execution.scheduler.maxDbConnections=5
bootstrap.setup_agent.script=/usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
server.http.session.inactive_timeout=1800
server.execution.scheduler.misfire.toleration.minutes=480
security.server.keys_dir=/var/lib/ambari-server/keys
stackadvisor.script=/var/lib/ambari-server/resources/scripts/stack_advisor.py
server.tmp.dir=/var/lib/ambari-server/tmp
server.execution.scheduler.maxThreads=5
metadata.path=/var/lib/ambari-server/resources/stacks
server.fqdn.service.url=http://169.254.169.254/latest/meta-data/public-hostname
bootstrap.dir=/var/run/ambari-server/bootstrap
server.stages.parallel=true
authentication.ldap.baseDn=dc=company,dc=com
authentication.ldap.primaryUrl=server1.company.com:389
ambari.ldap.isConfigured=true
authentication.ldap.secondaryUrl=server2.company.com:389
agent.task.timeout=900
client.threadpool.size.max=25
jdk1.7.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-7u67-linux-x64.tar.gz
server.jdbc.user.passwd=/etc/ambari-server/conf/password.dat
server.execution.scheduler.isClustered=false
authentication.ldap.managerPassword=/etc/ambari-server/conf/ldap-password.dat
server.jdbc.user.name=ambari
server.jdbc.database=postgres
server.jdbc.database_name=ambari


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>