nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.15k stars 4.03k forks source link

Can't share files on CIFS external storage #6598

Closed r3pek closed 4 years ago

r3pek commented 7 years ago
### Steps to reproduce 1. Create a CIFS external storage 2. Put some files in it 3. Try to share them ### Expected behaviour Sharing should be allowed ### Actual behaviour Message showing "Resharing not allowed" Some screenshots showing the problem: ![image](https://user-images.githubusercontent.com/3050556/30689917-71268e2e-9eba-11e7-96b0-a37b65d0aa46.png) ![image](https://user-images.githubusercontent.com/3050556/30689936-7e35105e-9eba-11e7-97bd-f7ac45ad843f.png) ![image](https://user-images.githubusercontent.com/3050556/30689955-87fce63e-9eba-11e7-94dc-5a16ce186994.png) ### Server configuration **Operating system**: CentOS 7.4 **Web server:** Apache 2.4.6 **Database:** MariaDB 5.5.56 **PHP version:** 5.6.25 **Nextcloud version:** 12.0.3 **Updated from an older Nextcloud/ownCloud or fresh install:** Updated from 11.0.3 **Where did you install Nextcloud from:** Downloaded from site in the first install **Signing status:**
Signing status ``` No errors have been found. ```
**List of activated apps:**
App list ``` Enabled: - activity: 2.5.2 - admin_audit: 1.2.0 - bookmarks: 0.10.1 - bruteforcesettings: 1.0.2 - calendar: 1.5.4 - comments: 1.2.0 - contacts: 1.5.3 - dav: 1.3.0 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_external: 1.3.0 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - news: 11.0.5 - nextcloud_announcements: 1.1 - notes: 2.3.1 - notifications: 2.0.0 - oauth2: 1.0.5 - ocsms: 1.12.1 - passman: 2.1.4 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - qownnotesapi: 17.5.0 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - survey_client: 1.0.0 - systemtags: 1.2.0 - tasks: 0.9.5 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - twofactor_totp: 1.3.1 - updatenotification: 1.2.0 - user_ldap: 1.2.1 - workflowengine: 1.2.0 Disabled: - encryption - user_external ```
**Nextcloud configuration:**
Config report ``` { "system": { "instanceid": "ocg4w2lbke5t", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.r3pek.org" ], "datadirectory": "\/var\/www\/cloud.r3pek.org\/data", "overwrite.cli.url": "https:\/\/cloud.r3pek.org", "dbtype": "mysql", "version": "12.0.3.1", "dbname": "cloud", "dbhost": "localhost", "dbtableprefix": "", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "Europe\/Lisbon", "installed": true, "appstore.experimental.enabled": true, "maintenance": false, "loglevel": 2, "htaccess.RewriteBase": "\/", "theme": "", "quota_include_external_storage": "false", "updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/", "updater.release.channel": "stable", "ldapIgnoreNamingRules": false, "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory", "updater.secret": "***REMOVED SENSITIVE VALUE***" }, "apps": { "activity": { "enabled": "yes", "installed_version": "2.5.2", "types": "filesystem" }, "admin_audit": { "enabled": "yes", "installed_version": "1.2.0", "types": "logging" }, "admin_migrate": { "enabled": "no", "installed_version": "0.1", "types": "" }, "backgroundjob": { "lastjob": "126" }, "bookmarks": { "enabled": "yes", "installed_version": "0.10.1", "types": "" }, "bruteforcesettings": { "enabled": "yes", "installed_version": "1.0.2", "types": "" }, "calendar": { "enabled": "yes", "installed_version": "1.5.4", "ocsid": "168707", "types": "" }, "comments": { "enabled": "yes", "installed_version": "1.2.0", "types": "logging" }, "contacts": { "enabled": "yes", "installed_version": "1.5.3", "ocsid": "168708", "types": "" }, "core": { "backgroundjobs_mode": "cron", "installed.bundles": "[\"CoreBundle\"]", "installedat": "1459363941.5747", "lastcron": "1505578538", "lastupdatedat": "1505577744", "lastupdateResult": "[]", "moveavatarsdone": "yes", "OC_Channel": "beta", "oc.integritycheck.checker": "[]", "previewsCleanedUp": "1", "public_files": "files_sharing\/public.php", "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", "remote_caldav": "dav\/appinfo\/v1\/caldav.php", "remote_calendar": "dav\/appinfo\/v1\/caldav.php", "remote_carddav": "dav\/appinfo\/v1\/carddav.php", "remote_contacts": "dav\/appinfo\/v1\/carddav.php", "remote_dav": "dav\/appinfo\/v2\/remote.php", "remote_files": "dav\/appinfo\/v1\/webdav.php", "remote_webdav": "dav\/appinfo\/v1\/webdav.php", "repairlegacystoragesdone": "yes", "scss.variables": "626e4e90ec15a7775959dc97604068d3", "shareapi_allow_resharing": "yes", "shareapi_default_expire_date": "yes", "shareapi_exclude_groups": "no", "shareapi_exclude_groups_list": "[\"\"]", "shareapi_expire_after_n_days": "1", "updater.secret.created": "1505513881", "vendor": "nextcloud" }, "dav": { "buildCalendarSearchIndex": "yes", "enabled": "yes", "installed_version": "1.3.0", "OCA\\DAV\\Migration\\ValueFixInsert_ran": "true", "types": "filesystem" }, "direct_menu": { "enabled": "no", "installed_version": "0.10.2", "ocsid": "169148", "types": "" }, "external": { "enabled": "no", "installed_version": "", "ocsid": "166046", "types": "" }, "federatedfilesharing": { "enabled": "yes", "installed_version": "1.2.0", "types": "" }, "federation": { "enabled": "yes", "installed_version": "1.2.0", "types": "authentication" }, "files": { "cronjob_scan_files": "500", "enabled": "yes", "installed_version": "1.7.2", "types": "filesystem" }, "files_accesscontrol": { "enabled": "no", "installed_version": "1.1.2", "types": "filesystem" }, "files_automatedtagging": { "enabled": "no", "installed_version": "1.1.1", "types": "filesystem" }, "files_external": { "enabled": "yes", "installed_version": "1.3.0", "ocsid": "166048", "types": "filesystem" }, "files_mv": { "enabled": "no", "installed_version": "0.8.2", "ocsid": "150271", "types": "filesystem" }, "files_odfviewer": { "enabled": "no", "installed_version": "0.1", "types": "" }, "files_pdfviewer": { "enabled": "yes", "installed_version": "1.1.1", "ocsid": "166049", "types": "" }, "files_sharing": { "enabled": "yes", "installed_version": "1.4.0", "types": "filesystem" }, "files_texteditor": { "enabled": "yes", "installed_version": "2.4.1", "ocsid": "166051", "types": "" }, "files_trashbin": { "enabled": "yes", "installed_version": "1.2.0", "types": "filesystem" }, "files_versions": { "enabled": "yes", "installed_version": "1.5.0", "types": "filesystem" }, "files_videoplayer": { "enabled": "yes", "installed_version": "1.1.0", "types": "" }, "files_videoviewer": { "enabled": "no", "installed_version": "0.1.3", "ocsid": "166054", "types": "" }, "files_videoviewerplus": { "enabled": "no", "installed_version": "0.2.0", "ocsid": "174666", "types": "" }, "firstrunwizard": { "enabled": "yes", "installed_version": "2.1", "types": "logging" }, "gallery": { "enabled": "yes", "installed_version": "17.0.0", "types": "" }, "galleryplus": { "enabled": "no", "installed_version": "15.0.0", "ocsid": "169116", "types": "" }, "html5_videoplayer": { "enabled": "no", "installed_version": "1.0", "ocsid": "173950", "types": "" }, "logreader": { "enabled": "yes", "installed_version": "2.0.0", "ocsid": "170871", "types": "" }, "lookup_server_connector": { "enabled": "yes", "installed_version": "1.0.0", "types": "authentication" }, "news": { "enabled": "yes", "installed_version": "11.0.5", "types": "" }, "nextcloud_announcements": { "enabled": "yes", "installed_version": "1.1", "pub_date": "Sat, 10 Dec 2016 00:00:00 +0100", "types": "logging" }, "notes": { "enabled": "yes", "installed_version": "2.3.1", "ocsid": "174554", "types": "" }, "notifications": { "enabled": "yes", "installed_version": "2.0.0", "types": "logging" }, "oauth2": { "enabled": "yes", "installed_version": "1.0.5", "types": "authentication" }, "ocsms": { "enabled": "yes", "installed_version": "1.12.1", "ocsid": "167289", "types": "" }, "ownnote": { "enabled": "no", "installed_version": "1.07", "ocsid": "168512", "types": "" }, "passman": { "disable_debugger": "0", "enabled": "yes", "installed_version": "2.1.4", "types": "" }, "password_policy": { "enabled": "yes", "enforceNumericCharacters": "1", "installed_version": "1.2.2", "types": "" }, "passwords": { "backup_allowed": "true", "enabled": "no", "installed_version": "19", "ocsid": "170480", "types": "" }, "provisioning_api": { "enabled": "yes", "installed_version": "1.2.0", "types": "prevent_group_restriction" }, "qownnotesapi": { "enabled": "yes", "installed_version": "17.5.0", "ocsid": "173817", "types": "" }, "serverinfo": { "enabled": "yes", "installed_version": "1.2.0", "types": "" }, "sharebymail": { "enabled": "yes", "installed_version": "1.2.0", "types": "filesystem" }, "shorten": { "enabled": "no", "installed_version": "0.0.15", "ocsid": "168591", "type": "internal", "types": "filesystem" }, "survey_client": { "enabled": "yes", "installed_version": "1.0.0", "last_report": "{\"id\":\"ocg4w2lbke5t\",\"items\":[[\"server\",\"version\",\"12.0.3.1\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"none\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"none\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"5.6.25\"],[\"php\",\"memory_limit\",134217728],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",534773760],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"5.5.56\"],[\"database\",\"size\",35946496],[\"apps\",\"activity\",\"2.5.2\"],[\"apps\",\"admin_audit\",\"1.2.0\"],[\"apps\",\"admin_migrate\",\"disabled\"],[\"apps\",\"bookmarks\",\"0.10.1\"],[\"apps\",\"bruteforcesettings\",\"1.0.2\"],[\"apps\",\"calendar\",\"1.5.4\"],[\"apps\",\"comments\",\"1.2.0\"],[\"apps\",\"contacts\",\"1.5.3\"],[\"apps\",\"dav\",\"1.3.0\"],[\"apps\",\"direct_menu\",\"disabled\"],[\"apps\",\"external\",\"disabled\"],[\"apps\",\"federatedfilesharing\",\"1.2.0\"],[\"apps\",\"federation\",\"1.2.0\"],[\"apps\",\"files\",\"1.7.2\"],[\"apps\",\"files_accesscontrol\",\"disabled\"],[\"apps\",\"files_automatedtagging\",\"disabled\"],[\"apps\",\"files_external\",\"1.3.0\"],[\"apps\",\"files_mv\",\"disabled\"],[\"apps\",\"files_odfviewer\",\"disabled\"],[\"apps\",\"files_pdfviewer\",\"1.1.1\"],[\"apps\",\"files_sharing\",\"1.4.0\"],[\"apps\",\"files_texteditor\",\"2.4.1\"],[\"apps\",\"files_trashbin\",\"1.2.0\"],[\"apps\",\"files_versions\",\"1.5.0\"],[\"apps\",\"files_videoplayer\",\"1.1.0\"],[\"apps\",\"files_videoviewer\",\"disabled\"],[\"apps\",\"files_videoviewerplus\",\"disabled\"],[\"apps\",\"firstrunwizard\",\"2.1\"],[\"apps\",\"gallery\",\"17.0.0\"],[\"apps\",\"galleryplus\",\"disabled\"],[\"apps\",\"html5_videoplayer\",\"disabled\"],[\"apps\",\"logreader\",\"2.0.0\"],[\"apps\",\"lookup_server_connector\",\"1.0.0\"],[\"apps\",\"news\",\"11.0.5\"],[\"apps\",\"nextcloud_announcements\",\"1.1\"],[\"apps\",\"notes\",\"2.3.1\"],[\"apps\",\"notifications\",\"2.0.0\"],[\"apps\",\"oauth2\",\"1.0.5\"],[\"apps\",\"ocsms\",\"1.12.1\"],[\"apps\",\"ownnote\",\"disabled\"],[\"apps\",\"passman\",\"2.1.4\"],[\"apps\",\"password_policy\",\"1.2.2\"],[\"apps\",\"passwords\",\"disabled\"],[\"apps\",\"provisioning_api\",\"1.2.0\"],[\"apps\",\"qownnotesapi\",\"17.5.0\"],[\"apps\",\"serverinfo\",\"1.2.0\"],[\"apps\",\"sharebymail\",\"1.2.0\"],[\"apps\",\"shorten\",\"disabled\"],[\"apps\",\"survey_client\",\"1.0.0\"],[\"apps\",\"systemtags\",\"1.2.0\"],[\"apps\",\"tasks\",\"0.9.5\"],[\"apps\",\"templateeditor\",\"disabled\"],[\"apps\",\"theme_switcher\",\"disabled\"],[\"apps\",\"theming\",\"1.3.0\"],[\"apps\",\"twofactor_backupcodes\",\"1.1.1\"],[\"apps\",\"twofactor_totp\",\"1.3.1\"],[\"apps\",\"updatenotification\",\"1.2.0\"],[\"apps\",\"user_ldap\",\"1.2.1\"],[\"apps\",\"user_migrate\",\"disabled\"],[\"apps\",\"user_saml\",\"disabled\"],[\"apps\",\"workflowengine\",\"1.2.0\"],[\"stats\",\"num_files\",2400],[\"stats\",\"num_users\",2],[\"stats\",\"num_storages\",15],[\"stats\",\"num_storages_local\",4],[\"stats\",\"num_storages_home\",3],[\"stats\",\"num_storages_other\",8],[\"stats\",\"num_comments\",0],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",1],[\"files_sharing\",\"num_shares_user\",0],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",1],[\"files_sharing\",\"num_shares_link_no_password\",1],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_1\",\"1\"],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}", "last_sent": "1505515242", "types": "" }, "systemtags": { "enabled": "yes", "installed_version": "1.2.0", "types": "logging" }, "tasks": { "enabled": "yes", "installed_version": "0.9.5", "types": "" }, "templateeditor": { "enabled": "no", "installed_version": "0.2", "types": "" }, "theme_switcher": { "enabled": "no", "installed_version": "2.0", "types": "" }, "theming": { "cachebuster": "3", "enabled": "yes", "installed_version": "1.3.0", "name": "r3pek's Cloud", "slogan": "", "types": "logging", "url": "https:\/\/cloud.r3pek.org" }, "twofactor_backupcodes": { "enabled": "yes", "installed_version": "1.1.1", "types": "" }, "twofactor_totp": { "enabled": "yes", "installed_version": "1.3.1", "types": "" }, "updatenotification": { "calendar": "1.5.4", "contacts": "1.5.3", "core": "12.0.3.1", "direct_menu": "0.10.2", "enabled": "yes", "installed_version": "1.2.0", "news": "10.2.0", "notes": "2.3.1", "ocsms": "1.12.1", "passman": "2.1.4", "passwords": "19", "qownnotesapi": "17.5.0", "twofactor_totp": "1.1.0", "types": "" }, "user_ldap": { "cleanUpJobOffset": "0", "enabled": "yes", "has_memberof_filter_support": "1", "home_folder_naming_rule": "attr:uid", "installed_version": "1.2.1", "last_jpegPhoto_lookup": "0", "ldap_agent_password": "***REMOVED SENSITIVE VALUE***", "ldap_attributes_for_group_search": "", "ldap_attributes_for_user_search": "", "ldap_backup_host": "srv05.r3pek.org", "ldap_backup_port": "389", "ldap_base": "cn=accounts,dc=r3pek,dc=org", "ldap_base_groups": "cn=groups,cn=accounts,dc=r3pek,dc=org", "ldap_base_users": "cn=users,cn=accounts,dc=r3pek,dc=org", "ldap_cache_ttl": "600", "ldap_configuration_active": "1", "ldap_display_name": "displayname", "ldap_dn": "uid=nextcloud,cn=sysaccounts,cn=etc,dc=r3pek,dc=org", "ldap_dynamic_group_member_url": "", "ldap_email_attr": "mail", "ldap_experienced_admin": "1", "ldap_expert_username_attr": "", "ldap_expert_uuid_group_attr": "ipaUniqueID", "ldap_expert_uuid_user_attr": "ipaUniqueID", "ldap_group_display_name": "cn", "ldap_group_filter": "(&(|(objectclass=groupofnames))(|(memberOf=cn=nextcloud,cn=groups,cn=accounts,dc=r3pek,dc=org)))", "ldap_group_filter_mode": "1", "ldap_group_member_assattribute": "member", "ldap_groupfilter_groups": "nextcloud", "ldap_groupfilter_objectclass": "groupofnames", "ldap_host": "srv04.r3pek.org", "ldap_login_filter": "(&(&(|(objectclass=person))(|(memberof=cn=nextcloud,cn=groups,cn=accounts,dc=r3pek,dc=org)))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))))", "ldap_login_filter_mode": "0", "ldap_loginfilter_attributes": "", "ldap_loginfilter_email": "1", "ldap_loginfilter_username": "1", "ldap_nested_groups": "0", "ldap_override_main_server": "", "ldap_paging_size": "500", "ldap_port": "389", "ldap_quota_attr": "", "ldap_quota_def": "", "ldap_tls": "0", "ldap_turn_off_cert_check": "0", "ldap_turn_on_pwd_change": "0", "ldap_user_display_name_2": "", "ldap_user_filter_mode": "0", "ldap_userfilter_groups": "nextcloud", "ldap_userfilter_objectclass": "person", "ldap_userlist_filter": "(&(|(objectclass=person))(|(memberof=cn=nextcloud,cn=groups,cn=accounts,dc=r3pek,dc=org)))", "types": "authentication", "use_memberof_to_detect_membership": "1" }, "user_migrate": { "enabled": "no", "installed_version": "0.1", "types": "" }, "user_saml": { "enabled": "no", "general-uid_mapping": "REMOTE_USER", "installed_version": "1.2.2", "type": "environment-variable", "types": "authentication" }, "workflowengine": { "enabled": "yes", "installed_version": "1.2.0", "types": "filesystem" } } } ```
**Are you using external storage, if yes which one:** Yes, SMB **Are you using encryption:** no **Are you using an external user-backend, if yes which one:** Yes, LDAP #### LDAP configuration (delete this part if not used)
LDAP config ``` +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | Configuration | | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | hasMemberOfFilterSupport | 1 | | hasPagedResultSupport | | | homeFolderNamingRule | attr:uid | | lastJpegPhotoLookup | 0 | | ldapAgentName | uid=nextcloud,cn=sysaccounts,cn=etc,dc=r3pek,dc=org | | ldapAgentPassword | *** | | ldapAttributesForGroupSearch | | | ldapAttributesForUserSearch | | | ldapBackupHost | ldapserver_backup.example.com | | ldapBackupPort | 389 | | ldapBase | cn=accounts,dc=r3pek,dc=org | | ldapBaseGroups | cn=groups,cn=accounts,dc=r3pek,dc=org | | ldapBaseUsers | cn=users,cn=accounts,dc=r3pek,dc=org | | ldapCacheTTL | 600 | | ldapConfigurationActive | 1 | | ldapDefaultPPolicyDN | | | ldapDynamicGroupMemberURL | | | ldapEmailAttribute | mail | | ldapExperiencedAdmin | 1 | | ldapExpertUUIDGroupAttr | ipaUniqueID | | ldapExpertUUIDUserAttr | ipaUniqueID | | ldapExpertUsernameAttr | | | ldapGidNumber | gidNumber | | ldapGroupDisplayName | cn | | ldapGroupFilter | (&(|(objectclass=groupofnames))(|(memberOf=cn=nextcloud,cn=groups,cn=accounts,dc=r3pek,dc=org))) | | ldapGroupFilterGroups | nextcloud | | ldapGroupFilterMode | 1 | | ldapGroupFilterObjectclass | groupofnames | | ldapGroupMemberAssocAttr | uniqueMember | | ldapHost | ldapserver.example.com | | ldapIgnoreNamingRules | | | ldapLoginFilter | (&(&(|(objectclass=person))(|(memberof=cn=nextcloud,cn=groups,cn=accounts,dc=r3pek,dc=org)))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid)))) | | ldapLoginFilterAttributes | | | ldapLoginFilterEmail | 1 | | ldapLoginFilterMode | 0 | | ldapLoginFilterUsername | 1 | | ldapNestedGroups | 0 | | ldapOverrideMainServer | | | ldapPagingSize | 500 | | ldapPort | 389 | | ldapQuotaAttribute | | | ldapQuotaDefault | | | ldapTLS | 0 | | ldapUserDisplayName | displayname | | ldapUserDisplayName2 | | | ldapUserFilter | (&(|(objectclass=person))(|(memberof=cn=nextcloud,cn=groups,cn=accounts,dc=r3pek,dc=org))) | | ldapUserFilterGroups | nextcloud | | ldapUserFilterMode | 0 | | ldapUserFilterObjectclass | person | | ldapUuidGroupAttribute | auto | | ldapUuidUserAttribute | auto | | turnOffCertCheck | 0 | | turnOnPasswordChange | 0 | | useMemberOfToDetectMembership | 1 | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ ```
### Client configuration **Browser:** Firefox 55.0.3 **Operating system:** Arch Linux ### Logs #### Web server error log
Web server error log ``` Nothing ```
#### Nextcloud log (data/nextcloud.log)
Nextcloud log ``` Nothing ```
#### Browser log
Browser log ``` Nothing ```
blizzz commented 6 years ago

@rullzer @schiessle ideas?

whositwhatnow commented 6 years ago

Had this same issue, you need to select the Log-in credentials, save in database option in the authentication section in external storage. You can then share on the external share. Thats what worked for me

r3pek commented 6 years ago

@whositwhatnow dude, you just saved the day! :) And thinking about it, it makes perfect sense.

@blizzz maybe a warning or an info of some kind if the credentials aren't stored in the database stating that sharing will be disabled?

PS: I'll keep this bug opened until blizzz replies (or any other dev)

whositwhatnow commented 6 years ago

@r3pek The only thing i am Leary of doing this is that the users password is stored in the local database. So if you are using AD/LDAP auth is stores the password, i haven't looked into it further but i hope its encrypted.

r3pek commented 6 years ago

@whositwhatnow yeah.... it's using LDAP user/password. Can't look at it right now but yeah, I think it's encrypted (just not sure how)

whositwhatnow commented 6 years ago

@r3pek I banged my head with this for almost a week. Have a good one!

rullzer commented 6 years ago

@icewind1991 would it make sense to just disable sharing on mountpoint where we don't have the proper credentials?

pcreadycl commented 6 years ago

i have same problem here, any updates?

j4mb4l4j4 commented 5 years ago

Had this same issue, you need to select the Log-in credentials, save in database option in the authentication section in external storage. You can then share on the external share. Thats what worked for me

Jesus Christ, you saved my day too. I would have never think of that...

kpeng2016 commented 5 years ago

Had this same issue, you need to select the Log-in credentials, save in database option in the authentication section in external storage. You can then share on the external share. Thats what worked for me

Hi @whositwhatnow , I am appreciated that you can help me to give me some idea. my English is poor. it give me the info "data deficiencies" after I select the Log-in credentials, save in database option in the authentication section in external storage, how should I do? Thanks a lot

skjnldsv commented 4 years ago

@icewind1991 would it make sense to just disable sharing on mountpoint where we don't have the proper credentials?

skjnldsv commented 4 years ago

As there is no feedback since a while I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.