[Dovecot] Integrating with Drupal SQL db
Andreas Meyer
anmeyer at anup.de
Mon Mar 11 21:38:39 EET 2013
Hello!
I took the thread back to the list.
Tobias Rådenholt <tobias.radenholt at stos.se> wrote:
> I think it is ssha512 hashing. It's not stos.se that's affected. It's
> swedishschoolinsydney.org.au
Just found this:
capabilities are 'IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
STARTTLS LOGINDISABLED' meaning you can log in via STARTTLS but not via
plaintext authentication.
Does it have something to do woth your problem?
> Mar 11 16:18:01 SSiS dovecot: imap-login: Disconnected: Too many invalid
> commands (auth failed, 1 attempts): user=<Teacher1>, method=PLAIN,
> rip=127.0.0.1, lip=127.0.0.1, secured
> Thanks!
> /Tobias
Andreas
> <info at stos.se> wrote:
>
> > Hi
> >
> > I'm trying to get Dovecot to use Drupal users password for authenticating
> > IMAP users. But I just cant figure out how to make Dovecot understand the
> > password hash type that Drupal 7 is using.
> >
> > My example user with password Teacher1 looks like this in Drupal database:
> > $S$DZwJa.U8HXT2PvTmwCK13rGEYEvnx5DB6/hlqnfCBum4s4U7MVWU
>
> This is not CRAM-MD5, is it?
>
> > Dovecot retrieves this hash but complains that its not a recognized hash
> > type, or that the hash is wrong, depending on if I change the default hash
> > type in Dovecot config.
> >
> > Any help appreciated.
>
> This is what I get connecting to your server:
> Connected to stos.se.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4REV1 NAMESPACE ID AUTH=PLAIN AUTH=LOGIN UIDPLUS STARTTLS ACL METADATA] Debian-60-squeeze-64-minimal IMAP4rev1 Citadel 7.83 ready
>
> This is what I get connecting to mine:
> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=CRAM-MD5] Dovecot ready.
>
> I see no AUTH=CRAM-MD5 in capabilites of your server.
>
> Andreas
More information about the dovecot
mailing list