2.3.14: posting to shared mailbox results in 550 Permission denied

Simon Matter simon.matter at invoca.ch
Fri May 29 10:51:58 EDT 2009


>
>
> On Fri, 29 May 2009 10:12 +0200, "Simon Matter" <simon.matter at invoca.ch>
> wrote:
>> > I can confirm that anonymous posting to a shared folder with
>> 'anonymous p'
>> > rights works on the 64bit version but not on the 32bit version.
>> > So there must be a change between 2.3.13 and 2.3.14 which breaks
>> something
>> > on 32bit systems but not on 64bit.
>>
>> Is there anybody around who can confirm this?
>
> Oh - if you could add debugging statements to "mymemberof" in the various
> lib/auth_*.c
> files it would help narrow it down a lot.  I'm particularly interested in
> what value the
> auth_state has (should be NULL) and if there's any weirdness going on with
> the ACLs
> meaning that the "anonymous" string isn't matching properly.

Hi Bron,

In auth_unix.c/mymemberof() I have added the following line at the
beginning of the function:

syslog(LOG_ERR, "mymemberof() userid: %s, identifier: %s",
auth_state->userid, identifier);

Now I see the following difference:

2.3.13:
May 29 16:47:42 client140 lmtp[16435]: mymemberof() userid: (null),
identifier: anyone
May 29 16:47:42 client140 lmtp[16435]: mymemberof() userid: (null),
identifier: anonymous

2.3.14:
May 29 16:44:42 client140 lmtp[16145]: mymemberof() userid: , identifier:
anyone
May 29 16:44:42 client140 lmtp[16145]: mymemberof() userid: , identifier:
anonymous

I think what you said should be NULL can be seen here in 2.3.13 but not in
2.3.14. What do you think?

Simon



More information about the Info-cyrus mailing list