Sharing of External Storage (SMB) folder - no share icon

I'm trying to reshare an external storage folder which is mounted to a SMB (samba) server. I am able to access the folder as my own user but when trying to share, it simply says "resharing is not allowed".

I have enabled sharing of the external storage folder by clicking on the gear and selecting 'enable sharing'.

What else do I need todo?

Ian.

Forgot to mention, I am on version 9.1.1.

<?php
$CONFIG = array (
'instanceid' => 'XXXXXXXXXX',
'passwordsalt' => 'XXXXXXXXXX',
'secret' => 'XXXXXXXXXXXXXXXXX',
'trusted_domains' =>
array (
0 => 'xxxxxxxxx',
1 => 'xxxxxxxxxxxxxx',
),
'datadirectory' => '/var/www/owncloud/data',
'overwrite.cli.url' => 'xxxxxxxxxxxxxxxxxxxxxxxx',
'dbtype' => 'mysql',
'version' => '9.1.1.3',
'dbname' => 'owncloud',
'dbhost' => 'XXXXXXXXX:3306',
'dbtableprefix' => 'oc_',
'dbuser' => 'XXXXXXXXX',
'dbpassword' => 'XXXXXXXXXXXXXXXXXXXXXX',
'logtimezone' => 'UTC',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_from_address' => 'cloud-admin',
'mail_domain' => 'XXXXXXXXXXXXXXXX',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'xxxxxxxxxxxxxxxxxx',
'mail_smtpport' => '465',
'mail_smtpname' => 'xxxxxxxxxxxxx',
'mail_smtppassword' => 'xxxxxxxxxxxxxxx',
'mail_smtpsecure' => 'ssl',
);

You can allow resharing via the admin-page. Did you set up the external storage via admin-page or the user's personal page?

My bad, I forgot I didn't attach the screenshot.

I did it from the admin panel and have RTFM.

Ian.

I also clicked on the 'gear' icon and selected enabled sharing in admin panel. No change.

Hi,

the configuration looks good so please report a new bug to: https://github.com/owncloud/core/issues

Ahhh, forget it. No need to report a bug:

The drawbacks are that sharing is disabled when this mechanism is in use, as
ownCloud has no access to the storage credentials

https://doc.owncloud.org/server/latest/admin_manual/configuration_files/external_storage/auth_mechanisms.html#password-based-mechanisms

I'm attempting to do the same thing, the doc that you posted says:

There is a workaround that allows background file scanning when using Log-in credentials, save in session, and that is using Ajax cron mode. (See Defining Background Jobs.) Be aware that the Ajax cron mode is triggered by browsing the ownCloud Web GUI.

I read that enabling Ajax is a workaround for being able to share files, while using save in session credentials. Does this not work anymore?