diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-30 18:54:13 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-07-04 12:34:20 +0300 |
commit | 07a98d66f185f6164f010d1a506465c1632263a3 (patch) | |
tree | 4de95414492c37111d62c50173c269ca05dc1c06 /appinfo | |
parent | 755c51997fc3090b31b861bb8fe861e6acd96d28 (diff) |
Add Shibboleth users to DB
So search etc. works fine
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 1 | ||||
-rw-r--r-- | appinfo/database.xml | 21 | ||||
-rw-r--r-- | appinfo/info.xml | 2 |
3 files changed, 22 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 2768594f..5f45f7a3 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -34,7 +34,6 @@ $samlSettings = new \OCA\User_SAML\SAMLSettings( $userBackend = new \OCA\User_SAML\UserBackend( \OC::$server->getConfig(), - \OC::$server->getLogger(), \OC::$server->getURLGenerator(), \OC::$server->getSession(), \OC::$server->getDb() diff --git a/appinfo/database.xml b/appinfo/database.xml index 35f47aed..b370a829 100644 --- a/appinfo/database.xml +++ b/appinfo/database.xml @@ -7,6 +7,27 @@ <charset>utf8</charset> <table> + <name>*dbprefix*user_saml_users</name> + <declaration> + <field> + <name>uid</name> + <type>text</type> + <default></default> + <notnull>true</notnull> + <length>64</length> + </field> + + <field> + <name>displayname</name> + <type>text</type> + <default></default> + <notnull>true</notnull> + <length>255</length> + </field> + </declaration> + </table> + + <table> <!-- Copied table from core: Nextcloud 9 does not support application specific passwords and so we --> <name>*dbprefix*user_saml_auth_token</name> diff --git a/appinfo/info.xml b/appinfo/info.xml index 0ccbb154..1afdd429 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ <description>Authenticates user against a SAML backend, such as Shibboleth.</description> <licence>AGPL</licence> <author>Nextcloud</author> - <version>1.0.0</version> + <version>1.0.1</version> <dependencies> <owncloud min-version="9.0" max-version="9.0" /> </dependencies> |