LDAP Auth to Zimbra?

Xevian

New Member
Nov 23, 2011
4
0
1
I'm trying to get my Proxmox setup to auth against Zimbra's LDAP server. I've put the details in but it always returns msg=no entries returned.

How is Proxmox binding? I've always had to bind with with uid=<userid>,ou=people,dc=domain,dc=com . I don't see a way to specify that, a tcpdump seems to show it trying to bind as just ou=people,dc=domain,dc=com

Also, is TLS supported?
 
I'm trying to get my Proxmox setup to auth against Zimbra's LDAP server. I've put the details in but it always returns msg=no entries returned.

How is Proxmox binding? I've always had to bind with with uid=<userid>,ou=people,dc=domain,dc=com . I don't see a way to specify that, a tcpdump seems to show it trying to bind as just ou=people,dc=domain,dc=com

Also, is TLS supported?

TLS is supported, yes. I have no zimbra server here, so I guess it is best you debug that yourself. You can find the current code in:

https://git.proxmox.com/?p=pve-acce...25d5e178cde7624f5cef275e13f79689e91d2;hb=HEAD

Function name is authenticate_user_ldap()
 
Ahh, That was pretty quick.. Zimbra isn't setup for anonymous binds, I'd rather not enable it either. Should have thought of it!

It should be pretty trivial to add user to bind as for the search. Also, a filter would be handy on the search too, check if the account is locked before the bind attempt.
 
and I just noticed, there isn't a start_tls() in there, so it's not using it.. I may have a hack at adding this all this week.
 
and I just noticed, there isn't a start_tls() in there, so it's not using it.. I may have a hack at adding this all this week.

I am not sure If we want to add all those things. Instead you can write some kind of import script which runs from cron.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!