Hello list,
I have noticed that an owncloud plugin exists which uses kolab auth: http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/owncloud
It would be great if someone could provide this owncloud plugin which uses the current logged in username with the password and authenticates against owncloud. Just to make the owncloud plugin useable for people don't running kolab.
Thanks in advance, 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
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
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.
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
On 09/17/2012 11:56 AM, Tobias Hachmer wrote:
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?
It uses HTTP basic authentication. So in Apache we have something like this:
AuthType Basic AuthBasicProvider ldap AuthLDAPUrl ldap://ldap.klab.cc/ou=People,dc=klab,dc=cc?uid?sub?(uid=*) AuthLDAPBindDN "uid=kolab-service,ou=Special Users,dc=klab,dc=cc" AuthLDAPBindPassword pass AuthzLDAPAuthoritative on AuthLDAPGroupAttribute uniqueMember AuthLDAPGroupAttributeIsDN on AuthName "Valid Credentials and Sufficient Privileges Required" Require valid-user
Because at a time the plugin was written it was the only possible way to send credentials from Roundcube to ownCloud frame. I don't know if the situation is better now.
Am 17.09.2012 12:03, schrieb A.L.E.C:
On 09/17/2012 11:56 AM, Tobias Hachmer wrote:
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?
It uses HTTP basic authentication. So in Apache we have something like this:
AuthType Basic AuthBasicProvider ldap AuthLDAPUrl ldap://ldap.klab.cc/ou=People,dc=klab,dc=cc?uid?sub?(uid=*) AuthLDAPBindDN "uid=kolab-service,ou=Special Users,dc=klab,dc=cc" AuthLDAPBindPassword pass AuthzLDAPAuthoritative on AuthLDAPGroupAttribute uniqueMember AuthLDAPGroupAttributeIsDN on AuthName "Valid Credentials and Sufficient Privileges Required" Require valid-user
Because at a time the plugin was written it was the only possible way to send credentials from Roundcube to ownCloud frame. I don't know if the situation is better now.
Ahhh, for me the situation is much better now because with this informations I can get this plugin working. Thank you very much!
What kind of modification does the owncloud plugin need if the new owncloud release will support imap authentication?
Regards, Tobias Hachmer
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.