On Feb 19, 2013, at 12:19 AM, Timo Sirainen <t...@iki.fi> wrote:
> On Sun, 2013-01-27 at 12:21 -0800, Joel Lopes Da Silva wrote:
> 
>>    # doveadm fetch -A user ALL
>>    doveadm(root): Error: userdb list: Disconnected unexpectedly
>>    doveadm: Error: Failed to iterate through some users
>>    zsh: exit 75    doveadm fetch -A user ALL
> ..
>> Jan 27 11:47:18 orange dovecot: auth: Error: userdb connection: Failed to 
>> get peer's credentials
> 
> As you noticed, apparently getsockopt(SO_PEERCRED) doesn't work with
> kFreeBSD. You can anyway work around the problem by giving everyone
> access to the userdb socket:
> 
> service auth {
>  unix_listener userdb {
>    mode = 0777
>  }
> }

This workaround works for me. Thanks Timo.

Do you think there might be an equivalent API we could use on kFreeBSD to 
accomplish the same behavior as the one available on Linux?

-- 
Joel Lopes Da Silva


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to