Re: 2.3.14: posting to shared mailbox results in 550 Permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>
> On Fri, 29 May 2009 10:12 +0200, "Simon Matter" <simon.matter@xxxxxxxxx>
> 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

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux