On Wed, Nov 10, 2004 at 04:07:31PM +0100, Claudio Jeker wrote:
> On Wed, Nov 10, 2004 at 11:13:51AM -0200, Flavio Fonseca wrote:
> > Hello Claudio,
> > 
> >   I just checked out the news about the new patch and its says it only 
> > corrects an auth problem. Haven't the bugs presented while ago about 
> > qmail-group been fixed?
> > 
> >   I posted this problem on  Tue Oct 12 22:22:42 2004 - about using filter 
> > member and members only post not accept the posting with:
> > 
> > qmail-group: fatal: You are not allowed to post to this list. (#5.7.2)
> > 
> 
> Sorry this one got lost. I currently have some time and will try to fix
> this.
> 

Here it is. Was a stupid mistake -- copy paste hits again...
Please test.

-- 
:wq Claudio

Index: qmail-group.c
===================================================================
RCS file: /home/cvs-djbware/CVS/qmail-ldap/qmail-group.c,v
retrieving revision 1.15
diff -u -p -r1.15 qmail-group.c
--- qmail-group.c       11 Jun 2004 12:58:09 -0000      1.15
+++ qmail-group.c       15 Nov 2004 13:18:19 -0000
@@ -578,7 +580,7 @@ subscribed(qldap *q, int flagS)
 
        for (s = tmpval.s, smax = tmpval.s + tmpval.len;
            s < smax; s += str_len(s) + 1) {
-               r = qldap_filter(sq, founddn.s, attrs, founddn.s, SCOPE_BASE);
+               r = qldap_filter(sq, s, attrs, founddn.s, SCOPE_BASE);
                if (r == NOSUCH) continue;
                if (r != OK) goto fail;
                if (qldap_count(sq) < 1) continue;

Reply via email to