Apps
Knowledge
People
Register
Login


-
- Content .- Fans (4) .- Knowledge Base (4) . 

user_joomla_auth

   0.5.1  

ownCloud Tool

Score 50%
user_joomla_auth
zoom


Minimum required   ownCloud 5
Maximum required   ownCloud 6
Downloads:  1041
Submitted:  Mar 5 2014
Updated:  Mar 21 2014

Description:

Joomla Authentication Backend
The Joomla Authentication Backend is a user authentication against a Joomla user database. To define which Joomla user can login into the owncloud you need to create on the Joomla side a user group and assign the user to this group. On the ownCloud side the user group needs to be defined in the Joomla Authentication Backend configuration.

Features:
  • authentication with Joomla username and password

  • Use Joomla usernames for ownCloud login names

  • Update ownCloud display names using Joomla names

  • Update ownCloud emails using Joomla emails

  • Access control by Joomla group

  • Has been tested with Joomla 2.5





  • Changelog:

    Version 0.5.1
  • Bugfix release


  • Version 0.5
  • Has been tested with Joomla 2.5




  • LicenseAGPL
    All Versions
    Send to a friend
    Subscribe
    Other  Apps  from EcW
    Report inappropriate content



    goto page: prev   1  2 

    -

     Some progress...

     
     by Hammerhead on: Sep 26 2014
     
    Score 50%

    I finally got the app to show the login parameter form in Admin by changing the folder name as suggested above, but unfortunately the app does not seem to pick up user data from Joomla v.3 as yet, so there's no synchronization of users at this time. Hoping there's a new iteration of this app forthcoming.


    Reply to this

    -

     phpass supprt required

     
     by markjansennl on: Oct 12 2014
     
    Score 50%

    This would be a great extension... however, Joomla uses phpass ever since version 2.5.x (don't remeber the x anymore).

    I've taken a look in the source code and I've seen that your code still is based on the previous md5 hashing.

    Your updated code should contain something like this (though I havn't figured out your code to know where to put this):

    Quote:

    include 'phpass-0.3/PasswordHash.php';
    $phpass = new PasswordHash(10, true);
    if($phpass->CheckPassword($entered_pwd, $db_password)){ echo "correct;}
    else { echo "incorrect";}


    Perhaps this is of any help in updating the code?

    Many thanks for any new version.


    Reply to this

    -
    .

     almost there

     
     by markjansennl on: Oct 18 2014
     
    Score 50%

    I think I became close too making this plug-in fit for Joomla 2.5x and above, however.... not entirely.

    In the file 'user_joomla_auth.php' I changed to following lines:
    Quote:

    $hashparts = explode (':' , $row->password);
    $userhash = md5($password.$hashparts[1]);
    if($hashparts[0]==$userhash)


    to this:

    Quote:

    $phpass_joomla = new PasswordHash(10, true);
    if($phpass_joomla->CheckPassword($password, $row->password))


    This seems to work in the sense that my Joomla 2.5x user gets:
    - anything but an error message when entering the Joomla password (which is a sign of recognizing the password);
    - a redirect URL in the URL after the log-in screen;
    - created in the ownCloud user table (though not in the ownCloud user interface);
    - gets inserted in the ownCloud group table for Joomla users (though not visible in the user interface);

    However, what it doesn't get is:
    - logged in to the system :-(
    - visible in the back-end as a new user;

    The back-end contains the following error:
    Quote:

    Debug webdav Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found


    So apparently, something goes wrong in actually creating the user and/or in logging in the user.

    The thing is, I'm no expert on ownCloud code. Perhaps anyone here can be of assistence to see what's the final step in this puzzle?

    Many thanks!


    Reply to this

    -

     Re: almost there

     
     by iak on: Oct 31 2014
     
    Score 50%

    Solved this.

    Change the hook to be pre_login insted of post_login

    This needs to be changed in /lib/hooks.php and in /appinfo/app.php

    Now the login works.

    Had also problem with Swedish chracters ÅÄÖ in display name until I added mysql_set_charset('utf8'); before the last return in the function getDbResource()


    Reply to this

    -

     other extension for Joomla

     
     by markjansennl on: Oct 21 2014
     
    Score 50%

    I was able to get Joomla authentication up and running via another extension:
    http://apps.owncloud.com/content/show.php/user_sql?content=155512

    See my comments on that page


    Reply to this

    goto page: prev   1  2 

    Add commentBack




    -
     
     Who we are
    Contact
    Register
    Explore
    Apps
    Knowledge
    People
    Participate
    Add App
    Public API
    About apps.ownCloud.com
    Legal Notice
    Report Abuse
     

    Copyright 2011-2016 apps.ownCloud.com Team  
    All rights reserved. apps.ownCloud.com is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.