Re: [RCU] Feature Request: Independent owncloud plugin

2012-09-17 Thread A.L.E.C
On 09/16/2012 07:07 PM, Tobias Hachmer wrote:

 Is here anybody who knows how to get the auto-authentication working?
 (with same user credentials used for roundcube(imap) login)

As I know authentication against IMAP was planned for ownCloud 4.5. So,
if they implemented it, an integration with Roundcube should be quite
simple now.

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] Feature Request: Independent owncloud plugin

2012-09-17 Thread Tobias Hachmer

Am 17.09.2012 11:41, schrieb A.L.E.C:

On 09/16/2012 07:07 PM, Tobias Hachmer wrote:
Is here anybody who knows how to get the auto-authentication 
working?

(with same user credentials used for roundcube(imap) login)


As I know authentication against IMAP was planned for ownCloud 4.5. 
So,

if they implemented it, an integration with Roundcube should be quite
simple now.


Thanks A.L.E.C for your response! The Feature list on github doesn't 
list this feature. 
(https://github.com/owncloud/core/wiki/ownCloud-4.5-Features)


I'm interested in how the owncloud authentication works when using this 
plugin with kolab. What kind of authentication is used in combination 
with kolab and why the authentication doesn#T work with my 
modifications?


For now in my test setup I have setup rouncube and owncloud. Roundcube 
is using imap authentication (dovecot uses ldap authentication). 
Owncloud is using integrated ldap authentication. The usernames and 
passwords are the same for roundcube and owncloud login.


Regards,
Tobias Hachmer
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] Feature Request: Independent owncloud plugin

2012-09-17 Thread A.L.E.C
On 09/17/2012 12:10 PM, Tobias Hachmer wrote:

 What kind of modification does the owncloud plugin need if the new
 owncloud release will support imap authentication?

I don't know. The plugin was written for some pre-4.0 version of
ownCloud, so a lot of things might have changed. I didn't check yet how
the new auth possibilities in ownCloud look like.

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] Feature Request: Independent owncloud plugin

2012-09-16 Thread Tobias Hachmer

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


Re: [RCU] Feature Request: Independent owncloud plugin

2012-09-10 Thread Tobias Hachmer

Am 10.09.2012 13:21, schrieb Torsten Grote:

On Friday 07 September 2012 19:31:06 Tobias Hachmer wrote:

Just to make the owncloud plugin useable for people don't running
kolab.


There's still people not running Kolab? ;)


:-))

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!


Thanks in advance,
Tobias Hachmer
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] Feature Request: Independent owncloud plugin

2012-09-10 Thread Benny Pedersen

Den 2012-09-10 13:21, Torsten Grote skrev:

On Friday 07 September 2012 19:31:06 Tobias Hachmer wrote:

Just to make the owncloud plugin useable for people don't running
kolab.

There's still people not running Kolab? ;)


or complete mailserver solution on android phones ?


___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users