Re: upgrade to cyrus_imap or saslauth or both gon horribly wrong

Michael Menge <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <20190109102907.Horde.r4yHRsPqt7jBf146Za3DZTf@webmail.uni-tuebingen.de>
Hi,


Quoting James B Byrne <[email protected]>:

>> FreeBSD-11.2p7
>> cyrus-imapd30-3.0.8_2
>> cyrus-sasl-saslauthd-2.1.27
>> cyrus-sasl-2.1.27
>>
>> This morning we upgraded our cyrus_imap server using the FreeBSD  
>> pkg package manager.  Following this we are unable to authenticate  
>> with imap.  The error we receive is this:
>>
>> Jan  8 14:05:37 inet17 CYRUS/imaps[40533]: SASL cannot connect to  
>> saslauthd server: Permission denied
>> Jan  8 14:05:37 inet17 CYRUS/imaps[40533]: badlogin: servername  
>> [server address] plaintext username SASL(-1): generic failure:  
>> checkpass failed
>>
>> imapd.conf was not changed.  it contains this:
>>
>> sasl_mech_list:             PLAIN
>> sasl_pwcheck_method:        saslauthd
>>
>>
>> I am posting this from a temporary email because, duhh, I cannot  
>> access my regular mailbox.
>>
>> I am open to any reasonable suggestions as to how to fix this, quickly.
>
> However, if I do this then I get a success.
>
> read -ers -p 'prompt: ' PASSWD ; echo -e '\n'
> prompt:
>
> read -ers -p 'prompt: ' USERNAME ; echo -e '\n'
> prompt:
>
> testsaslauthd -u $USERNAME -p $PASSWD
> 0: OK "Success."
>
> Does anyone here know what is going on or how to fix it?

are you using SELinux in enforced mode? If yes check your SELinux  
audit log (/var/log/audit/audit.log)


> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
[email protected]
Wächterstraße 76
72074 Tübingen

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.