diff --git a/admin_manual/configuration_files/external_storage/smb.rst b/admin_manual/configuration_files/external_storage/smb.rst index 8bf624cfb..f6be278be 100644 --- a/admin_manual/configuration_files/external_storage/smb.rst +++ b/admin_manual/configuration_files/external_storage/smb.rst @@ -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.