FreeIPA LDAP Help

Hey all,
I am trying to set up LDAP for Proxmox with FreeIPA as the LDAP backend. The LDAP server appears to not be responsive, even though it is bound to TCP/636 and the firewall allows it.

On another machine, running ldapwhoami -vvv -H ldaps://ipa0.lab.dblitt99.tk -D "uid=dblittschau,cn=users,cn=accounts,dc=lab,dc=dblitt99,dc=tk" -x -W returns

ldap_initialize( ldaps://ipa0.lab.dblitt99.tk:636/??base )
Enter LDAP Password: 
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

Of course after entering the password.

Thanks for any help.

It appears that it works over ldap://, not ldaps://. Does anyone know how to set up ldaps on freeIPA?

freeipa should have set its self up with certificates (unless you did anything differently), is the proxomox server linked into freeipa for system auth etc? (ipa-client-install), if not, it wont trust the freeipa certificate and you’ll need to add it to the proxomox servers trust store.

I just have Proxmox authenticating via LDAP, not through PAM. It was working fine, but I was not able to connect to LDAPS:// at all.

And yes, I know I need to get a new domain. What TLD do you recommend?

Anything else :smiley:

Did you get any further?

Yes, it seems to be better, but it is not fully working. I installed trusted SSL certs to the freeIPA host and now the ldapwhoami test works. The troubling part is that only one of the Proxmox hosts are working with LDAP authentication. It is set to use SSL.


I am not sure why one of the hosts is not working.

Also, just a question about LDAP in general: Is any host supposed to be allowed to authenticate to freeIPA / LDAP, or is the query itself supposed to be authenticated?

Edit: I was able to use JXplorer to see the entire contents of the directory. How can I disable this?

it was dns