Re: [SOGo] Outlook and Openchange Issues

2012-11-16 Thread David Ssali

Thanks you all for.
I have fixed some of the issues but now i have another challenge.
When i try to create a new profile in Outlook (following the guide), i 
am able to check the username and everything works perfectly well...i 
can actually see the logs on the server.
But after that, then i get the message that outlook is offline (seems it 
fails to connect).
When i start over again (create a new profile), i can not even check the 
username afterwards.


What could be the cause of this error?
I have also noticed this error in the samba log

/usr/sbin/samba_dnsupdate: response to GSS-TSIG query was unsuccessful
On 11/16/2012 11:00 AM, "Daniel Müller" wrote:

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 ExpiresService 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
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
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


Re: [SOGo] Outlook and Openchange Issues

2012-11-16 Thread Denis Medvedev
which version of Dovecot have you installed? Stock version lacks essential for 
outloook extension support. Only the newest one will work.

---
Отправлено с m.mail.ru-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Outlook and Openchange Issues

2012-11-16 Thread Daniel Müller
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 ExpiresService 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 
> 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
> >> 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


Re: [SOGo] Outlook and Openchange Issues

2012-11-15 Thread Sven Tegethoff

On 16.11.2012 08:46, David Ssali wrote:

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?


It means that you've got a glitch in your kerberos configuration which 
results in samba4 being unable to update your DNS via GSSAPI, which 
requires kerberos for authentication.


Try running "kinit" on the command line, and see if you can get a 
kerberos ticket. Then try running "samba_dnsupdate --verbose 
--all-names" to get a more detailed output and see if you can get it to 
work manually.


--

Mit freundlichen Grüßen

Sven Tegethoff
EDV-Team

_
UDO BÄR GmbH & Co. KG   
Fürstenstraße 18
47051 Duisburg
Tel.: +49 (0) 203 28117-142
Fax: +49 (0) 203 28117-151
E-Mail: tegeth...@udobaer.de

Ust.-Idnr.: DE119562189, HRA 6056, Sitz der Gesellschaft: Duisburg,
Gerichtsstand: Duisburg Geschäftsführer: Bodo Badnowitz, Jürgen Dietz

Ein Unternehmen der BTI Gruppe: www.bti-group.com

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese 
E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail 
ist nicht gestattet.  This e-mail may contain confidential and/or privileged 
information. If you are not the intended recipient (or have received this 
e-mail in error) please notify the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Outlook and Openchange Issues

2012-11-15 Thread David Ssali

Actually i have fixed the problem by restarting the server.
Thanks
On 11/16/2012 10:46 AM, David Ssali wrote:

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
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


Re: [SOGo] Outlook and Openchange Issues

2012-11-15 Thread David Ssali

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
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


Re: [SOGo] Outlook and Openchange Issues

2012-11-15 Thread Daniel Müller
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 
> 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


[SOGo] Outlook and Openchange Issues

2012-11-15 Thread David Ssali

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