I am evaluating Proxmox Mail Gateway 3.1 and I am having trouble integrating the LDAP profile to my LDAP server (OpenLDAP on Linux)
I can tell I am connecting and binding to the LDAP service but no matter how I configure my profile all I get are the following errors:
Error: ldap user search error: paged results cookie is invalid or old LDAP user query unsuccessful
Error: unable to find valid email addresses
We have a very simple LDAP schema, I can search it just fine from the command line. Examples are below.
The email address is simply the attribute cn
The account name is simply the attribute sn
When using these in the appropriate fields in the LDAP profile, they don't work.
Can anyone provide any examples or insight into making this work? I currently run a pair of Barracudas that are working just fine via LDAP binds like this. I was hoping Proxmox Mail Gateway was a good upgrade path
Thank you,
Joe Jenkins
WFRMLS
[root@mail ldap]# ldapsearch -D cn=Manager,dc=wfrmls,dc=com -W -x -b 'dc=wfrmls,dc=com' 'cn=*' | more
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=wfrmls,dc=com> with scope sub
# filter: cn=*
# requesting: ALL
#
# Manager, wfrmls.com
dn: cn=Manager,dc=wfrmls,dc=com
objectClass: organizationalRole
cn: Manager
# root@wfrmls.com, wfrmls.com
dn: cn=root@wfrmls.com,dc=wfrmls,dc=com
objectClass: person
cn: root@wfrmls.com
sn: root
# peter@wfrmls.com, wfrmls.com
dn: cn=peter@wfrmls.com,dc=wfrmls,dc=com
objectClass: person
cn: peter@wfrmls.com
sn: peter
I can tell I am connecting and binding to the LDAP service but no matter how I configure my profile all I get are the following errors:
Error: ldap user search error: paged results cookie is invalid or old LDAP user query unsuccessful
Error: unable to find valid email addresses
We have a very simple LDAP schema, I can search it just fine from the command line. Examples are below.
The email address is simply the attribute cn
The account name is simply the attribute sn
When using these in the appropriate fields in the LDAP profile, they don't work.

Can anyone provide any examples or insight into making this work? I currently run a pair of Barracudas that are working just fine via LDAP binds like this. I was hoping Proxmox Mail Gateway was a good upgrade path

Thank you,
Joe Jenkins
WFRMLS
[root@mail ldap]# ldapsearch -D cn=Manager,dc=wfrmls,dc=com -W -x -b 'dc=wfrmls,dc=com' 'cn=*' | more
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=wfrmls,dc=com> with scope sub
# filter: cn=*
# requesting: ALL
#
# Manager, wfrmls.com
dn: cn=Manager,dc=wfrmls,dc=com
objectClass: organizationalRole
cn: Manager
# root@wfrmls.com, wfrmls.com
dn: cn=root@wfrmls.com,dc=wfrmls,dc=com
objectClass: person
cn: root@wfrmls.com
sn: root
# peter@wfrmls.com, wfrmls.com
dn: cn=peter@wfrmls.com,dc=wfrmls,dc=com
objectClass: person
cn: peter@wfrmls.com
sn: peter