[Samba] Kerberos: Server not found in database...no such entry found in hdb

Andrew Bartlett abartlet at samba.org
Sat Jul 19 15:12:22 MDT 2014

On Sat, 2014-07-19 at 15:36 -0400, Dania Ramirez Moya wrote:
> Hi, i have a server with samba 4.1.5 and i want to authenticate my
> mail server against samba via Kerberos.
> The protocols envolved are pop and imap, as you know, then i created
> two users: imap and pop:
> samba-tool user add pop --random-password
> samba-tool user imap pop --random-password
> and later i created two Service Principal Names for these users:
> samba-tool spn add pop/mailserver.domain.cu at DOMAIN.CU pop
> samba-tool spn add imap/mailserver.domain.cu at DOMAIN.CU imap

Remove the @DOMAIN.CU part.

Andrew Bartlett
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list