-
Notifications
You must be signed in to change notification settings - Fork 122
CURL error when used to authenticate dovecot #114
Comments
What versions of libykclient and yubico-pam are you running? |
|
The quoted log is the only one that references curl, systemwide. |
I have updated my system to stretch, and the error message now says there's double free:
|
What pam-yubico version is this with? Would it be possible for you to try this with 2.24 or a git checkout? |
This is Debian Stretch now, with libpam-yubico 2.23. ii libpam-yubico 2.23-1 amd64 two-factor password and YubiKey OTP PAM module Due to being a remote production machine I'd prefer to not risk breaking the auth system. |
There shouldn't be anything in 2.24 that makes a difference to this, so 2.23 should be recent enough to rule out any bugs already fixed. There are issues when pam-yubico is pulled in by a program not linked with pthread with the name resolution in curl. Maybe you can check if the auth worker for dovecot links with pthread? If it doesn't that's a likely culprit (though the crash doesn't look specifically like that). |
it seems that it is not, after enabling debugging the following appears in dovecot logs
while
|
Yes, this might be the same issue: #31 |
I reset the server list to one:
and it still fails:
|
Though it seems to be failing in a different way. The debug messages are quite bad (I'll improve them..) but the presence of "getpwnam_r: Success" indicates that the user is not found in that call. Before this you saw actual crashes from the process. |
Setup on a Debian Jessie, SSH and sudo work, but when used to authenticate IMAP access through dovecot, fails with "Error performing curl". This is just default Debian packaged deployment (pam-common) used for IMAP auth.
The text was updated successfully, but these errors were encountered: