The krb5 extension is required for GSSAPI authentication)


Offline quwax
  • Jr. Member
  • **
  • Posts: 17
IMAP login Problem after upgrade to v1.2
«   on:  May 26, 2016, 02:20:37 AM »
Hello,
after upgrading to v1.2 I get an login error that the Krb5 modul is necessary for login with imap, although I changed in the config file the login method to CRAM-MD5. After that I installed Authen::Krb5 via CPAN on that machine, but it still doesn't seam to work.
On trying to login I get a message - connection to "Speicherserver" failed - probably to IMAP server.
When I run Test IMAP config from the installer I get:
IMAP connect:  NOT OK(Login failed for ..... The krb5 extension is required for GSSAPI authentication)
in the config.inc.php I set:  
$config['imap_auth_type'] = CRAM-MD5;
Dovecot is set to Kerberos, CRAM-MD5, Login.

when I set $config['imap_auth_type'] = LOGIN;
it works.
So what's wrong with CRAM-MD5?
I'm not surprised that kerberos is not really working under 10.6
cheers
quwax
The box this is running on is a MacOS 10.6.8 Server with Dovecot and Postfix
Offline alec
  • Hero Member
  • *****
  • Posts: 1,000
Re: IMAP login Problem after upgrade to v1.2
«   Reply #1 on:  May 26, 2016, 03:50:42 AM »
This is a string and need to be quoted. So, 'CRAM-MD5' not CRAM-MD5.
Offline quwax
  • Jr. Member
  • **
  • Posts: 17
Re: IMAP login Problem after upgrade to v1.2
«   Reply #2 on:  May 26, 2016, 03:57:55 AM »
Alec,
thanks, that works    :)
Just wondering why the default setting of nul is not working anymore (it did until v1.1).
cheers
quwax
Offline alec
  • Hero Member
  • *****
  • Posts: 1,000
Re: IMAP login Problem after upgrade to v1.2
«   Reply #3 on:  May 26, 2016, 05:57:06 AM »
1.1 did not support GSSAPI, so the capability was just ignored and CRAM-MD5 selected as a default. In 1.2 we have code for GSSAPI and as you noticed it requires some php module and additional configuration.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值