# Rancher HA with LDAP auth

**URL:** <https://forums.suse.com/t/rancher-ha-with-ldap-auth/4355>\
**Category:** General\
**Created:** [October 19, 2016, 9:04am UTC](https://forums.suse.com/t/rancher-ha-with-ldap-auth/4355 "2016-10-19T09:04:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![garjunan](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@garjunan](https://forums.suse.com/u/garjunan)\
**Post date:** [October 19, 2016, 9:04am UTC](https://forums.suse.com/t/rancher-ha-with-ldap-auth/4355/1 "2016-10-19T09:04:11Z")

</div>

Hi,

I tried to bring the rancher ha with ldap authentication. I am facing lot of issue with HA setup and it came up once but unable to login to rancher due to unknown host of my ldap server. Where should i pass my ldap host during ha-server script launch. I don’t see any place where i can pass this information.

I noticed below command in ha script and i assumed that it is going to run on host mode. So it should take the host entry from actual host but it is not.

docker rm -fv rancher-ha \>/dev/null 2\>&1 || true  
ID=`docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name rancher-ha --net host --privileged -v /var/lib/rancher/etc:/var/lib/rancher/etc $IMAGE ha`

Please suggest.

Thanks  
Gokul
