Roundcube Login on fresh Kolab 3.2 install on CentOS 6.5

Alejandro Cortina alitox at gmail.com
Tue Jun 3 12:57:12 CEST 2014


Hi Philipp,

to make it run you have to:

* follow the tutorial but remove Kolab 3.2 updates repo
* once finished need to create the cyrus certificates:

openssl req -new -nodes -out req.pem -keyout key.pem
openssl rsa -in key.pem -out new.key.pem
openssl x509 -in req.pem -out ca-cert -req -signkey new.key.pem -days 3650
cp new.key.pem /etc/pki/cyrus-imapd/cyrus-imapd.pem
cat ca-cert >> /etc/pki/cyrus-imapd/cyrus-imapd.pem

finally:

saslpasswd2 /etc/sasldb2
chown cyrus: /etc/sasldb2
chmod 640 /etc/sasldb2

reboot

more info on:

http://lists.kolab.org/pipermail/users/2013-October/015700.html
http://lists.kolab.org/pipermail/users/2014-May/017197.html

good way to troubleshoot: tailf /var/log/maillog
I tried last weekend and it works ok.


On Tue, Jun 3, 2014 at 4:06 PM, Philipp Schlarb <p.schlarb at mailec.de> wrote:

> Hello,
>
> i got a fresh CentOS 6.5 installation and installed Kolab 3.2 as discribed
> here:
> https://kolab.org/blog/zharvek/2014/03/19/installing-kolab-3.2-centos
> All went fine. I'm able to get to the Admin Interface and could create
> Users. But the Users can't login on the Roundcube interface.
> I checked with cyradm the login and it works. I also could login in the
> Admin Interface with a created user. ActiveSync did't work too but it seems
> to be the same Problem as the Roundcube interface.
> Here are the logs I found so far:
>
> --------------kolab/pykolab.log-----------------------
> 2014-06-03 02:57:17,660 pykolab.conf WARNING Option imap/virtual_domains
> does not exist in config file /etc/kolab/kolab.conf, pulling from defaults
>
> --------------maillog---------------------------------
> Jun  3 02:57:42 mail2 imaps[3676]: starttls: TLSv1.2 with cipher
> DHE-RSA-AES256-GCM-SHA384 (256/256 bits new) no authentication
> Jun  3 02:57:42 mail2 imaps[3676]: SASL unable to open Berkeley db
> /etc/sasldb2: No such file or directory
> Jun  3 02:57:42 mail2 imaps[3676]: SASL unable to open Berkeley db
> /etc/sasldb2: No such file or directory
> Jun  3 02:57:42 mail2 ptloader[3677]: LDAP search for domain failed.
> Jun  3 02:57:42 mail2 imaps[3676]: ptload(): bad response from ptloader
> server: identifier not found
> Jun  3 02:57:42 mail2 imaps[3676]: ptload completely failed: unable to
> canonify identifier: philipp.schlarb at mailec.de
> Jun  3 02:57:42 mail2 imaps[3676]: SASL bad userid authenticated
> Jun  3 02:57:42 mail2 imaps[3676]: badlogin: localhost [::1] PLAIN
> [SASL(-13): authentication failure: bad userid authenticated]
>
> --------------roundcubemail/errors--------------------
> [03-Jun-2014 08:06:42,000000 +0200]: IMAP Error: Login failed for
> philipp.schlarb at mailec.de from 87.156.54.129. AUTHENTICATE PLAIN:
> authentication failure in
> /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 184
> (POST /roundcubemail/?_task=login?_task=login&_action=login)
>
> --------------roundcubemail/imad----------------------
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] S: * OK [CAPABILITY IMAP4rev1
> LITERAL+ ID ENABLE STARTTLS LOGINDISABLED] mail2.mailec.de Cyrus IMAP
> git2.5+0-Kolab-2.5-2.7.el6.kolab_3.2 server ready
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] C: A0001 STARTTLS
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] S: A0001 OK Begin TLS
> negotiation now
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] C: A0002 CAPABILITY
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] S: * CAPABILITY IMAP4rev1
> LITERAL+ ID ENABLE ACL RIGHTS=kxten QUOTA MAILBOX-REFERRALS NAMESPACE
> UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY CATENATE
> CONDSTORE ESEARCH SEARCH=FUZZY SORT SORT=MODSEQ SORT=DISPLAY SORT=UID
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE ANNOTATE-EXPERIMENT-1
> METADATA LIST-EXTENDED LIST-STATUS LIST-MYRIGHTS WITHIN QRESYNC SCAN XLIST
> XMOVE MOVE SPECIAL-USE CREATE-SPECIAL-USE DIGEST=SHA1 URLAUTH
> URLAUTH=BINARY X-NETSCAPE AUTH=PLAIN AUTH=LOGIN SASL-IR COMPRESS=DEFLATE
> X-QUOTA=STORAGE X-QUOTA=MESSAGE X-QUOTA=X-ANNOTATION-STORAGE
> X-QUOTA=X-NUM-FOLDERS IDLE
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] S: A0002 OK Completed
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] C: A0003 ID ("name"
> "Roundcube" "version" "1.0-git" "php" "5.3.3" "os" "Linux" "command"
> "/roundcubemail/?_task=login")
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] S: * ID ("name" "Cyrus IMAPD"
> "version" "git2.5+0-Kolab-2.5-2.7.el6.kolab_3.2 " "vendor" "Project Cyrus"
> "support-url" "http://www.cyrusimap.org" "os" "Linux" "os-version"
> "2.6.32-042stab085.20" "environment" "Built w/Cyrus SASL 2.1.23; Running
> w/Cyrus SASL 2.1.23; Built w/Berkeley DB 4.7.25: (September 12, 2013);
> Running w/Berkeley DB 4.7.25: (September 12, 2013); Built w/OpenSSL
> 1.0.1e-fips 11 Feb 2013; Running w/OpenSSL 1.0.1e-fips 11 Feb 2013; Built
> w/zlib 1.2.3; Running w/zlib 1.2.3; CMU Sieve 2.4; TCP Wrappers; NET-SNMP;
> mmap = shared; lock = fcntl; nonblock = fcntl; idle = idled")
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] S: A0003 OK Completed
> [03-Jun-2014 08:06:39,000000 +0200]: [4B23] C: A0004 AUTHENTICATE PLAIN
> AHBoaWxpcHAuc2NobGFyYkBtYWlsZWMuZGUAc2NobGFyYjE=
> [03-Jun-2014 08:06:42,000000 +0200]: [4B23] S: A0004 NO authentication
> failure
>
> ----------------roundcubemail/ldap--------------------
> [03-Jun-2014 08:06:39,000000 +0200]: C: Connect to localhost:389 [Kolab
> Auth]
> [03-Jun-2014 08:06:39,000000 +0200]: S: OK
> [03-Jun-2014 08:06:39,000000 +0200]: C: Bind uid=kolab-service,ou=Special
> Users,dc=mailec,dc=de [pass: ***************]
> [03-Jun-2014 08:06:39,000000 +0200]: S: OK
> [03-Jun-2014 08:06:39,000000 +0200]: C: Search ou=People,dc=mailec,dc=de
> for (&(objectclass=inetorgperson)(|(uid=schlarb)(mail=schlarb at mailec.de
> )(alias=schlarb at mailec.de)))
> [03-Jun-2014 08:06:39,000000 +0200]: S: 1 record(s) found
> [03-Jun-2014 08:06:42,000000 +0200]: C: Close
>
> ----------------roundcubemail/sql---------------------
> [03-Jun-2014 08:06:39,000000 +0200]: [1] SELECT vars, ip, changed, now()
> AS ts FROM session WHERE sess_id = 'mkjlcccid8t56o9e1j6u8uq0o0';
> [03-Jun-2014 08:06:39,000000 +0200]: [2] DELETE FROM session WHERE sess_id
> = 'mkjlcccid8t56o9e1j6u8uq0o0';
> [03-Jun-2014 08:06:39,000000 +0200]: [3] SELECT * FROM users WHERE
> mail_host = 'localhost' AND username = 'philipp.schlarb at mailec.de';
> [03-Jun-2014 08:06:42,000000 +0200]: [4] DELETE FROM session WHERE sess_id
> = 'mkjlcccid8t56o9e1j6u8uq0o0';
> [03-Jun-2014 08:06:42,000000 +0200]: [5] INSERT INTO session (sess_id,
> vars, ip, created, changed) VALUES ('mkjlcccid8t56o9e1j6u8uq0o0',
> 'bGFuZ3VhZ2V8czo1OiJkZV9ERSI7dGVtcHxiOjE7c2tpbnxzOjU6ImxhcnJ5Ijs=',
> '87.156.54.129', now(), now());
>
> ---------------roundcubemail/userlogins---------------
> [03-Jun-2014 08:06:42,000000 +0200]: Failed login for
> philipp.schlarb at mailec.de from 87.156.54.129 in session
> mkjlcccid8t56o9e1j6u8uq0o0 (error: 0)
>
>
> Google didn't help me out of this. Thx for Help!
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20140603/275b1b65/attachment.html>


More information about the users mailing list