Problem with auto-auth on roundcube+owncloud Plugin

Ricardo Rios shorewall at malargue.gov.ar
Sat Apr 27 01:39:39 CEST 2013


 

Hi all, i have problem trying to make auto-auth on
roundcube+owncloud works with the plugin from the git. 

What i have :


Roundcube version : 0.9.0 

Owncloud version : 5.0.5 with MySQL


Plugin : roundcubemail-plugins-kolab-master 

I have boths auths
working with IMAP, i am sure is working since i log in into webmail with
a valid user with or without @domain, and same with owncloud, also in
owncloud i am using a imap.php witch creates new users and group on
first login. 

The problem is when i log in in roundcube, and i go to
owncloud "File", i get the login screen from owncloud, checking logs i
can see the key exchange is happening but ownclound ignore it or
something : 

[26/Apr/2013:19:15:55 -0300] "GET
/owncloud/?kolab_auth=iNTM4EzNmZTZlVjY4czYjNWNiBjMxEDO4IzM3IGZjBTPuV2avRnJkl2czV2cfVmY1NGZuV3by1TZtFmbjZCOxtWYy42bkhGOwQDZ0NDay4WN5UXbr1WZvFzcwFDaw0jbvl2czV2c
HTTP/1.1" 200 102 

Configs from roundcube and owncloud


---------------------------------------------------------------------------


<?php
$CONFIG = array (
 'instanceid' => '517xxxxxxxxfbea',

'passwordsalt' => '2cd61d5309xxxxxxxxxx520e4cd',
 'datadirectory' =>
'/srv/www/owncloud/owncloud/data',
 'dbtype' => 'mysql',
 'version' =>
'5.0.6',
 'dbname' => 'owncloud',
 'dbhost' => 'localhost',

'dbtableprefix' => 'oc_',
 'dbuser' => 'xxx',
 'dbpassword' => 'xxx',

'installed' => true,
 'theme' => 'kolab',
 'kolaburl' =>
'https://xxxxx.domain:10036/webmail/',
 'kolabsecret' =>
'followthewhiterabbit',


require_once(dirname(__FILE__).'/../apps/user_external/lib/imap.php'),

'user_backends' => 
 array (
 0 =>
 array (
 'class' =>
'OC_User_IMAP',
 'arguments' => 
 array (
 0 =>
'{xxxx.domain:143/imap/notls}INBOX',
 ),
 ),
 ), 

);


-------------------------------------------------------------------------------------------------------------


<?php 

// ownCloud URL
$rcmail_config['owncloud_url'] =
'https://xxxx.domain:10036/owncloud/'; 

// authentication exchange
secret
// has to be the same as the value for 'kolabsecret' in owncloud
config
$rcmail_config['owncloud_secret'] = 'followthewhiterabbit';


--------------------------------------------------------------------------------------------------------


What i am doing wrong ? 

Regards 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20130426/1ea45a11/attachment.html>


More information about the users mailing list