欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

User authentication with Drupal 6.x database

Forum rules
ownCloud 5.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.
 
sshtmc
Newbie
Posts: 1
Joined: Thu Sep 20, 2012 11:18 am

User authentication with Drupal 6.x database

  •  

Postby sshtmc » Thu Sep 20, 2012 11:25 am

Hi to all,

we needed to authenticate ownCloud users using Drupal 6.x database, so I created an app which performs the authentications.
I have put the source code to https://github.com/sshtmc/owncloud-user-drupal
I'm not sure of the official process to register the app on the main website.
 
Willynux
Newbie
Posts: 1
Joined: Sat May 25, 2013 7:10 pm
ownCloud version: 5.0.6
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.4

Re: User authentication with Drupal 6.x database

  •  

Postby Willynux » Sat May 25, 2013 7:15 pm

Can you provide instructions to use your code? Couldn't find here, nor GitHub nor in the source code.
And while I'm at it, is there any plan to port to D7?
Thx
 
RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: User authentication with Drupal 6.x database

  •  

Postby RealRancor » Sat May 25, 2013 7:58 pm

Hi,

seems that this is just a "normal" app so just copy the "user_drupal" folder to your /apps/ directory and enable this app in your Apps settings. Beware that it could be possible that this app is not compatible with OC5.
*gone*
 
fraksken
Beginner
Posts: 21
Joined: Fri Aug 30, 2013 9:03 pm
ownCloud version: 7.0.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4

Re: User authentication with Drupal 6.x database

  •  

Postby fraksken » Fri Aug 30, 2013 9:05 pm

Hello,

Would it be possible to update this app? I would really be fond of it.
I'm certainly getting this error:
Declaration of OC_User_drupal::getUsers() must be compatible with OC_User_Interface::getUsers($search = '', $limit = NULL, $offset = NULL) at /var/www/owncloud/apps/user_drupal/user_drupal.php#131


Thanks!


EDIT:
---
The file js/settings.php calls file ajax/drupal.php.
Though the file ajax/drupal.php does not exist.
   

 
  • SIMILAR TOPICS
     
    REPLIES
    VIEWS
    LAST POST

Return to “ownCloud Community Edition 5.x and older”

WHO IS ONLINE

Users browsing this forum: Yahoo [Bot] and 3 guests


来自  https://forum.owncloud.org/viewtopic.php?t=3832


普通分类: