Hello,

I've got a problem with Qmail-LDAP-Control patch on OpenBSD 3.2. Version
1.03-20021201 of both Qmail-LDAP patch and Qmail-LDAP-Control patch.
Version of LDAP:
openldap-client-2.0.27 Open source LDAP software (client)
openldap-server-2.0.27 Open source LDAP software (server)
Both installing by self compiles from ports collection.

The problem is that i can't compile Qmail-LDAP-Control. It cannot find
the libraries, and, yes, i edited the Makefile to add -L/usr/local/lib
where the libs are. I also had to add -I/usr/include/g++ (and
-I/usr/local/include) in LDAP_INCLUDE. Then it compiles fine till it
somewhere can't find the LDAP libs. Making links from the files at
/usr/local/lib to /usr/lib makes it compile. I also needed to make links
from /usr/local/lib to /usr/lib. Then it compiles. Qmail-LDAP compiles
and works fine _without_ the links made. Qmail-LDAP works.
Qmail-LDAP-Control does not work in that way that it's impossible to
connect to the SMTPd: i can telnet to it but then it hangs. No version
header nor response is showed.  So other MTA bail out and grab another
MX record.

Another remarkable problem is that LDAP authentication goes slow: takes
10 minutes to auth. I debugged slapd and there are no requests during
that time. After the 10 minutes it can auth (if l/p was correct, etc.)
or it can't for various reasons which are normal. However that it takes
10 minutes est. is not normal. This problem occurs with both Qmail-POP3d
and PureFTPd so i conclude that it's not due to Qmail.

I also have the question if someone else has this compiled and working
under OpenBSD. If so, what are the specs of the versions with it? Both
PureFTPd and Qmail-LDAP (without control patch which i could not
compile) worked fine. Authentication took a few seconds then. But it
worked fine.

Can someone help me with this problem? Thanks in advance.

Regards,
Jeroen

Reply via email to