Hi all,
First post!
I am looking for any pointers into an issue iâm having with Privacyidea and
Owncloud. I have configured my Privacyidea server to point to my owncloud
realm and that passes the test successfully. I have generated tokens for
the users âsucked inâ from owncloud, and tested these and they work also.
Ive installed the owncloud âuser_privacyideaâ app and configured it to
point to my PrivacyIDEA server and also disabled âcheck SSLâ, however
whenever i try and authenticate my test user against privacyidea it fails.
After speaking with Cornelius over email last night, I enabled debug in
owncloud and tested again and now i can see the following in the
owncloud.log:
{âreqIdâ:âVo5STH8AAQEAAGnQg3cAAAAsâ,âremoteAddrâ:â134.225.2.12â,âappâ:âuser_privacyideaâ,âmessageâ:âprivacyIDEA
is disabled: â,âlevelâ:0,âtimeâ:âJanuary 07, 2016
11:55:56â,âmethodâ:âPROPFINDâ,âurlâ:â/remote.php/webdav/â}
{âreqIdâ:âKtQbrb9wy1MxVwGwfzEqâ,âremoteAddrâ:"",âappâ:âuser_privacyideaâ,âmessageâ:âprivacyIDEA
is disabled: â,âlevelâ:0,âtimeâ:âJanuary 07, 2016
11:56:21â,âmethodâ:âââ,âurlâ:"â"}
{âreqIdâ:âVSgwPMcwd3oQDlTySNi0â,âremoteAddrâ:"",âappâ:âuser_privacyideaâ,âmessageâ:âprivacyIDEA
is disabled: â,âlevelâ:0,âtimeâ:âJanuary 07, 2016
11:56:31â,âmethodâ:âââ,âurlâ:"â"}
{âreqIdâ:âpAdy8rexqxL0Qed110lsâ,âremoteAddrâ:"",âappâ:âuser_privacyideaâ,âmessageâ:âprivacyIDEA
is disabled: â,âlevelâ:0,âtimeâ:âJanuary 07, 2016
11:57:49â,âmethodâ:âââ,âurlâ:"â"}
{âreqIdâ:âIqOmouxSF1+qTwakMysWâ,âremoteAddrâ:"",âappâ:âuser_privacyideaâ,âmessageâ:âprivacyIDEA
is disabled: â,âlevelâ:0,âtimeâ:âJanuary 07, 2016
11:58:03â,âmethodâ:âââ,âurlâ:"â"}
{âreqIdâ:ânStAedMfOmaKZAq+e9Aeâ,âremoteAddrâ:"",âappâ:âuser_privacyideaâ,âmessageâ:âprivacyIDEA
is disabled: â,âlevelâ:0,âtimeâ:âJanuary 07, 2016
11:58:08â,âmethodâ:âââ,âurlâ:"â"}
{âreqIdâ:âbInKSBNyYiI7Jtl4h4hQâ,âremoteAddrâ:"",âappâ:âuser_privacyideaâ,âmessageâ:âprivacyIDEA
is disabled: â,âlevelâ:0,âtimeâ:âJanuary 07, 2016
11:58:11â,âmethodâ:âââ,âurlâ:"â"}
Which is perplexing. I have enabled it again via the command line using the
owncloud âoccâ tool (and same issue):
root@server:/var/www/owncloud# sudo -u www-data php occ app:disable
user_privacyidea
user_privacyidea disabled
root@server:/var/www/owncloud# sudo -u www-data php occ app:enable
user_privacyidea
user_privacyidea enabled
I have also used a âcheck-codeâ option within occ which has flagged some
items:
root@server:/var/www/owncloud# sudo -u www-data php occ app:check-code
user_privacyidea
Analysing /var/www/owncloud/apps/user_privacyidea/appinfo/app.php
4 errors
line 6: OCP\Config - Static method of deprecated class must not be
called
line 11: OC_User - Static method of private class must not be called
line 12: OC_User - Static method of private class must not be called
line 17: OC_User - Static method of private class must not be called
Analysing /var/www/owncloud/apps/user_privacyidea/adminSettings.php
1 errors
line 29: OC_Util - Static method of private class must not be called
Analysing /var/www/owncloud/apps/user_privacyidea/lib/otp_privacyidea.php
6 errors
line 174: OCP\Config - Static method of deprecated class must not be
called
line 193: OCP\Config - Static method of deprecated class must not be
called
line 195: OCP\Config - Static method of deprecated class must not be
called
line 196: OCP\Config - Static method of deprecated class must not be
called
line 200: OCP\Config - Static method of deprecated class must not be
called
line 201: OCP\Config - Static method of deprecated class must not be
called
Deprecated field available: shipped => false
Migrate the app version to appinfo/info.xml (add 0.2 to
appinfo/info.xml and remove appinfo/version)
App is not compliant
root@server:/var/www/owncloud#
Has anyone experienced this issue? Im pulling my hair out trying to think
of where to look next.
Cheers,
Sam
@vcolonel