Discussion:
Kolab on Centos 7 roundcube not log in
Gelpi Andrea
2016-08-18 22:46:48 UTC
Permalink
Hi,
I have just installed kolab 3.4 on Centos 7.

I follow various docs from docs.kolab.org to configure the system also
for multi domain (not alias domain).

I can connect to kolab-webadmin where I added a test user.

When I try to connect to rouncube I got a login failure.
I check many logs but all I can find is:

Aug 19 00:27:00 mail imaps[20939]: starttls: TLSv1.2 with cipher
ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits new) no authentication
Aug 19 00:27:00 mail ptloader[19677]: LDAP search for domain failed.
Aug 19 00:27:00 mail imaps[20939]: ptload(): bad response from ptloader
server: identifier not found
Aug 19 00:27:00 mail imaps[20939]: ptload completely failed: unable to
canonify identifier: ***@treos.it
Aug 19 00:27:00 mail imaps[20939]: SASL bad userid authenticated
Aug 19 00:27:00 mail imaps[20939]: badlogin: localhost [::1] PLAIN
[SASL(-13): authentication failure: bad userid authenticated]

I check and verify all services are running.

I have a kolab 3.2 on debian 7 working.

I check configuration file more than once, but I can't find any error.

I tested imap connection and seems to work.
Kolab lm give me user/***@treos.it

Where can I look to analyze and solve the problem?

Thank You
--
Gelpi ing. Andrea
--------------------------------------------------------------
It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here.
--------------------------------------------------------------
Timotheus Pokorra
2016-08-19 06:00:32 UTC
Permalink
Hello Andrea,
I follow various docs from docs.kolab.org to configure the system also for
multi domain (not alias domain).
I can connect to kolab-webadmin where I added a test user.
When I try to connect to rouncube I got a login failure.
Aug 19 00:27:00 mail imaps[20939]: starttls: TLSv1.2 with cipher
ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits new) no authentication
Aug 19 00:27:00 mail ptloader[19677]: LDAP search for domain failed.
Aug 19 00:27:00 mail imaps[20939]: ptload(): bad response from ptloader
server: identifier not found
Aug 19 00:27:00 mail imaps[20939]: ptload completely failed: unable to
Aug 19 00:27:00 mail imaps[20939]: SASL bad userid authenticated
Aug 19 00:27:00 mail imaps[20939]: badlogin: localhost [::1] PLAIN
[SASL(-13): authentication failure: bad userid authenticated]
In my configuration for multi domain, I disable the canonification,
because I have problems with ptload like you describe.
https://github.com/TBits/KolabScripts/blob/Kolab3.4/kolab/initMultiDomain.sh#L11

See also https://docs.kolab.org/howtos/multi-domain.html where it is
not clear if removing the canonification process should not be
necessary or not.

hope that helps,

Timotheus
Gelpi Andrea
2016-08-19 08:01:42 UTC
Permalink
Post by Timotheus Pokorra
Hello Andrea,
I follow various docs from docs.kolab.org to configure the system also for
multi domain (not alias domain).
I can connect to kolab-webadmin where I added a test user.
When I try to connect to rouncube I got a login failure.
Aug 19 00:27:00 mail imaps[20939]: starttls: TLSv1.2 with cipher
ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits new) no authentication
Aug 19 00:27:00 mail ptloader[19677]: LDAP search for domain failed.
Aug 19 00:27:00 mail imaps[20939]: ptload(): bad response from ptloader
server: identifier not found
Aug 19 00:27:00 mail imaps[20939]: ptload completely failed: unable to
Aug 19 00:27:00 mail imaps[20939]: SASL bad userid authenticated
Aug 19 00:27:00 mail imaps[20939]: badlogin: localhost [::1] PLAIN
[SASL(-13): authentication failure: bad userid authenticated]
In my configuration for multi domain, I disable the canonification,
because I have problems with ptload like you describe.
https://github.com/TBits/KolabScripts/blob/Kolab3.4/kolab/initMultiDomain.sh#L11
See also https://docs.kolab.org/howtos/multi-domain.html where it is
not clear if removing the canonification process should not be
necessary or not.
hope that helps,
Timotheus
Thanks Timotheus.

I follow https://docs.kolab.org/howtos/multi-domain.htm for the part of
imap 2.5 as I'm setting up kolab 3.4

I added these lines at the end of my imapd.conf

ldap_domain_base_dn: ""
ldap_domain_filter:
(&(objectclass=domainrelatedobject)(associateddomain=%s))
ldap_domain_name_attribute: associatedDomain
ldap_domain_scope: sub
ldap_domain_result_attribute: inetdomainbasedn


I see in your script that you remove every line starting with "ldap_"
from imapd.conf. Is it intentionally?

Testing your solution, permit me to log in, but if I delete the user, it
is not deleted from disk. kolab lm show it.

So now I can login but something is not ok.

Roundcube now say Server error: STATUS: Mailbox does not exist

And I can't see any subdir to INBOX.
--
Gelpi ing. Andrea
--------------------------------------------------------------
It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here.
--------------------------------------------------------------
Gelpi Andrea
2016-08-19 08:11:04 UTC
Permalink
Post by Timotheus Pokorra
Hello Andrea,
I follow various docs from docs.kolab.org to configure the system also for
multi domain (not alias domain).
I can connect to kolab-webadmin where I added a test user.
When I try to connect to rouncube I got a login failure.
Aug 19 00:27:00 mail imaps[20939]: starttls: TLSv1.2 with cipher
ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits new) no authentication
Aug 19 00:27:00 mail ptloader[19677]: LDAP search for domain failed.
Aug 19 00:27:00 mail imaps[20939]: ptload(): bad response from ptloader
server: identifier not found
Aug 19 00:27:00 mail imaps[20939]: ptload completely failed: unable to
Aug 19 00:27:00 mail imaps[20939]: SASL bad userid authenticated
Aug 19 00:27:00 mail imaps[20939]: badlogin: localhost [::1] PLAIN
[SASL(-13): authentication failure: bad userid authenticated]
In my configuration for multi domain, I disable the canonification,
because I have problems with ptload like you describe.
https://github.com/TBits/KolabScripts/blob/Kolab3.4/kolab/initMultiDomain.sh#L11
See also https://docs.kolab.org/howtos/multi-domain.html where it is
not clear if removing the canonification process should not be
necessary or not.
hope that helps,
Timotheus
Sorry Timotheus,
the errors are due to the fact that my test user was created before I
changed the imap configuration with your script.

I manuali deleted the user (kolab dm) the I create a new one and now it
works, ThankYou.
--
Gelpi ing. Andrea
--------------------------------------------------------------
It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here.
--------------------------------------------------------------
Pietro Vassalli
2016-08-19 07:09:17 UTC
Permalink
Hi Andrea,

I am using ubuntu 14.04.5 and I have a system properly working in a
multi-domain environment. I've seen that you use debian, so you
shouldn't have any issue in using ubuntu.

This is what I've done so far and (that's working):

vi /etc/apt/sources.list.d/kolab.list
deb http://obs.kolabsys.com/repositories/Kolab:/3.4/Ubuntu_14.04/ ./
deb-src http://obs.kolabsys.com/repositories/Kolab:/3.4/Ubuntu_14.04/ ./

wget -q -O- https://ssl.kolabsys.com/community.asc | apt-key add -

vi /etc/apt/preferences.d/kolab
Package: *
Pin: origin obs.kolabsys.com
Pin-Priority: 501

apt-get update
aptitude -y install kolab

after the installation I've run the setup of the environment:

setup-kolab

Then, once again I've changed the repos:

vi /etc/apt/sources.list.d/kolab.list

deb http://obs.kolabsys.com/repositories/Kolab:/14/Ubuntu_14.04/ ./
deb-src http://obs.kolabsys.com/repositories/Kolab:/14/Ubuntu_14.04/ ./

and I've updated:

apt-get update
apt-get upgrade

Links:
kolab-webadmin: /kolab-webadmin/
roundcubemail: /roundcubemail/
chwala: /chwala/
iRony: /iRony/
kolab-freebusy: /freebusy/
Let me know if you have any issue.
Post by Gelpi Andrea
Hi,
I have just installed kolab 3.4 on Centos 7.
I follow various docs from docs.kolab.org to configure the system also for multi domain (not alias domain).
I can connect to kolab-webadmin where I added a test user.
When I try to connect to rouncube I got a login failure.
Aug 19 00:27:00 mail imaps[20939]: starttls: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits new) no authentication
Aug 19 00:27:00 mail ptloader[19677]: LDAP search for domain failed.
Aug 19 00:27:00 mail imaps[20939]: ptload(): bad response from ptloader server: identifier not found
Aug 19 00:27:00 mail imaps[20939]: SASL bad userid authenticated
Aug 19 00:27:00 mail imaps[20939]: badlogin: localhost [::1] PLAIN [SASL(-13): authentication failure: bad userid authenticated]
I check and verify all services are running.
I have a kolab 3.2 on debian 7 working.
I check configuration file more than once, but I can't find any error.
I tested imap connection and seems to work.
Where can I look to analyze and solve the problem?
Thank You
--
PIETRO VASSALLI
IT Manager
........................................................

Direct:
+41 91 935 9634

Fax:
+41 91 935 9320

Mobile:
+41 79 706 2168

E-mail:
***@waterline.ch

........................................................
WATER LINE SA
Via Sceresa 7 – Zona industriale 3
P.O. Box 149
CH-6805 Mezzovico-Vira
Switzerland
........................................................

Voice:
+41 91 935 9300

Fax:
+41 91 946 2064

E-mail:
***@waterline.ch

Website:
www.waterline.ch [1]

........................................................



Links:
------
[1] http://www.waterline.ch
Loading...