{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17499","labels_url":"https://api.github.com/repos/owncloud/core/issues/17499/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17499/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17499/events","html_url":"https://github.com/owncloud/core/issues/17499","id":93831208,"number":17499,"title":"ownCloud 8.1 SMB with OC login not working","user":{"login":"kaeser-sosae","id":13239751,"avatar_url":"https://avatars.githubusercontent.com/u/13239751?v=3","gravatar_id":"","url":"https://api.github.com/users/kaeser-sosae","html_url":"https://github.com/kaeser-sosae","followers_url":"https://api.github.com/users/kaeser-sosae/followers","following_url":"https://api.github.com/users/kaeser-sosae/following{/other_user}","gists_url":"https://api.github.com/users/kaeser-sosae/gists{/gist_id}","starred_url":"https://api.github.com/users/kaeser-sosae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaeser-sosae/subscriptions","organizations_url":"https://api.github.com/users/kaeser-sosae/orgs","repos_url":"https://api.github.com/users/kaeser-sosae/repos","events_url":"https://api.github.com/users/kaeser-sosae/events{/privacy}","received_events_url":"https://api.github.com/users/kaeser-sosae/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_external","name":"app:files_external","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/needs%20info","name":"needs info","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":63,"created_at":"2015-07-08T16:18:03Z","updated_at":"2015-07-28T01:21:41Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Enable external storage app\r\n2. Enable SMB / CIFS with OC Login as external storage option\r\n3. Add external storage with Folder name: \"Home Folder\", Host: \"bcgs-vm-fs4\", Share: \"student-folders\", Remote subfolder: \"$user\".\r\n\r\n(The above is identical to ownCloud 7.0.4 configuration that we currently have in production.)\r\n\r\n\r\n### Expected behaviour\r\n\"Home Folder\" directory in external storage section is populated with the user's home directory contents.\r\n\r\n\r\n### Actual behaviour\r\nWhen clicking on \"Home Folder\" in the external storage section, it just swings back to the root folder.\r\n\r\n\r\n### Server configuration\r\n**Operating system**: Ubuntu 14.04.2 LTS\r\n\r\n**Web server:** Apache 2.4.7\r\n\r\n**Database:** MySQL 5.5.43\r\n\r\n**PHP version:** 5.5.9\r\n\r\n**ownCloud version:** 8.1.0 (stable)\r\n\r\n**Updated from an older ownCloud or fresh install:** Fresh install\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nEnabled:\r\n - activity: 2.0.1\r\n - files: 1.1.9\r\n - files_external: 0.2.3\r\n - files_locking:\r\n - files_pdfviewer: 0.7\r\n - files_sharing: 0.6.2\r\n - files_texteditor: 0.4\r\n - files_videoviewer: 0.1.3\r\n - firstrunwizard: 1.1\r\n - provisioning_api: 0.2\r\n - templateeditor: 0.1\r\n - user_ldap: 0.6.1\r\nDisabled:\r\n - encryption\r\n - external\r\n - files_trashbin\r\n - files_versions\r\n - gallery\r\n - user_external\r\n - user_webdavauth\r\n```\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n$CONFIG = array (\r\n  'instanceid' => 'oc4315gpo40d',\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => 'cloud8-internal.internal.domain.name',\r\n  ),\r\n  'datadirectory' => '/var/www/owncloud/data',\r\n  'overwrite.cli.url' => 'http://cloud8-internal.internal.domain.name/owncloud',\r\n  'dbtype' => 'mysql',\r\n  'version' => '8.1.0.8',\r\n  'dbname' => 'owncloud',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'owncloud_user',\r\n  'logtimezone' => 'UTC',\r\n  'installed' => true,\r\n  'ldapIgnoreNamingRules' => false,\r\n);\r\n```\r\n\r\n**Are you using external storage, if yes which one:** SMB\r\n\r\n**Are you using encryption:** no\r\n\r\n**Are you using an external user-backend, if yes which one:** Active Directory\r\n\r\n**mount.json file:**\r\n\r\n```\r\n{\r\n    \"group\": {\r\n        \"All Students\": {\r\n            \"\\/$user\\/files\\/Home Folder\": {\r\n                \"id\": 1,\r\n                \"class\": \"\\\\OC\\\\Files\\\\Storage\\\\SMB_OC\",\r\n                \"options\": {\r\n                    \"host\": \"bcgs-vm-fs4\",\r\n                    \"username_as_share\": false,\r\n                    \"share\": \"student-folders\",\r\n                    \"root\": \"$user\"\r\n                },\r\n                \"priority\": 90,\r\n                \"storage_id\": \"6\"\r\n            }\r\n        }\r\n    }\r\n}\r\n```\r\n\r\n#### LDAP configuration\r\n\r\n```\r\n+-------------------------------+----------------------------------------------------------------------------------------+\r\n| Configuration                 |                                                                                        |\r\n+-------------------------------+----------------------------------------------------------------------------------------+\r\n| hasMemberOfFilterSupport      | 0                                                                                      |\r\n| hasPagedResultSupport         |                                                                                        |\r\n| homeFolderNamingRule          |                                                                                        |\r\n| lastJpegPhotoLookup           | 0                                                                                      |\r\n| ldapAgentName                 | CN=Service ownCloud v8,OU=Service Accounts,OU=Users,DC=internal,DC=domain,DC=name |\r\n| ldapAttributesForGroupSearch  |                                                                                        |\r\n| ldapAttributesForUserSearch   |                                                                                        |\r\n| ldapBackupHost                |                                                                                        |\r\n| ldapBackupPort                |                                                                                        |\r\n| ldapBase                      | DC=internal,DC=domain,DC=name                                                             |\r\n| ldapBaseGroups                | ou=groups,DC=internal,DC=domain,DC=name                                           |\r\n| ldapBaseUsers                 | ou=users,DC=internal,DC=domain,DC=name                                            |\r\n| ldapCacheTTL                  | 600                                                                                    |\r\n| ldapConfigurationActive       | 1                                                                                      |\r\n| ldapEmailAttribute            | mail                                                                                   |\r\n| ldapExperiencedAdmin          | 1                                                                                      |\r\n| ldapExpertUUIDGroupAttr       |                                                                                        |\r\n| ldapExpertUUIDUserAttr        | samaccountname                                                                         |\r\n| ldapExpertUsernameAttr        | samaccountname                                                                         |\r\n| ldapGroupDisplayName          | cn                                                                                     |\r\n| ldapGroupFilter               | (&(|(objectclass=group))(|(cn=All Staff)(cn=All Students)))                            |\r\n| ldapGroupFilterGroups         |                                                                                        |\r\n| ldapGroupFilterMode           | 0                                                                                      |\r\n| ldapGroupFilterObjectclass    |                                                                                        |\r\n| ldapGroupMemberAssocAttr      | member                                                                                 |\r\n| ldapHost                      | internal.domain.name                                                                         |\r\n| ldapIgnoreNamingRules         |                                                                                        |\r\n| ldapLoginFilter               | (&(&(bcgsSynergeticID=*))(samaccountname=%uid))                                        |\r\n| ldapLoginFilterAttributes     |                                                                                        |\r\n| ldapLoginFilterEmail          | 0                                                                                      |\r\n| ldapLoginFilterMode           | 0                                                                                      |\r\n| ldapLoginFilterUsername       | 1                                                                                      |\r\n| ldapNestedGroups              | 0                                                                                      |\r\n| ldapNoCase                    | 0                                                                                      |\r\n| ldapOverrideMainServer        |                                                                                        |\r\n| ldapPagingSize                | 500                                                                                    |\r\n| ldapPort                      | 389                                                                                    |\r\n| ldapQuotaAttribute            |                                                                                        |\r\n| ldapQuotaDefault              |                                                                                        |\r\n| ldapTLS                       | 0                                                                                      |\r\n| ldapUserDisplayName           | displayname                                                                            |\r\n| ldapUserFilter                | (&(bcgsSynergeticID=*))                                                                |\r\n| ldapUserFilterGroups          |                                                                                        |\r\n| ldapUserFilterMode            | 0                                                                                      |\r\n| ldapUserFilterObjectclass     |                                                                                        |\r\n| ldapUuidGroupAttribute        | auto                                                                                   |\r\n| ldapUuidUserAttribute         | auto                                                                                   |\r\n| turnOffCertCheck              | 0                                                                                      |\r\n| useMemberOfToDetectMembership | 1                                                                                      |\r\n+-------------------------------+----------------------------------------------------------------------------------------+\r\n```\r\n\r\n#### External storage screenshot\r\n<img width=\"951\" alt=\"screen shot 2015-07-09 at 12 07 41 am\" src=\"https://cloud.githubusercontent.com/assets/13239751/8575438/8f4e0d9e-25ce-11e5-9f17-80425e4bc0f5.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/125400156","html_url":"https://github.com/owncloud/core/issues/17499#issuecomment-125400156","issue_url":"https://api.github.com/repos/owncloud/core/issues/17499","id":125400156,"user":{"login":"stephen-azure","id":5101025,"avatar_url":"https://avatars.githubusercontent.com/u/5101025?v=3","gravatar_id":"","url":"https://api.github.com/users/stephen-azure","html_url":"https://github.com/stephen-azure","followers_url":"https://api.github.com/users/stephen-azure/followers","following_url":"https://api.github.com/users/stephen-azure/following{/other_user}","gists_url":"https://api.github.com/users/stephen-azure/gists{/gist_id}","starred_url":"https://api.github.com/users/stephen-azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephen-azure/subscriptions","organizations_url":"https://api.github.com/users/stephen-azure/orgs","repos_url":"https://api.github.com/users/stephen-azure/repos","events_url":"https://api.github.com/users/stephen-azure/events{/privacy}","received_events_url":"https://api.github.com/users/stephen-azure/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T01:21:41Z","updated_at":"2015-07-28T01:21:41Z","body":"So, in my situation, the sharing user doesn't show that the directory is shared. \r\nExample\r\nUser B shows folder ABC was shared with them by User A\r\nUser A doesn't show that folder ABC is shared\r\nUser A shares folder ABC again with user B and it appears in their user account as ABC (2) with live files and no errors.\r\nHere is a pastebin of the errors I'm getting in owncloud.log\r\nDoes this make sense to anyone from a causality standpoint?"}}