[Kolab-devel] KOLAB3.1 fresh install cyrus fail

Manel Gimeno Zaragozá magiza83 at hotmail.com
Thu Jun 27 15:47:05 CEST 2013


Its strange. I've been testing and changing the configuration.

I've replaced the imapd.conf line:
ldap_filter: (|(&(|(uid=cyrus-admin)(uid=cyrus-murder))(uid=%U))(&(|(uid=%U)(mail=%U@%d)(mail=%U@%r))(objectclass=organizationalperson)))

for

ldap_filter: uid=cyrus-admin

and but in the ldap log file I see that it is looking for:

[27/Jun/2013:15:42:09 +0200] conn=28 op=3 SRCH base="dc=kolab,dc=ddol,dc=es" scope=2 filter="(&(|(mail=cyrus.administrator)(mail=cyrus.administrator at kolab.ddol.es)(alias=cyrus.administrator)(alias=cyrus.administrator at kolab.ddol.es)(uid=cyrus.administrator)(uid=cyrus.administrator at kolab.ddol.es))(objectClass=kolabinetorgperson))" attrs="entrydn"

Manel


> Date: Thu, 27 Jun 2013 13:49:37 +0200
> From: timotheus at pokorra.de
> To: kolab-devel at kolab.org
> Subject: Re: [Kolab-devel] KOLAB3.1 fresh install cyrus fail
> 
> I have tried it with the rpms from
> http://mirror.kolabsys.com/pub/redhat/kolab-3.1/el6/development/x86_64/
> as well, and the problem is the same.
> So the reason does not come from the nightly builds itself.
> 
> On 27 June 2013 11:56, Timotheus Pokorra <timotheus at pokorra.de> wrote:
> > Hello Manel,
> >
> > I can confirm this problem.
> > At the moment I cannot think of a solution or a reason for this.
> >
> > Timotheus
> >
> > On 27 June 2013 11:26, Manel Gimeno Zaragozá <magiza83 at hotmail.com> wrote:
> >> Hello,
> >>
> >> Today I try to intall a fresh install of kolab3.1, again hoping that a new
> >> nightly build was uploaded. But I'm still getting the same error in cyrus.
> >> Please find the package info:
> >>
> >> $ rpm -qai kolab
> >> Name        : kolab                        Relocations: (not relocatable)
> >> Version     : 3.0.0                             Vendor: Kolab Systems AG
> >> Release     : 1.el6.kolab_3.0               Build Date: Fri 03 Aug 2012
> >> 06:07:50 PM CEST
> >> Install Date: Thu 27 Jun 2013 11:05:47 AM CEST      Build Host:
> >> koji02.kolabsys.com
> >> Group       : Applications/System           Source RPM:
> >> kolab-3.0.0-1.el6.kolab_3.0.src.rpm
> >> Size        : 133                              License: GPL
> >> Signature   : (none)
> >> Packager    : Kolab Systems AG
> >> URL         : http://www.kolab.org
> >> Summary     : The Kolab Groupware Solution
> >> Description :
> >> The Kolab Groupware solution is a fully-featured Free Software groupware
> >> solution,
> >> and this is the meta-package you can use to install it with.
> >>
> >> $ rpm -qai cyrus-imapd
> >> Name        : cyrus-imapd                  Relocations: (not relocatable)
> >> Version     : 2.5                               Vendor: Kolab Systems AG
> >> Release     : 0.1.dev6.git534066.el6.kolab_3.1   Build Date: Mon 17 Jun 2013
> >> 04:58:05 PM CEST
> >> Install Date: Thu 27 Jun 2013 11:05:08 AM CEST      Build Host:
> >> koji04.kolabsys.com
> >> Group       : System Environment/Daemons    Source RPM:
> >> cyrus-imapd-2.5-0.1.dev6.git534066.el6.kolab_3.1.src.rpm
> >> Size        : 4732084                          License: BSD
> >> Signature   : (none)
> >> Packager    : Kolab Systems AG
> >> URL         : http://www.cyrusimap.org
> >> Summary     : A high-performance mail server with IMAP, POP3, NNTP and SIEVE
> >> support
> >>
> >> I'm getting the same error:
> >>
> >>
> >> $ kolab list-mailboxes
> >> Traceback (most recent call last):
> >>   File "/usr/sbin/kolab", line 39, in <module>
> >>     kolab = Cli()
> >>   File "/usr/lib/python2.6/site-packages/pykolab/cli/__init__.py", line 64,
> >> in __init__
> >>     commands.execute('_'.join(to_execute))
> >>   File "/usr/lib/python2.6/site-packages/pykolab/cli/commands.py", line 139,
> >> in execute
> >>     commands[cmd_name]['function'](conf.cli_args, kw)
> >>   File "/usr/lib/python2.6/site-packages/pykolab/cli/cmd_list_mailboxes.py",
> >> line 70, in execute
> >>     imap.connect()
> >>   File "/usr/lib/python2.6/site-packages/pykolab/imap/__init__.py", line
> >> 154, in connect
> >>     self._imap[hostname].login(admin_login, admin_password)
> >>   File "/usr/lib/python2.6/site-packages/pykolab/imap/cyrus.py", line 133,
> >> in login
> >>     cyruslib.CYRUS.login(self, *args, **kw)
> >>   File "/usr/lib/python2.6/site-packages/cyruslib.py", line 416, in login
> >>     self.__doexception("LOGIN", error)
> >>   File "/usr/lib/python2.6/site-packages/cyruslib.py", line 359, in
> >> __doexception
> >>     self.__doraise( function.upper(), msg )
> >>   File "/usr/lib/python2.6/site-packages/cyruslib.py", line 368, in
> >> __doraise
> >>     raise CYRUSError( idError[0], mode, msg )
> >> cyruslib.CYRUSError: (10, 'LOGIN', 'authentication failure')
> >>
> >> any help?
> >>
> >> Thanks & Regards.
> >>
> >> Manel
> >>
> >> ________________________________
> >> From: magiza83 at hotmail.com
> >> To: kolab-devel at kolab.org
> >> Date: Fri, 14 Jun 2013 09:56:34 +0200
> >> Subject: [Kolab-devel] KOLAB3.1 fresh install cyrus fail
> >>
> >>
> >> Hello,
> >>
> >> I'm testesting the last rpm of 3.1 nightly build following the installation
> >> from
> >> http://www.tbits.net/tbits-opensource/install-nightly-build-from-gitkolaborg-master.html
> >>
> >> After setup-kolab I'm able to login into kolab-webadmin and create a user,
> >> but when I try to list cyrus mailboxes I'm getting an authentication failure
> >> error:
> >>
> >> # kolab list-mailboxes
> >> Traceback (most recent call last):
> >>   File "/usr/sbin/kolab", line 39, in <module>
> >>     kolab = Cli()
> >>   File "/usr/lib/python2.6/site-packages/pykolab/cli/__init__.py", line 64,
> >> in __init__
> >>     commands.execute('_'.join(to_execute))
> >>   File "/usr/lib/python2.6/site-packages/pykolab/cli/commands.py", line 139,
> >> in execute
> >>     commands[cmd_name]['function'](conf.cli_args, kw)
> >>   File "/usr/lib/python2.6/site-packages/pykolab/cli/cmd_list_mailboxes.py",
> >> line 70, in execute
> >>     imap.connect()
> >>   File "/usr/lib/python2.6/site-packages/pykolab/imap/__init__.py", line
> >> 154, in connect
> >>     self._imap[hostname].login(admin_login, admin_password)
> >>   File "/usr/lib/python2.6/site-packages/pykolab/imap/cyrus.py", line 133,
> >> in login
> >>     cyruslib.CYRUS.login(self, *args, **kw)
> >>   File "/usr/lib/python2.6/site-packages/cyruslib.py", line 416, in login
> >>     self.__doexception("LOGIN", error)
> >>   File "/usr/lib/python2.6/site-packages/cyruslib.py", line 359, in
> >> __doexception
> >>     self.__doraise( function.upper(), msg )
> >>   File "/usr/lib/python2.6/site-packages/cyruslib.py", line 368, in
> >> __doraise
> >>     raise CYRUSError( idError[0], mode, msg )
> >> cyruslib.CYRUSError: (10, 'LOGIN', 'authentication failure')
> >>
> >> and in maillog:
> >>
> >> Jun 14 09:29:51 host imaps[3900]: starttls: TLSv1 with cipher
> >> DHE-RSA-AES256-SHA (256/256 bits new) no authentication
> >> Jun 14 09:29:51 host imaps[3900]: SASL unable to open Berkeley db
> >> /etc/sasldb2: No such file or directory
> >> Jun 14 09:29:51 host imaps[3900]: SASL unable to open Berkeley db
> >> /etc/sasldb2: No such file or directory
> >> Jun 14 09:29:51 host imaps[3900]: badlogin: localhost.ddol-test.com
> >> [127.0.0.1] plaintext cyrus-admin SASL(-13): authentication failure:
> >> checkpass failed
> >>
> >> neither I'm able to log into cyrus using cyradm.
> >>
> >> I've check imap.conf and I've check the user to bind into LDAP ,
> >>
> >> if I try to search into LDAP with imap.conf options
> >>
> >> # ldapsearch -LLL -x -h localhost -p 389 -D "uid=kolab-service,ou=Special
> >> Users,dc=kolab,dc=ddol,dc=es" -w datadec -z none -s sub -b
> >> "dc=kolab,dc=ddol,dc=es" uid=cyrus-admin
> >> dn: uid=cyrus-admin,ou=Special Users,dc=kolab,dc=ddol,dc=es
> >> sn: Administrator
> >> uid: cyrus-admin
> >> objectClass: top
> >> objectClass: person
> >> objectClass: inetorgperson
> >> objectClass: organizationalperson
> >> givenName: Cyrus
> >> cn: Cyrus Administrator
> >>
> >> But when I try to use the imap.conf filter it fails. I've seen that
> >> imap.conf filter look for "objectclass=kolabinetorgperson" but this object
> >> is not associated to user kolab-service. The object associated is
> >> "objectClass=inetorgperson".
> >>
> >> anyway, I've change filter in imap.conf but it's still not working.
> >>
> >> Can any one help me?
> >>
> >> Manel
> >>
> >> _______________________________________________ Kolab-devel mailing list
> >> Kolab-devel at kolab.org https://www.intevation.de/mailman/listinfo/kolab-devel
> >>
> >> _______________________________________________
> >> Kolab-devel mailing list
> >> Kolab-devel at kolab.org
> >> https://www.intevation.de/mailman/listinfo/kolab-devel
> 
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://www.intevation.de/mailman/listinfo/kolab-devel
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/devel/attachments/20130627/1ba491a6/attachment.html>


More information about the devel mailing list