Hi all,  I have made some patches but wondering if there are any plans
to include them on the latest version the patch or if they are already
included.

2 of the patches are here:
http://code.google.com/p/qmail-ldap-smtpauthuser/wiki/SETUP   (SRS and
smtpauthuser environment var)

and the third one is here:

http://www.freebsd.org/cgi/query-pr.cgi?pr=165277 or
http://qmail-ldap-smtpauthuser.googlecode.com/svn/trunk/qmail-qmqpc-servers_on_cmd_line.c

this one is for allowing ezmlm list to use multiple servers when using
qmqpservers

regards.



On Fri, Feb 24, 2012 at 4:15 PM, Claudio Jeker <je...@n-r-g.com> wrote:
> Can you send me the exact Makefile definitions you used to build?
> I will see that we can fix this...
>
> On Fri, Feb 24, 2012 at 02:49:41PM +0200, Ismail YENIGUL wrote:
>> Hello,
>>
>> It seems that there is a progress in qmail-ldap project. The latest
>> patch is 20120221 at http://www.nrg4u.com.
>> I tried but failed to compile with the following errors:
>>
>> qldap-filter.c: In function ā??filter_mailā??:
>> qldap-filter.c:147: warning: assignment discards qualifiers from
>> pointer target type
>> qldap-filter.c:182:2: error: #error XXX XXX
>> make: *** [qldap-filter.o] Error 1
>> and
>> auth_dovecot.o: In function `auth_init':
>> auth_dovecot.c:(.text+0x228): undefined reference to `loglevel'
>> auth_dovecot.c:(.text+0x234): undefined reference to `loglevel'
>> collect2: ld returned 1 exit status
>> make: *** [auth_dovecot] Error 1
>>
>> diff -ruN qmail-ldap.orig/auth_dovecot.c qmail-ldap.new/auth_dovecot.c
>> --- qmail-ldap.orig/auth_dovecot.c 2012-02-24 14:43:41.615196114 +0200
>> +++ qmail-ldap.new/auth_dovecot.c 2012-02-24 14:31:59.668186556 +0200
>> @@ -127,7 +127,7 @@
>> void
>> auth_init(int argc, char **argv, stralloc *login, stralloc *authdata)
>> {
>> - extern unsigned long loglevel;
>> + unsigned long loglevel;
>
> I think this is wrong. loglevel should be a global variable defined
> somewhere, seems it is not included.
>
>> char *l, *p;
>> unsigned int uplen, u;
>> int n, opt;
>>
>> The following changes let me to compile on Centos 6
>> diff -ruN qmail-ldap.orig/qldap-filter.c qmail-ldap.new/qldap-filter.c
>> --- qmail-ldap.orig/qldap-filter.c 2012-02-24 14:43:41.682431376 +0200
>> +++ qmail-ldap.new/qldap-filter.c 2012-02-24 14:30:19.985209641 +0200
>> @@ -179,8 +179,8 @@
>> }
>> extcnt--;
>> #else
>> -#error XXX XXX
>> /* basic qmail-ldap behavior test for usern...@domain.com and
>> +#error XXX XXX
>> catch...@domain.com */
>> ext = 0;
>> extcnt = 0;
>
> Not sure what this is, will investigate.
>
>>
>> Best regards.
>>
>> --
>> Ismail YENIGUL
>> Project Manager
>>
>> Endersys is the 17th fastest growing company of Turkey
>> 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
>
> --
> :wq Claudio

Reply via email to