Re: [SOGo] Outlook Connection
Comments in-line. Am 16.02.16 um 18:30 schrieb Christian Mack: hello Am 16.02.2016 um 17:16 schrieb m.plo...@berlin.de: Heya, When trying to connect to a SOGo installation with Outlook 2016, these errors appear in my log. Feb 16 09:38:45 sogod [30243]: [ERROR] <0x0x5633db73fbd8[WOHttpTransaction]> client disconnected during delivery of response for(len=0): the socket was shutdown Feb 16 09:38:45 sogod [30243]: localhost "POST /SOGo/Microsoft-Server- ActiveSync? Cmd=Sync=u...@domain.tld=DEVICEID=WindowsOutlook15 HTTP/1.0" 503 0/16812 303.853 - - 334M The connection then fails. SOGo is part of an iRedMail installation, I already checked with the developer, but he can't help me with this issue. There is a similar case here on the mailing list, but the user was having a faulty rewrite rule. That doesn't seem to be the case here. Also, Outlook for Android and Outlook for Windows Phone seems to be unaffected and work without issues (probably due to a different prtocoll being used) Any ideas? 1) Outlook for Android and Outlook for Windows Phone only share the same name with Outlook 20XX on PCs. They have completely different codebases, are developed from completely different development teams, which were not even part of Microsoft, when they wrote those first two. I see. I could talk to the product teams, fortunately my mobile clients work. 2) There are no different protocols used, you always seem to use ActiveSync for synchronizing. At least that is what your error messages suggest. From what I recall, SOGo isn't supporting EWS anyway. So EAS is the only protocol available, right? 3) The error message says, that the connection was closed from the client, before the complete response could be delivered from SOGo. That can mean, that the Proxy server closed the connection, but it can also happen, because Outlook did close the connection or the network did fail. There is no Proxy between the client and the SOGo service. There is however a firewall. I'll check for the logs. The sogo.log says the socket was shutdown. Has it been shut down because of a lack of activity from the client or because of an internal error within SOGo? Perhaps your sogo.conf parameters for ActiveSync are bogus I checked the sogo.conf. What should I look for? I've enabled SOGoEASDebugEnabled = YES for now. Perhaps your settings for the ProxyPass directive in Apache is bogus. I'm using nginx. This is from my conf location ^~ /SOGo { proxy_pass http://127.0.0.1:2; proxy_set_header x-webobjects-server-protocol HTTP/1.0; proxy_connect_timeout 600; proxy_send_timeout 600; proxy_read_timeout 600; } location ^~ /Microsoft-Server-ActiveSync { proxy_pass http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync; proxy_redirect http://127.0.0.1:2/Microsoft-Server-ActiveSync /; } location ^~ /SOGo/Microsoft-Server-ActiveSync { proxy_pass http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync; proxy_redirect http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync /; } location /SOGo.woa/WebServerResources/ { alias /usr/lib/GNUstep/SOGo/WebServerResources/; } location /SOGo/WebServerResources/ { alias /usr/lib/GNUstep/SOGo/WebServerResources/; } location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ { alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2; } Perhaps your network is unstable. Perhaps your Outlook doesn't like something in your setup. 4) Please give us a hint, which version of sogo you use. marc@mail:~$ dpkg -s sogo ... Architecture: amd64 Multi-Arch: same Version: 2.3.8-1 Kind regards, Christian Mack Thanks for your help, Marc Plogas -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Outlook Connection
hello Am 16.02.2016 um 17:16 schrieb m.plo...@berlin.de: > Heya, > > When trying to connect to a SOGo installation with Outlook 2016, these errors > appear in my log. > > Feb 16 09:38:45 sogod [30243]: [ERROR] <0x0x5633db73fbd8[WOHttpTransaction]> > client disconnected during delivery of response for >ActiveSync? > Cmd=Sync=u...@domain.tld=DEVICEID=WindowsOutlook15 > app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)> (len=0): the socket > was shutdown > Feb 16 09:38:45 sogod [30243]: localhost "POST /SOGo/Microsoft-Server- > ActiveSync? > Cmd=Sync=u...@domain.tld=DEVICEID=WindowsOutlook15 > HTTP/1.0" 503 0/16812 303.853 - - 334M > > The connection then fails. SOGo is part of an iRedMail installation, I already > checked with the developer, but he can't help me with this issue. > > There is a similar case here on the mailing list, but the user was having a > faulty rewrite rule. That doesn't seem to be the case here. Also, Outlook for > Android and Outlook for Windows Phone seems to be unaffected and work without > issues (probably due to a different prtocoll being used) > > Any ideas? > 1) Outlook for Android and Outlook for Windows Phone only share the same name with Outlook 20XX on PCs. They have completely different codebases, are developed from completely different development teams, which were not even part of Microsoft, when they wrote those first two. 2) There are no different protocols used, you always seem to use ActiveSync for synchronizing. At least that is what your error messages suggest. 3) The error message says, that the connection was closed from the client, before the complete response could be delivered from SOGo. That can mean, that the Proxy server closed the connection, but it can also happen, because Outlook did close the connection or the network did fail. Perhaps your sogo.conf parameters for ActiveSync are bogus. Perhaps your settings for the ProxyPass directive in Apache is bogus. Perhaps your network is unstable. Perhaps your Outlook doesn't like something in your setup. 4) Please give us a hint, which version of sogo you use. Kind regards, Christian Mack -- Christian Mack Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung Basisdienste 78457 Konstanz +49 7531 88-4416 smime.p7s Description: S/MIME Cryptographic Signature
Re: [SOGo] OpenChange without Samba
On 02/16/2016 08:57 AM, Maxime RUBINO wrote: Hi all, You can found all warning and best practice to join an existing AD to a Samba AD, but, Samba4 doesn't support joining a 2012 AD as a Domain Controller, so... too bad for you if you have an 2012 AD. https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD I don't believe the original poster was doing that. He was trying to join an existing Windows AD as a Member Server. The question is "How did he do that?" And, in order to discover his problem, he might need to look at his smb.conf (as Rowland suggests) (I may be wrong, so we'll have to see what he says) Le 16/02/2016 14:12, Rowland Penny a écrit : On 16/02/16 12:26, Steve Ankeny wrote: On 02/16/2016 02:43 AM, Dennis Moebus wrote: Hey Steve, I joined my Samba/OpenChange/Sogo Server to my existing Windows Active Directory as a member. I followed the offical Native Microsoft Outlook Configuration Guide from sogo.nu (http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf). Installing the software and entering my crendentials is done and doublechecked. But everytime I enter the command: "openchange_newuser --create dmoebus", I get the following error: Traceback (most recent call last): File "/usr/sbin/openchange_newuser", line 70, in lp, creds, opts.firstorg, opts.firstou) File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 167, in guess_names_from_smbconf raise Exception("Cannot find first exchange organization in %s", exchangedn) Exception: ('Cannot find first exchange organization in %s', 'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO') What is wrong? Google has no answers for me... Thank you! Dennis (I am no expert) It cannot find the "first exchange organization" because it's not querying your existing Microsoft AD IF you followed the Inverse, "Native Microsoft Outlook Configuration Guide," you installed the Samba & OpenChange packages from Inverse (so, you have the correct packages), but how did you provision Samba? At the moment you can only provision as a DC. The Guide tells you to provision as an AD controller. However, that's not going to "fit" your existing AD At this point, I'd check the configuration options in the Samba Wiki on "joining" as a Member -- https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member Compare the configuration and setups between the Inverse Guide and the Samba link, and see what you find. You're looking for differences. One of the main issues is DNC: "Which AD DC does your smb.conf point to?" There are people more expert in both Samba & OpenChange on this list, so maybe someone will see the flaw. The flaw is probably that he has created a new domain and is now trying to join it to another domain, I don't think this is going to work, it may help to say one way or the other, if the OP was to post the smb.conf from the Sogo machine. The "first exchange organization" is contained in the database controlling the AD (usually an LDB in Samba), but you're connected to the Microsoft AD, so it has to look there, and it's not looking at the right domain controller. The question would be, "How did you join your existing Microsoft AD?" Very good question. Rowland -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Outlook Connection
Heya, When trying to connect to a SOGo installation with Outlook 2016, these errors appear in my log. Feb 16 09:38:45 sogod [30243]: [ERROR] <0x0x5633db73fbd8[WOHttpTransaction]> client disconnected during delivery of response for(len=0): the socket was shutdown Feb 16 09:38:45 sogod [30243]: localhost "POST /SOGo/Microsoft-Server- ActiveSync? Cmd=Sync=u...@domain.tld=DEVICEID=WindowsOutlook15 HTTP/1.0" 503 0/16812 303.853 - - 334M The connection then fails. SOGo is part of an iRedMail installation, I already checked with the developer, but he can't help me with this issue. There is a similar case here on the mailing list, but the user was having a faulty rewrite rule. That doesn't seem to be the case here. Also, Outlook for Android and Outlook for Windows Phone seems to be unaffected and work without issues (probably due to a different prtocoll being used) Any ideas? Kind regards, Marc -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] event categories are not synchronized
On 2/16/2016 8:12 AM, Christian Mackwrote: > Am 15.02.2016 um 14:31 schrieb Laurent Wargon: >> Hi all, >> >> With Thunderbird Lightning, event categories are not synchronized with the >> categories defined in the web interface. Yet contact categories defined in >> the web interface are synchronized. >> >> Is this normal ? >> > Yes, that is normal, as calendar categories are managed in Lightning, > which does know nothing about SOGo. > But remote Adressbooks are managed via SOGo Connector Add-On, which was > created specifically for SOGo, therefore knowing how to get those > categories. So, is it possible, with some coding/enhancement to SOGo Integrator that SOGo could become are of/manage Calendar Categories? Or would this require some change/enhancement to Lightning? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] OpenChange without Samba
Hi all, You can found all warning and best practice to join an existing AD to a Samba AD, but, Samba4 doesn't support joining a 2012 AD as a Domain Controller, so... too bad for you if you have an 2012 AD. https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD Le 16/02/2016 14:12, Rowland Penny a écrit : On 16/02/16 12:26, Steve Ankeny wrote: On 02/16/2016 02:43 AM, Dennis Moebus wrote: Hey Steve, I joined my Samba/OpenChange/Sogo Server to my existing Windows Active Directory as a member. I followed the offical Native Microsoft Outlook Configuration Guide from sogo.nu (http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf). Installing the software and entering my crendentials is done and doublechecked. But everytime I enter the command: "openchange_newuser --create dmoebus", I get the following error: Traceback (most recent call last): File "/usr/sbin/openchange_newuser", line 70, in lp, creds, opts.firstorg, opts.firstou) File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 167, in guess_names_from_smbconf raise Exception("Cannot find first exchange organization in %s", exchangedn) Exception: ('Cannot find first exchange organization in %s', 'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO') What is wrong? Google has no answers for me... Thank you! Dennis (I am no expert) It cannot find the "first exchange organization" because it's not querying your existing Microsoft AD IF you followed the Inverse, "Native Microsoft Outlook Configuration Guide," you installed the Samba & OpenChange packages from Inverse (so, you have the correct packages), but how did you provision Samba? At the moment you can only provision as a DC. The Guide tells you to provision as an AD controller. However, that's not going to "fit" your existing AD At this point, I'd check the configuration options in the Samba Wiki on "joining" as a Member -- https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member Compare the configuration and setups between the Inverse Guide and the Samba link, and see what you find. You're looking for differences. One of the main issues is DNC: "Which AD DC does your smb.conf point to?" There are people more expert in both Samba & OpenChange on this list, so maybe someone will see the flaw. The flaw is probably that he has created a new domain and is now trying to join it to another domain, I don't think this is going to work, it may help to say one way or the other, if the OP was to post the smb.conf from the Sogo machine. The "first exchange organization" is contained in the database controlling the AD (usually an LDB in Samba), but you're connected to the Microsoft AD, so it has to look there, and it's not looking at the right domain controller. The question would be, "How did you join your existing Microsoft AD?" Very good question. Rowland -- Cordialement, Maxime RUBINO -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] event categories are not synchronized
Am 15.02.2016 um 14:31 schrieb Laurent Wargon: > Hi all, > > With Thunderbird Lightning, event categories are not synchronized with the > categories defined in the web interface. Yet contact categories defined in > the web interface are synchronized. > > Is this normal ? > Yes, that is normal, as calendar categories are managed in Lightning, which does know nothing about SOGo. But remote Adressbooks are managed via SOGo Connector Add-On, which was created specifically for SOGo, therefore knowing how to get those categories. Kind regards, Christian Mack -- Christian Mack Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung Basisdienste 78457 Konstanz +49 7531 88-4416 smime.p7s Description: S/MIME Cryptographic Signature
Re: [SOGo] OpenChange without Samba
On 02/16/2016 02:43 AM, Dennis Moebus wrote: Hey Steve, I joined my Samba/OpenChange/Sogo Server to my existing Windows Active Directory as a member. I followed the offical Native Microsoft Outlook Configuration Guide from sogo.nu (http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf). Installing the software and entering my crendentials is done and doublechecked. But everytime I enter the command: "openchange_newuser --create dmoebus", I get the following error: Traceback (most recent call last): File "/usr/sbin/openchange_newuser", line 70, in lp, creds, opts.firstorg, opts.firstou) File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 167, in guess_names_from_smbconf raise Exception("Cannot find first exchange organization in %s", exchangedn) Exception: ('Cannot find first exchange organization in %s', 'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO') What is wrong? Google has no answers for me... Thank you! Dennis (I am no expert) It cannot find the "first exchange organization" because it's not querying your existing Microsoft AD IF you followed the Inverse, "Native Microsoft Outlook Configuration Guide," you installed the Samba & OpenChange packages from Inverse (so, you have the correct packages), but how did you provision Samba? The Guide tells you to provision as an AD controller. However, that's not going to "fit" your existing AD At this point, I'd check the configuration options in the Samba Wiki on "joining" as a Member -- https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member Compare the configuration and setups between the Inverse Guide and the Samba link, and see what you find. You're looking for differences. One of the main issues is DNC: "Which AD DC does your smb.conf point to?" There are people more expert in both Samba & OpenChange on this list, so maybe someone will see the flaw. The "first exchange organization" is contained in the database controlling the AD (usually an LDB in Samba), but you're connected to the Microsoft AD, so it has to look there, and it's not looking at the right domain controller. The question would be, "How did you join your existing Microsoft AD?" -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] OpenChange without Samba
Hey Steve, I joined my Samba/OpenChange/Sogo Server to my existing Windows Active Directory as a member. I followed the offical Native Microsoft Outlook Configuration Guide from sogo.nu (http://sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf). Installing the software and entering my crendentials is done and doublechecked. But everytime I enter the command: "openchange_newuser --create dmoebus", I get the following error: Traceback (most recent call last): File "/usr/sbin/openchange_newuser", line 70, in lp, creds, opts.firstorg, opts.firstou) File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 167, in guess_names_from_smbconf raise Exception("Cannot find first exchange organization in %s", exchangedn) Exception: ('Cannot find first exchange organization in %s', 'CN=Microsoft Exchange,CN=Services,CN=Configuration,CN=SOGO') What is wrong? Google has no answers for me... Thank you! Dennis Am 12.02.2016 um 14:53 schrieb Steve Ankeny: > On 02/12/2016 08:44 AM, Dennis Moebus wrote: >> unfortunately its not possible to join a windows server 2012 AD with >> samba4... >> >> https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD#WARNING >> >> >> Dennis > > joining as a Member Server works (that settles that) > > notice, it says "it's not supported" not that it "can't be done" (but > why go there) > > -- Dennis Möbus dmoe...@3pc.de --- 3pc GmbH Neue Kommunikation Prinzessinnenstraße 1 10969 Berlin Tel.: +49-(0)30-28 51 98-00 Fax: +49-(0)30-28 51 98-28 http://3pc.de i...@3pc.de --- 3pc GmbH Neue Kommunikation Büro Süd Andreas-Hofer-Straße 11 73730 Esslingen Tel.: +49 (0)711-16 12 15 31 s...@3pc.de --- Geschäftsführer Armin Berger Amtsgericht Berlin Charlottenburg HRB 794 28 USt-IdNr.: DE217652890 --- facebook.com/3pc.de plus.3pc.de twitter.com/3pc flickr.com/photos/3pc -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] login problelms for one user - expire = -1 grace = - - more information
Am 15.02.2016 um 15:12 schrieb Götz Reinicke - IT Koordinator: > Hi, > > Am 15.02.16 um 13:31 schrieb Götz Reinicke - IT Koordinator: >> Hi, >> >> we have one user who cant login to sogo anymore since friday we did >> not change anything to the servers (mail, web, DB, ...) >> >> The message in the logfile is >> >> SOGoRootPage successful login from 'xxx.xxx.xxx.xxx' for user 'xx' - >> expire = -1 grace = -1 >> >> >> Any hints? > > the user tried to log in again with a new set password and now I see an > mysql error: > > [ERROR] <0x0x7f1577faf638[GCSFolder]> -[GCSFolder deleteAllContent]: > cannot delete quick row 'DELETE FROM sogoxxx_quick': > NAME:ExecutionFailed REASON:Lock wait > timeout exceeded; try restarting transaction > > May be that points into some helping direction? > > The mysql server looks good to us for now > Did a backup/dump run while getting this error? Kind regards, Christian Mack -- Christian Mack Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung Basisdienste 78457 Konstanz +49 7531 88-4416 smime.p7s Description: S/MIME Cryptographic Signature
Re: [SOGo] login problelms for one user - expire = -1 grace = -
Am 15.02.2016 um 13:31 schrieb Götz Reinicke - IT Koordinator: > Hi, > > we have one user who cant login to sogo anymore since friday we did > not change anything to the servers (mail, web, DB, ...) > > The message in the logfile is > > SOGoRootPage successful login from 'xxx.xxx.xxx.xxx' for user 'xx' - > expire = -1 grace = -1 > > > Any hints? > Which SOGo Version are you using? Perhaps you run into this bug fixed in 2.3.5: http://sogo.nu/bugs/view.php?id=3425 Kind regards, Christian Mack -- Christian Mack Universität Konstanz Kommunikations-, Informations-, Medienzentrum (KIM) Abteilung Basisdienste 78457 Konstanz +49 7531 88-4416 smime.p7s Description: S/MIME Cryptographic Signature