opensubscriber
   Find in this group all groups
 
Unknown more information…

q : qmail-ldap@qmail-ldap.org 25 August 2011 • 11:02PM -0400

Re: Qmail-ldap + dovecot
by Ismail YENIGUL

REPLY TO AUTHOR
 
REPLY TO GROUP




Hello,

I applied the patch at
http://www.saout.de/misc/spf/other/qmail-ldap-1.03-20040301a-spf-rc2.patch
but I had to fix some parts manually. Usually if you see  error
about"strsalloc_readyplus"
add "strsalloc.o" to fix the problem. Here is the working Makefile part
and please find the attached working Makefile.


auth_dovecot: \
load auth_dovecot.o 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*  strsalloc.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 \
dns.lib socket.lib stralloc.a
         ./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*strsalloc.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 $(LDAPLIBS) $(SHADOWLIBS) \
         `cat dns.lib` `cat socket.lib`


Ismail YENIGUL
Project Manager
Endersys Ltd
Phone :+90 216-4709423 | Mobile:+90 533 747 36 65
SurGATE: West Coast Labs Premium Anti-Spam Certificated
Twitter: http://www.twitter.com/endersys
Blog: http://blog.endersys.com

On 25.08.2011 14:02, Nickitas wrote:
> 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/qmail-ldap@qmai.../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 ..
>
>

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.