Rancher HA with LDAP auth

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