[Dovecot] Testing EXTERNAL AUTHENTICATION

Stephen Feyrer steve at toth.org.uk
Wed Mar 17 20:59:36 EET 2010


Hi.

It works, I'm in!  Authentication mechanism set to External and five  
colons after {PLAIN} the command "a AUTHENTICATE EXTERNAL =" worked.

It was brute force that did the trick, after reading as much as I could  
find about /etc/passwd file formats I was still none the wiser.

passwd file looks like this:
Stephen:{PLAIN}:::::nopassword=y

Anyway the result is below:-

---
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE  
AUTH=EXTERNAL] Dovecot ready.
a AUTHENTICATE EXTERNAL =
a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT  
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE  
CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC  
ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
a list "" *
* LIST (\HasNoChildren) "/" "INBOX"
a OK List completed.
a select INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags  
permitted.
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1268850687] UIDs valid
* OK [UIDNEXT 1] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
a OK [READ-WRITE] Select completed.
DONE


Perhaps in the great game of snakes and ladders, I have now finally  
reached square one?

--
A big Thank YOU!

Stephen Feyrer.

On Tue, 16 Mar 2010 23:10:57 -0000, Timo Sirainen <tss at iki.fi> wrote:

> On 17.3.2010, at 1.09, Stephen Feyrer wrote:
>
>> Hi.
>>
>> I tried:
>>
>> Stephen:{EXTERNAL}nopassword=y
>
> {EXTERNAL} is never going to work anywhere, because there's no such  
> password scheme.
>
>>
>> and
>>
>> Stephen:{PLAIN}nopassword=y
>
> This is the wrong format. It's more like:
>
> Stephen:{PLAIN}::::::::nopassword=y
>
> Just figure out the correct number of : characters (based on the wiki  
> page I gave or just brute force).



More information about the dovecot mailing list