Domains: 9
Ubuntu 16.04 LTS
I have a question about binding LDAP with auth. I have a proxmox mail gateway I was testing out and it wants to authenticate to Zimbra LDAP. This is primarily so it can allow users to log into the quarantine web interface.
I can only get this to work if I enabled anonymous bind:
Code: Select all
/opt/zimbra/libexec/zmldapanon -d <-- disables
/opt/zimbra/libexec/zmldapanon -e <-- enables
I then found a command that would show me the "zimbra" LDAP bind password:
Code: Select all
zmlocalconfig | grep -i ldap
Code: Select all
zimbra_ldap_password = password_string_here
I try to used this in the credentials box and it doesn't seem to work. If I leave it all blank (user and pass) with anonymous bind enabled it works and syn's LDAP to the proxmox mail gateway.
Does anyone know if that is the correct way to authenticate and find what the Zimbra LDAP user name and password is with the zmlocalconfig command? I think I saw another config file somewhere that just had a "*" in it for the password which seemed odd.
After that I'd like to work on getting LDAPS <-- secure working. I think I saw a Zimbra wiki on how to do that. I had to already overcome the default listening IP for Zimbra that makes LDAP only listen on localhost. I needed to go edit /etc/hosts and restart the LDAP service.
Code: Select all
zimbra@zimbra:~$ cat /etc/hosts
127.0.0.1 localhost
# 127.0.1.1 zimbra.yourdomain.tld zimbra
10.0.10.10 zimbra.yourdomain.tld zimbra
Thanks!