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

Manel Gimeno Zaragozá magiza83 at hotmail.com
Fri Jun 14 09:56:34 CEST 2013


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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/devel/attachments/20130614/0d013947/attachment.html>


More information about the devel mailing list