1 idea, try a qmail-ldap list.
> -----Original Message-----
> From: qmailldap [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 23, 2001 11:19 PM
> To: [EMAIL PROTECTED]
> Subject: qmail-ldap under Openliux
>
>
> hi��
> I've troubles compiling qmail-ldap (patch revision 0301)
> under openlinux
>
> check.o qldap-ldaplib.o qldap-debug.o sig.a strerr.a getln.a \
> wait.a case.a cdb.a fd.a seek.a open.a env.a stralloc.a alloc.a \
> substdio.a str.a qldap-errno.o error.a fs.a auto_qmail.o \
> auto_uids.o auto_usera.o auto_spawn.o -L/usr/local/openldap/lib
> -lldap -llber
> /usr/local/openldap/lib/libldap.so: undefined reference to `res_query'
> /usr/local/openldap/lib/libldap.so: undefined reference to `dn_expand'
> make: *** [qmail-lspawn] Error 1
>
>
> the compile options in Makefile is as following:
> # to enable some additional for qmail-ldap stuff put it on the
> LDAPFLAGS line
> # -DLDAP_ESCAPE_BUG should be added as long as the ldap servers have
> # problems with the escapeing of LDAP filters (fixed with OpenLDAP 1.2.7)
> # -DQLDAP_CLUSTER for enabling cluster support
> # to use cleartext passwords (a bad idea on production systems) add
> # -DCLEARTEXTPASSWD to the LDAPFLAGS
> LDAPFLAGS=-DQLDAP_CLUSTER
>
> # Perhaps you have different ldap libraries, change them here
> LDAPLIBS=-L/usr/local/openldap/lib -lldap -llber
> # and change the location of the include files here
> LDAPINCLUDES=-I/usr/local/openldap/include
> # on Slowaris you need -lresolv added like this:
> #LDAPLIBS=-L/opt/OpenLDAP/lib -lldap -llber -lresolv
> # for example on my Linux box I use:
> #LDAPLIBS=-L/opt/OpenLDAP/lib -lldap -llber
> # if you need a special include-directory for ldap headers enable this
> #LDAPINCLUDES=-I/opt/OpenLDAP/include
> # TLS (SMTP encryption) in qmail-smtpd and qmail-remote, see TLS.readme
> # You need OpenSSL for this
> # TLS enable
> TLSON=-DTLS
> # Path to OpenSSL includes
> TLSINCLUDES=-I/usr/local/openssl/include
> # Path to OpenSSL libraries
> TLSLIBS=-L/usr/local/openssl/lib -lssl -lcrypto
> # Path to OpenSSL binary
> OPENSSLBIN=/usr/local/openssl/bin/openssl
>
> # to make the Netscape download progress bar work with qmail-pop3d
> # uncomment the next line (allready done)
> MNW=-DMAKE_NETSCAPE_WORK
>
> # to enable the auto-maildir-make feature uncomment the next line
> MDIRMAKE=-DAUTOMAILDIRMAKE
> # to enable the auto-homedir-make feature uncomment the next line
> HDIRMAKE=-DAUTOHOMEDIRMAKE
>
> # on most systems we need this to make checkpassword
> SHADOWLIBS=-lcrypt
> # OpenBSD Systems seems to have no libcrypt, so comment the line
> out if you
> # get linking problems
> # To use shadow passwords under some Linux OS, uncomment the next
> two lines.
> #SHADOWLIBS=-lcrypt -lshadow
> #SHADOWOPTS=-DPW_SHADOW
> # To use shadow passwords under Solaris, uncomment the SHADOWOPTS line.
>
> # to enable the possibility to log and debug imap and pop uncoment the
> # next line
> #DEBUG=-DDEBUG
> # WARNING: you need a NONE DEBUG auth_* to run with inetd
>
>
>
> The patch is qmail-ldap-1.03-20010501.patch.Any ideas?
>
>
> ---
> With my best wishes!
> qmailldap
> [EMAIL PROTECTED]
>
>