Helo qmail-ldap fans!

I run qmail-ldap on two servers, the LDAP directory is on separate server, both operating systems: Debian Woody.

Server 1 (MAIL):
- qmail-ldap: 20030301
- smtp_after_pop patch
- qmail-queue patch (qmail-scanner)
- sqwebmail


Server 2 (LDAP):
- Openldap-1.2.12 (yes, really ancient)


Yesterday, I tryed to upgrade.....

I successfully compliled openldap-2.1.22 on the LDAP box and loaded LDAP entries.
Compiled openldap-2.1.22 on MAIL box (I think, correct include and header files are necessary).
Then successfully recompiled qmail-ldap.


After restarting everything works fine (I mean sqwebmail authentication throue LDAP), except POP3 authentication.

Openldap lib and include files are located:
/usr/local/lib, /usr/local/include


Then I added a PATH "/usr/local/lib" to /etc/ld.so.conf, run ldconfig.

My qmail-LDAP Makefile:
LDAPFLAGS=-DSMTP_AFTER_POP -DDASH_EXT
LDAPLIBS=-L/usr/local/lib -lldap -llber
LDAPINCLUDES=-I/usr/local/include


~# ldd /var/qmail/bin/auth_pop
libldap.so.2 => /usr/local/lib/libldap.so.2 (0x40018000)
liblber.so.2 => /usr/local/lib/liblber.so.2 (0x4003e000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4004a000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40077000)
libc.so.6 => /lib/libc.so.6 (0x40087000)
libdl.so.2 => /lib/libdl.so.2 (0x401a4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


It seems to be correct, but auth_pop say: Err: authentication failed

Why POP3 authentication doesn't work?


Nandor Szabo

Reply via email to