Am 10.09.2012 15:24, schrieb Tobias Hachmer:
Honestly, is someone able to patch this plugin to use native imap
authentication or ldap_auth.
I have seen this plugin uses the plugin kolab_auth. Can I use this
plugin and configure it to authenticate against a non kolab openldap
server? This would be a great workaround!
For now did the following modifications to owncloud.php:
--- a/owncloud.php 2012-09-16 18:59:22.962792771 +0200
+++ b/owncloud.php 2012-09-16 19:01:52.284938898 +0200
@@ -21,15 +21,10 @@
function init()
{
$rcmail = rcmail::get_instance();
- // requires kolab_auth plugin
- if (empty($_SESSION['kolab_uid'])) {
- return;
- }
-
$this->add_texts('localization/', false);
// register task
$this->register_task('owncloud');
@@ -64,11 +59,11 @@
$rcmail = rcmail::get_instance();
$this->load_config();
$src = $rcmail->config->get('owncloud_url');
- $user = $_SESSION['kolab_uid']; // requires kolab_auth plugin
+ $user = $_SESSION['username'];
$pass = $rcmail->decrypt($_SESSION['password']);
$src = preg_replace('/^(https?:\/\/)/',
'\\1' . urlencode($user) . ':' . urlencode($pass) . '@',
$src);
I see now by clicking on "Files" the owncloud login page. The
auto-authentication did not work for now.
Is here anybody who knows how to get the auto-authentication working?
(with same user credentials used for roundcube(imap) login)
Thanks in advance,
Tobias Hachmer
_______________________________________________
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users