Can't first login to WAP after fresh install CentOS 7, Kolab 3.3

Honza Burian burian.honza at gmail.com
Mon Sep 15 12:32:24 CEST 2014


Hi Torsten,

I had this in my mind. I already describe it in my second mail.
But for better finding There is a copy.
---------------------------
I found out that LDAP is not a problem. Kolab is probably contacting
LDAP every 10 minutes with Directory Manager (when I'm not doing any
login attempt).
So when I try to login to roundcube or chwala or from command line
(ldapsearch, testsalsauthd) LDAP is working normally, log file is
fine.

When I try login to kolab WAP, there is only "Internal system error!"
in browser and PHP error in log file:
# less /var/log/kolab-webadmin/errors
[11-Sep-2014 22:23:53 +0200](
2b32v31rvpharkensitrp57qr4): PHP Error:
Login failed. Unable to decode response (POST)

Is there any way to get more info to the log file?
That will be geat.

In the half way of I am writing this mail I tried another things which
come to my mind and I found the problem.
I created myself.

I configure apache 2.4 virtualhost for <direcotry ... kolab-webadmin>
with only "Require ip my-extrenal-ip"
That works for showing the page. But when I tried to login the page
calling kolab-webadmin API on URL specified in kolab.conf in section
[kolab_wap] parameter api_url= https://my-domain/kolab-webadmin/api
So the server tries contact api on that URL which resolves back to IP
of the server.
But apache return 403 forbidden, because IP of the server, which was
calling API wasn't in Require directive.
To correct this is needed to add "Require local" directive.

The hint was log file of httpd of that virtual host:
[Thu Sep 11 22:23:53.551323 2014] [authz_core:error] [pid 15342]
[client ip-of-the-server:39273] AH01630: client denied by server
configuration: /usr/share/kolab-webadmin/public_html/api/system.authenticate

Best Regards
John

On 15 September 2014 10:19, Torsten Grote <torsten at kolab.org> wrote:
> Hi John,
>
> On Friday 12 September 2014 19:02:51 Honza Burian wrote:
>> ok, I'm CLOSING this issue [SOLVED].
>
> Since some people might still find your mail years later, it is always nice to
> document *how* you solved your problem.
>
> Kind Regards,
> Torsten
>
> --
> Torsten Grote
> Kolab.org Community Manager
>
> e: torsten at kolab.org
> w: https://Kolab.org
>
> pgp: 0x2175A534A4F2EFA3
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list