Dovecot + SAMBA4

doys thedoys at gmail.com
Tue Oct 4 11:57:25 UTC 2016


hello,

I'm new to this forum:) I couldn't found any topic with the same problem and
I'm sorry for the inconvenience if there is already one.

I'd like to use Dovecot with an authentification from Samba4 via Kerberos.
I've followed this procedure :
http://wiki2.dovecot.org/Authentication/Kerberos but I cannot connect to the
domain.

I have not met any difficulty with Samba ; I have others servers that are
connected to the samba4 domain via samba/winbind

wbinfo -u / -g et getent passwod / group works fine.

I don't find the error and the logs are fruitless :

    Oct 4 09:03:46 mail dovecot: imap-login: Aborted login (no auth attempts
in 0 secs): user=<>, rip=MY_IP, lip=IP_SERVER, session=<4ilrqQQ+2AAKaBFq>
    Oct 4 09:03:46 mail dovecot: imap-login: Aborted login (no auth attempts
in 0 secs): user=<>, rip=MY_IP, lip=IP_SERVER, session=<7SprqQQ+2QAKaBFq>
    Oct 4 09:03:55 mail dovecot: imap-login: Disconnected (no auth attempts
in 0 secs): user=<>, rip=MY_IP, lip=IP_SERVER, session=<JmjtqQQ+2gAKaBFq>
    Oct 4 09:03:55 mail dovecot: imap-login: Disconnected (no auth attempts
in 0 secs): user=<>, rip=MY_IP, lip=IP_SERVER, session=<UyHuqQQ+2wAKaBFq>



This is my docevot -n

    # 2.2.13: /etc/dovecot/dovecot.conf
    # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6
    auth_default_realm = DOMAIN.COM
    auth_gssapi_hostname = $ALL
    auth_mechanisms = gssapi
    auth_realms = DOMAIN.COM
    auth_username_translation = /@
    mail_location = maildir:~/Maildir
    namespace inbox {
    inbox = yes
    location =
    mailbox Drafts {
    special_use = \Drafts
    }
    mailbox Junk {
    special_use = \Junk
    }
    mailbox Sent {
    special_use = \Sent
    }
    mailbox "Sent Messages" {
    special_use = \Sent
    }
    mailbox Trash {
    special_use = \Trash
    }
    prefix =
    }
    plugin {
    sieve = ~/.dovecot.sieve
    sieve_dir = ~/sieve
    }
    protocols = " imap pop3"
    ssl = no
    userdb {
    driver = static
    }



I wish to use maildir and I wish not to have multidomain. The server is a
Debian 8 with compilated samba 4.4.5 + dovecot 2.2.13 (deb file).

    i dovecot-core - secure POP3/IMAP server - core files
    i dovecot-gssapi - secure POP3/IMAP server - GSSAPI support
    i dovecot-imapd - secure POP3/IMAP server - IMAP daemon
    i dovecot-pop3d - secure POP3/IMAP server - POP3 daemon
    i dovecot-sieve - secure POP3/IMAP server - Sieve filters su



And this is what telnet returns :

    telnet localhost 143
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE LOGINDISABLED AUTH=GSSAPI] Dovecot ready.



Can you give me a hint, please ? Thank you !

doys
     
    Messages: 1
    Inscrit le: 2016-10-04 10:31

Haut




--
View this message in context: http://dovecot.2317879.n4.nabble.com/Dovecot-SAMBA4-tp57421.html
Sent from the Dovecot mailing list archive at Nabble.com.


More information about the dovecot mailing list