mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #652 from nextcloud/smb-notify-document-auth
Extra documentation for smb update notification with user provided auth
This commit is contained in:
@@ -72,6 +72,16 @@ passing the ``-v`` option to the command.
|
||||
SMB authentication
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
In some cases (such as when using login credentials) it's not possible to read the
|
||||
smb credentials from the storage configuration, in those cases you can provide
|
||||
the username and password using the ``--username`` and ``--password`` arguments.
|
||||
Update notifications are not supported when using 'Login credentials, save in session' authentication.
|
||||
Using login credentials is only supported with 'Login credentials, save in database'.
|
||||
|
||||
Even when using 'Login credentials, save in database' or 'User entered, stored in database' authentication the notify process
|
||||
can not use the credentials saved to attach to the smb shares because the notify process does not run in the context of a specific user
|
||||
in those cases you can provide the username and password using the ``--username`` and ``--password`` arguments.
|
||||
|
||||
Decrease sync delay
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Any updates detected by the notify command will only be synced to the client after the Nextcloud cron job has been executed
|
||||
(usually every 15 minutes). If this interval is to high for your use case, you can decrease it by running ``occ files:scan --unscanned --all``
|
||||
at the desired interval. Note that this might increase the server load and you'll need to ensure that there is no overlap between runs.
|
||||
|
||||
Reference in New Issue
Block a user