Re: [Imap-protocol] Kerio and authenticate plain

Dave Cridland <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <CAKHUCzx3sZHnBO4FSfefyvQrY0h-Xpjp9nXANcrik5HOjCRv1w@mail.gmail.com>
On Thu, Dec 5, 2013 at 9:56 PM, Jeff McKay <[email protected]> wrote:

> I am trying to use authenticate plain with a Kerio imap server and not
> having much luck.
> The idea is to use the admin name and password in order to log in to a
> user account and
> access the user's folders.  This appears to work but in fact I get access
> to the admin folders,
> not the user's.
>
> Basically I am constructing a buffer that looks like:
> <useraccount>0<adminaccount>0<adminpassword>
> (the 0 being a binary byte=x00.)  I base64 encode this, issue
> "authenticate plain" wait for the prompt,
> then send the encoded data.  Server responds authentication successful,
> however I am logged into
> the admin account, not the user.
>
> I have used this code successfully with other imap servers that support
> auth plain, so I know it
> works.  Is there something screwy about Kerio?
>

This isn't an IMAP question, per se, but a SASL one.

Still, the issue here is that you're using a different Authorization
identifier, and the server's neither allowing this, or rejecting your
authentication. I'd have thought one or other would be the correct thing to
do, and silently ignoring it would be a "bad" thing.

Dave.

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
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.