This looks like your samba4 configuration /kdc is not running. To look further try:https://wiki.samba.org/index.php/Samba4/HOWTO. First of all your Samba4 must be running. Special there ex:: Step 8: Configure Kerberos
Kerberos configuration is handled by the krb.conf file. This file is typically located in the /etc directory, please refer to your distribution documentation for the location of this file on your system. Replace the existing file, if any, with the sample from /usr/local/samba/share/setup/krb5.conf. Edit the file and replace ${REALM} with the value you chose for the --realm parameter of the provision command above, make sure to enter the realm in uppercase letters: [libdefaults] default_realm = SAMDOM.EXAMPLE.COM dns_lookup_realm = false dns_lookup_kdc = true Testing Kerberos The simplest test is to use the kinit command as follows: $ kinit administra...@samdom.example.com Password: Note: You must specify your domain realm SAMDOM.EXAMPLE.COM in uppercase letters kinint will not give you any output. To verify that Kerberos is working, and that you received a ticket, run the following: $ klist Ticket cache: FILE:/tmp/krb5cc_1000 Default principal: administra...@samdom.example.com Valid starting Expires Service principal 02/10/10 19:39:48 02/11/10 19:39:46 krbtgt/samdom.example....@samdom.example.com Good Luck Daniel -------- Original-Nachricht -------- > Datum: Fri, 16 Nov 2012 10:46:22 +0300 > Von: David Ssali <d...@telematicgroup.com> > An: users@sogo.nu > Betreff: Re: [SOGo] Outlook and Openchange Issues > Thanks Daniel. > This error keep on coming up in my samba log file > > samba_dnsupdate: RuntimeError: kinit for WEB$@ECOM2M.NET failed (Cannot > contact any KDC for requested realm) > > What could be the cause of that? I followed the installation guide given > by SOGo word by word and i don't know how to fix this. > On 11/16/2012 10:30 AM, "Daniel Müller" wrote: > > No, you do not need ldap with openchange. Openchange/Samba4 has its own > cldap. As if you were auth against Microsoft ADS. You just need to set > authentication the right way in your sogo configuration. > > -------- Original-Nachricht -------- > >> Datum: Fri, 16 Nov 2012 09:58:51 +0300 > >> Von: David Ssali<d...@telematicgroup.com> > >> An: users@sogo.nu > >> Betreff: [SOGo] Outlook and Openchange Issues > >> Hello... > >> I have installed SOGo, Dovecot (using mysql database for authentication > >> with virtual domain support) and all the rest of the components that > are > >> needed to have a fully functional mail server on Ubuntu 12.04. > >> I have also installed Openchange and Samba4 but am not using LDAP > >> anywhere. > >> When i try to setup exchange however, it constantly fails to connect to > >> the exchange server although the ports are all open. > >> From my troubleshooting it appears that what is failing is actually > the > >> authentication by the samba service. > >> > >> Qn: Is it necessary for me to install LDAP to have a working version of > >> Openchange? > >> Also, if am having multiple domains for which this server handles > email, > >> how will i create a link between the samba users and the ones in the > >> MYSQL database (Dovecot)? > >> > >> Regards > >> David > >> -- > >> users@sogo.nu > >> https://inverse.ca/sogo/lists > > -- > users@sogo.nu > https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists