[Owncloud] Troubles with FTP user authentication backend

peter at chubb.wattle.id.au peter at chubb.wattle.id.au
Fri Dec 28 06:36:54 UTC 2012


I was using user_pwauth, but that seems not to work with the latest
owncloud (4.5.5) so I switched to FTP.

This sort of works --- I can log in via the web interface.  But admin
users cannot see the full list of users, to put them into groups.

And webdav,  caldav and carddav syncing do not work,

In the log is:
   User backend OC_User_FTP not found.

I've added this into the $CONFIG array:

 'user_backends'=>array(
	array(
	'class'=>'OC_User_FTP',
	'arguments'=>array('localhost')
	)
   ),

I suspect that this is because the external user backend doesn't get
loaded because remote.php sets $RUNTIME_NOAPPS.  The appended patch is
probably wrong, but it allows me to mount via webdav, and sync caldav
and carddav accounts.



Index: owncloud/remote.php
===================================================================
--- owncloud.orig/remote.php	2012-12-28 17:34:50.707845061 +1100
+++ owncloud/remote.php	2012-12-28 17:35:04.478561532 +1100
@@ -1,5 +1,5 @@
 <?php
-$RUNTIME_NOAPPS = TRUE;
+#$RUNTIME_NOAPPS = TRUE;
 require_once 'lib/base.php';
 $path_info = OC_Request::getPathInfo();
 if ($path_info === false || $path_info === '') {



More information about the Owncloud mailing list