You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Name | Description | Details
63
63
**Email sync** | Sync e-mail address with the Nextcloud.<br/>- *None* - Disables this feature. This is the default option.<br/>- *Synchronise only once* - Copy the e-mail address to the Nextcloud preferences if its not set.<br/>- *Nextcloud always wins* - Always copy the e-mail address to the database. This updates the user table.<br/>- *SQL always wins* - Always copy the e-mail address to the Nextcloud preferences. | Optional.<br/>Default: *None*.<br/>Requires: user *Email* column.
64
64
**Quota sync** | Sync user quota with the Nextcloud.<br/>- *None* - Disables this feature. This is the default option.<br/>- *Synchronise only once* - Copy the user quota to the Nextcloud preferences if its not set.<br/>- *Nextcloud always wins* - Always copy the user quota to the database. This updates the user table.<br/>- *SQL always wins* - Always copy the user quota to the Nextcloud preferences. | Optional.<br/>Default: *None*.<br/>Requires: user *Quota* column.
65
65
**Home mode** | User storage path.<br/>- *Default* - Let the Nextcloud manage this. The default option.<br/>- *Query* - Use location from the user table pointed by the *home* column.<br/>- *Static* - Use static location pointed by the *Home Location* option. | Optional<br/>Default: *Default*.
66
-
**Home location** | User storage path for the `Static`*Home mode*. The `%u` variable is replaced with the username of the user. | Mandatory if the *Home mode* is set to `Static`.
66
+
**Home location** | User storage path for the `Static`*Home mode*. The `%u` variable is replaced with the uid of the user. | Mandatory if the *Home mode* is set to `Static`.
67
67
**Default group** | Default group for all 'User SQL' users. | Optional.
68
68
69
69
#### User table
@@ -74,7 +74,7 @@ Name | Description | Details
74
74
--- | --- | ---
75
75
**Table name** | The table name. | Mandatory for user backend.
76
76
**UID** | User ID column. | Mandatory for user backend.
77
-
**Username** | Username column. | Optional.
77
+
**Username** | Username column which is used **only** for password verification. | Optional. If unsure leave it blank and use only the `uid` column.
78
78
**Email** | E-mail column. | Mandatory for *Email sync* option.
79
79
**Quota** | Quota column. | Mandatory for *Quota sync* option.
80
80
**Home** | Home path column. | Mandatory for `Query`*Home sync* option.
@@ -120,12 +120,15 @@ For all options to work three tables are required:
120
120
If you already have an existing database you can always create database views which fits this model,
121
121
but be aware that some functionalities requires data changes (update queries).
122
122
123
-
If you don't have any database model yet you can use below tables (MySQL):
123
+
If you don't have any database model yet you can use below tables
124
+
(MySQL). Please note that the optional `username` above really is only
125
+
used for password matching and defaults to be equal to the `uid`
126
+
column. You also may want to compare with the `oc_users` and
0 commit comments