Qmail-ldap + dovecot

Nickitas <[email protected]> Thu, 25 Aug 2011 14:02:02 +0300
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
Hello list ,

  I am trying to use dovecot in our qmail-ldap installation . I got the 
qmail-ldap-1.03-20060201-dovecot.v0.5 patch from 
"http://www.mail-archive.com/[email protected]/msg07158.html" . 
The patch was done with some warnings (since our source has a spf patch 
that is normal) , so i also made the changes by hand just to be sure ..

I tried to compile but I got the following output :

./load auth_dovecot auth_mod.o checkpassword.o passwd.o digest_md4.o \
         digest_md5.o digest_rmd160.o digest_sha1.o base64.o read-ctrl.o \
         getopt.a control.o dirmaker.o mailmaker.o qldap.a localdelivery.o \
         locallookup.o pbsexec.o constmap.o getln.a strerr.a substdio.a \
         stralloc.a env.a wait.a dns.o ip.o ipalloc.o ipme.o alloc.a str.a \
         case.a fs.a error.a timeoutconn.o timeoutread.o ndelay.a open.a \
         sig.a prot.o auto_uids.o auto_qmail.o -L/usr/lib -lldap -llber 
-lcrypt \
         `cat dns.lib` `cat socket.lib`
dns.o: In function `dns_txt':
dns.c:(.text+0x37d): undefined reference to `strsalloc_readyplus'
dns.c:(.text+0x551): undefined reference to `strsalloc_append'
dns.o: In function `dns_ptr':
dns.c:(.text+0x7c1): undefined reference to `strsalloc_readyplus'
dns.c:(.text+0x8d7): undefined reference to `strsalloc_append'
collect2: ld returned 1 exit status
make: *** [auth_dovecot] Error 1

  Needless to say that the qmail-ldap (+spf)  source compiles well when 
not patched for dovecot ..
So anyone happens to have another dovecot_auth patch , or another way to 
make dovecot work with qmail-ldap
please share it :)

Thank you in advance ..