Re: [SOGo] Setting up Sogo on Ubuntu 18.04 / returned to login screen after successful auth

2018-10-29 Thread marki

On 2018-10-29 15:33, Francis Lachapelle wrote:
Now I am stuck with the user being able to successfully authenticate 
(SQL auth or LDAP auth both working) but after auth it returns to the 
login screen. I've enabled all possible debugging but can't figure out 
why it doesn't go further. Any idea?


This usually happens when the server returns a cookie associated to a
domain different than the one used to access SOGo. You can force a
specific domain by modifying the SOGo.conf file for Apache (see
https://sogo.nu/files/docs/SOGoInstallationGuide.html#_apache_configuration).


Thanks, actually I was
1) using an IP address
2) using http instead of https
to access SOGo.

I have temporarily changed the Apache configuration to read
  RequestHeader set "x-webobjects-server-url" "http://%{HTTP_HOST}e; 
env=HTTP_HOST

(instead of "https://...; and all is well.

Thanks again for the hint.
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Setting up Sogo on Ubuntu 18.04 / returned to login screen after successful auth

2018-10-25 Thread marki



Hey there,

Just wanted to give some feedback and a question or two about 
installation of nightly on Ubuntu 18.04 since "apt-get install sogo" 
sounded too good to be true, and it was.


First, I needed to include Ubuntu's "universe" repos in order for 
dependencies to be fulfilled. In any case 
https://sogo.nu/support/faq/how-to-install-nightly-sogo-versions-on-ubuntu.html 
has no mention of this.


Then, the packages don't have a dependency on Apache, at least I found 
out later that I had to install Apache manually.


Furthermore, the Apache config file is put into /etc/apache2/conf.d/ 
while it belongs into /etc/apache2/conf-enabled/ on that platform.


Now I am stuck with the user being able to successfully authenticate 
(SQL auth or LDAP auth both working) but after auth it returns to the 
login screen. I've enabled all possible debugging but can't figure out 
why it doesn't go further. Any idea?


This is the log:

Oct 25 10:52:57 sogod [22347]: |SOGo| starting method 'POST' on uri 
'/SOGo/connect'
Oct 25 10:52:57 sogod [22347]: <0x0x5612a284f740[SOGoCache]> Cache 
cleanup interval set every 300.00 seconds
Oct 25 10:52:57 sogod [22347]: <0x0x5612a284f740[SOGoCache]> Using 
host(s) 'localhost' as server(s)
Oct 25 10:52:57 sogod [22347]: [WARN] <0x0x7fd54f7c1e20[WOxElemBuilder]> 
could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
Oct 25 10:52:57 sogod [22347]: SOGoRootPage successful login from 
'172.1.2.3' for user 'test' - expire = -1  grace = -1
Oct 25 10:52:57 sogod [22347]: [WARN] 
<0x0x5612a2803ee0[SOGoWebDAVAclManager]> entry '{DAV:}write' already 
exists in DAV permissions table
Oct 25 10:52:57 sogod [22347]: [WARN] 
<0x0x5612a2803ee0[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' 
already exists in DAV permissions table
Oct 25 10:52:57 sogod [22347]: [WARN] 
<0x0x5612a2803ee0[SOGoWebDAVAclManager]> entry '{DAV:}write-content' 
already exists in DAV permissions table
Oct 25 10:52:57 sogod [22347]: |SOGo| request took 0.026321 seconds to 
execute
Oct 25 10:52:57 sogod [22347]: 172.16.16.102 "POST /SOGo/connect 
HTTP/1.1" 200 41/61 0.030 - - 3M
Oct 25 10:52:58 sogod [22347]: |SOGo| starting method 'GET' on uri 
'/SOGo/so/test'
Oct 25 10:52:58 sogod [22347]: |SOGo| request took 0.019363 seconds to 
execute
Oct 25 10:52:58 sogod [22347]: 172.16.16.102 "GET /SOGo/so/test 
HTTP/1.1" 200 7312/0 0.021 26938 72% 1M



Thanks.

Marki

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