[Dovecot] Auth MD5 problem

Azher Amin azher at niit.edu.pk
Mon Apr 23 20:17:00 EEST 2007


Hi,

Thnx for reply. But still confused. Dovecot says: 'Requested DIGEST-MD5 scheme, but we have only PLAIN-MD5'

However in my configs, i have enabled the digest-md5 already: mechanisms = plain login cram-md5 digest-md5

So why it says that we have only PLAIN-MD5 ??? 

Plz seuggest ...

Regards
-Azher



Andrey Panin wrote:
> On 113, 04 23, 2007 at 11:50:53AM +0500, Azher Amin wrote:
>   
>> Hi,
>>
>> Following is the output with details:
>>
>> dovecot: Apr 23 11:45:14 Info: auth(default): client in: AUTH   1       
>> DIGEST-MD5      service=IMAP    secured lip=127.0.0.1   rip=127.0.0.1
>> dovecot: Apr 23 11:45:14 Info: auth(default): client out: CONT  1       
>> cmVhbG09IiIsbm9uY2U9Imkrelp5QStkSTBKd1B1ZnZPMktRYmc9PSIscW9wPSJhdXRoIixjaGFyc2V0PSJ1dGYtOCIsYWxnb3JpdGhtPSJtZDUtc2VzcyI=
>> dovecot: Apr 23 11:45:14 Info: auth(default): client in: CONT<hidden>
>> dovecot: Apr 23 11:45:14 Info: auth-worker(default): 
>> sql(azher,127.0.0.1): query: SELECT userid as user, password, home as 
>> userdb_home, uid as userdb_uid, gid as userdb_gid FROM users WHERE 
>> userid = 'azher'
>> dovecot: Apr 23 11:45:14 Info: auth-worker(default): 
>> password(azher,127.0.0.1): Requested DIGEST-MD5 scheme, but we have only 
>> PLAIN-MD5
>>     
>
> Only DIGEST-MD5 or PLAIN password scheme could be used with DIGEST-MD5 
> authentication mechanism.
>
>   
>> dovecot: Apr 23 11:45:16 Info: auth(default): client out: FAIL  1       
>> user=azher
>> dovecot: Apr 23 11:45:16 Info: imap-login: Aborted login: user=<azher>, 
>> method=DIGEST-MD5, rip=127.0.0.1, lip=127.0.0.1, secured
>>
>>
>> Andrey Panin wrote:
>>
>>     
>>> On 113, 04 23, 2007 at 09:33:26AM +0500, Azher Amin wrote:
>>>
>>>
>>>       
>>>> Hi,
>>>>
>>>> I am using dovecot 1.0 with squirrelmail. But when i use $imap_auth_mech 
>>>> = 'digest-md5' instead of plain,  dovecot throws this line:
>>>>
>>>> dovecot: Apr 23 09:16:07 Info: imap-login: Aborted login: user=<azher>, 
>>>> method=DIGEST-MD5, rip=127.0.0.1, lip=127.0.0.1, secured
>>>>
>>>> and user can't login. Plz suggest.
>>>>   
>>>>
>>>>         
>>> Not enough data. Please enable auth_verbose and auth_debug in your 
>>> dovecot.conf
>>> and let us see results.
>>>
>>>
>>>
>>>       
>>>> Settings:
>>>> ======
>>>>
>>>> disable_plaintext_auth = yes
>>>>
>>>> auth default {
>>>> # Space separated list of wanted authentication mechanisms:
>>>> #   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
>>>> mechanisms = plain login cram-md5 digest-md5
>>>>
>>>> Mysql Tables: Passwords are stored with the help of MD5 function
>>>>   
>>>>
>>>>         
>>> This sounds too fuzzy... How exactly your passwords look like ?
>>>
>>>
>>>
>>>       
>>>> dovecot-sql.conf :
>>>> ============
>>>> user_query = SELECT home, uid, gid FROM users WHERE userid = '%u'
>>>> password_query = SELECT userid as user, password, home as userdb_home, 
>>>> uid as userdb_uid, gid as userdb_gid FROM users WHERE userid = '%u'
>>>>   
>>>>
>>>>         
>>>
>>>       
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
>>     
>
>   


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the dovecot mailing list