Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

listing shares on eos has empty filename #451

Closed
butonic opened this issue Aug 24, 2020 · 8 comments
Closed

listing shares on eos has empty filename #451

butonic opened this issue Aug 24, 2020 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@butonic
Copy link
Member

butonic commented Aug 24, 2020

running ocis on top of eos with a simplvified user layout: owncloud/ocis#484

also patched reva to allow stating other peoples files:

diff --git a/pkg/storage/utils/eosfs/eosfs.go b/pkg/storage/utils/eosfs/eosfs.go
index 09b31c3..c808470 100644
--- a/pkg/storage/utils/eosfs/eosfs.go
+++ b/pkg/storage/utils/eosfs/eosfs.go
@@ -292,9 +292,9 @@ func (fs *eosfs) unwrapInternal(ctx context.Context, ns, np, layout string) (ext
        log := appctx.GetLogger(ctx)
        trim := path.Join(ns, layout)

-       if !strings.HasPrefix(np, trim) {
-               panic("eos: resource is outside the directory of the logged-in user: internal=" + np + " trim=" + trim + " namespace=" + ns)
-       }
+       //if !strings.HasPrefix(np, trim) {
+       //      panic("eos: resource is outside the directory of the logged-in user: internal=" + np + " trim=" + trim + " namespace=" + ns)
+       //}

        external = strings.TrimPrefix(np, trim)

request

curl 'https://localhost:9200/ocs/v2.php/apps/files_sharing//api/v1/shares?format=json&shared_with_me=true&state=all&include_tags=false&format=json' \
  -H 'Connection: keep-alive' \
  -H 'Pragma: no-cache' \
  -H 'Cache-Control: no-cache' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36' \
  -H 'X-Requested-With: XMLHttpRequest' \
  -H 'authorization: Bearer eyJhbGciOiJQUzI1NiIsImtpZCI6IiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJwaG9lbml4IiwiZXhwIjoxNTk4Mjc1OTU3LCJqdGkiOiJrRkVqTGNHZ0RsYzRVcWRvelZRSm5NZXBzOGxLQTFZbCIsImlhdCI6MTU5ODI3NTM1NywiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6OTIwMCIsInN1YiI6ImxlV1I2Q3RZdEpfQWZEbVBGWk5YYUZQZHJCbnZaZU9SZ2p1dlYzUlcyRzM5VDV3bDdtaFZNVzVVRXRza1NRU2N6eGlwY1R5UGZDQzdqZ25vVG1ObTVBQGtvbm5lY3QiLCJrYy5pc0FjY2Vzc1Rva2VuIjp0cnVlLCJrYy5hdXRob3JpemVkU2NvcGVzIjpbInByb2ZpbGUiLCJlbWFpbCIsIm9wZW5pZCJdLCJrYy5pZGVudGl0eSI6eyJrYy5pLmRuIjoibWFyaWUiLCJrYy5pLmlkIjoiY249bWFyaWUsb3U9dXNlcnMsZGM9ZXhhbXBsZSxkYz1vcmciLCJrYy5pLnVuIjoibWFyaWUifSwia2MucHJvdmlkZXIiOiJpZGVudGlmaWVyLWxkYXAifQ.bdAS6LxeAxwCg6NpN6hAuQ85USrMekQUv9kQZ_rIGnZhtmfKTg8JJ1YTLMfOQeFbQc5whJ0qSuiqDnk4kS0VvO__soCmoVk0PDSInR-5BdGDdQOMYizPd8lJywWAXeBXmnRuLSFWvOXTAqvzQOEGLWeaS9UqxNccHTxuLFqYIoG-kNwTgXWIpwO5kwXOIu_eOT2IDSbrmvhLbHt3RQB5mkQyb2s1LXIbxuzrU5BzZB7foAw56PSQaMknjHilv8php6YVNk0-OsYr3ZAtrv-4o4jWPuJKbSc2JYd0i7xF19JQrvPWk9qDFQbbX19V5l9oDOAweNkniujfPydWA2o0WQ' \
  -H 'OCS-APIREQUEST: true' \
  -H 'Accept: */*' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Referer: https://localhost:9200/' \
  -H 'Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7' \
  --compressed \
  --insecure

response

{
  "ocs": {
    "meta": {
      "status": "ok",
      "statuscode": 200,
      "message": "OK"
    },
    "data": [
      {
        "id": "65fbec02-2455-4a85-9240-e21891ca97a6",
        "share_type": 0,
        "uid_owner": "4c510ada-c86b-4815-8820-42cdf82c3d51",
        "displayname_owner": "Albert Einstein",
        "permissions": 15,
        "stime": 1598274230,
        "parent": "",
        "expiration": "",
        "token": "",
        "uid_file_owner": "4c510ada-c86b-4815-8820-42cdf82c3d51",
        "displayname_file_owner": "Albert Einstein",
        "additional_info_owner": "",
        "additional_info_file_owner": "",
        "state": 0,
        "path": "",
        "item_type": "",
        "mimetype": "",
        "storage_id": "",
        "storage": 0,
        "item_source": "",
        "file_source": "",
        "file_parent": "",
        "file_target": "",
        "share_with": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
        "share_with_displayname": "Marie Curie",
        "share_with_additional_info": "",
        "mail_send": 0,
        "name": ""
      },
      {
        "id": "9eaf2b78-d1db-46cf-ac1c-492dfa5a9153",
        "share_type": 0,
        "uid_owner": "4c510ada-c86b-4815-8820-42cdf82c3d51",
        "displayname_owner": "Albert Einstein",
        "permissions": 15,
        "stime": 1598275343,
        "parent": "",
        "expiration": "",
        "token": "",
        "uid_file_owner": "4c510ada-c86b-4815-8820-42cdf82c3d51",
        "displayname_file_owner": "Albert Einstein",
        "additional_info_owner": "",
        "additional_info_file_owner": "",
        "state": 1,
        "path": "",
        "item_type": "",
        "mimetype": "",
        "storage_id": "",
        "storage": 0,
        "item_source": "",
        "file_source": "",
        "file_parent": "",
        "file_target": "",
        "share_with": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
        "share_with_displayname": "Marie Curie",
        "share_with_additional_info": "",
        "mail_send": 0,
        "name": ""
      }
    ]
  }
}

log

ocis          | 2020-08-24T13:24:34Z DBG director found path=/konnect/v1/userinfo policy=reva prefix=/konnect/ routeType=prefix service=proxy
ocis          | 2020-08-24T13:24:34Z DBG Bind request basedn=dc=example,dc=org binddn=cn=konnectd,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":39878,"Zone":""}
ocis          | 2020-08-24T13:24:34Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"konnectd","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:34Z DBG result result={"facets":null,"hits":[{"id":"820ba2a1-3f54-4538-80a4-2d73007e30bf","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"konnectd","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":125310,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:34Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Kopano Konnectd" GidNumber=15000 Id=820ba2a1-3f54-4538-80a4-2d73007e30bf Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=konnectd OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=konnectd UidNumber=10000 service=accounts
ocis          | 2020-08-24T13:24:34Z DBG Bind success binddn=cn=konnectd,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":39878,"Zone":""}
ocis          | 2020-08-24T13:24:34Z DBG Search request basedn=dc=example,dc=org binddn=cn=konnectd,ou=sysusers,dc=example,dc=org filter=(objectClass=posixaccount) service=glauth src={"IP":"127.0.0.1","Port":39878,"Zone":""}
ocis          | 2020-08-24T13:24:34Z DBG parsed query basedn=dc=example,dc=org binddn=cn=konnectd,ou=sysusers,dc=example,dc=org filter=(objectClass=posixaccount) qtype=users query= service=glauth
ocis          | 2020-08-24T13:24:34Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"}]} service=accounts
ocis          | 2020-08-24T13:24:34Z DBG result result={"facets":null,"hits":[{"id":"4c510ada-c86b-4815-8820-42cdf82c3d51","index":"/var/tmp/ocis-accounts/index.bleve","score":1.8472978603872037,"sort":["_score"]},{"id":"820ba2a1-3f54-4538-80a4-2d73007e30bf","index":"/var/tmp/ocis-accounts/index.bleve","score":1.8472978603872037,"sort":["_score"]},{"id":"932b4540-8d16-481e-8ef4-588e4b6b151c","index":"/var/tmp/ocis-accounts/index.bleve","score":1.8472978603872037,"sort":["_score"]},{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":1.8472978603872037,"sort":["_score"]},{"id":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","index":"/var/tmp/ocis-accounts/index.bleve","score":1.8472978603872037,"sort":["_score"]}],"max_score":1.8472978603872037,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":42446,"total_hits":5} service=accounts
ocis          | 2020-08-24T13:24:34Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Albert Einstein" GidNumber=30000 Id=4c510ada-c86b-4815-8820-42cdf82c3d51 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"6040aa17-9c64-4fef-9bd0-77234d71bad0"},{"id":"dd58e5ec-842e-498b-8800-61f2ec6f911f"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=einstein OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=einstein UidNumber=20000 service=accounts
ocis          | 2020-08-24T13:24:34Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Kopano Konnectd" GidNumber=15000 Id=820ba2a1-3f54-4538-80a4-2d73007e30bf Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=konnectd OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=konnectd UidNumber=10000 service=accounts
ocis          | 2020-08-24T13:24:34Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Richard Feynman" GidNumber=30000 Id=932b4540-8d16-481e-8ef4-588e4b6b151c Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"a1726108-01f8-4c30-88df-2b1a9d1cba1a"},{"id":"167cbee2-0518-455a-bfb2-031fe0621e5d"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=richard OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=richard UidNumber=20002 service=accounts
ocis          | 2020-08-24T13:24:34Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:34Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Marie Curie" GidNumber=30000 Id=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"7b87fd49-286e-4a5f-bafd-c535d5dd997a"},{"id":"cedc21aa-4072-4614-8676-fa9165f598ff"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=marie OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=marie UidNumber=20001 service=accounts
ocis          | 2020-08-24T13:24:34Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=konnectd,ou=sysusers,dc=example,dc=org filter=(objectClass=posixaccount) service=glauth src={"IP":"127.0.0.1","Port":39878,"Zone":""}
ocis          | 2020-08-24T13:24:34Z DBG  bytes=247 duration=30.053812 method=GET path=/konnect/v1/userinfo proto=HTTP/1.1 request=10f81037-8b73-4b65-a572-cf527d2871e1 service=konnectd status=200
ocis          | 2020-08-24T13:24:34Z DBG unmarshalled userinfo claims={"email":"[email protected]","family_name":"marie","iss":"https://localhost:9200","name":"marie","preferred_username":"marie","sub":"leWR6CtYtJ_AfDmPFZNXaFPdrBnvZeORgjuvV3RW2G39T5wl7mhVMW5UEtskSQSczxipcTyPfCC7jgnoTmNm5A@konnect"} service=proxy userInfo={"email":"[email protected]","email_verified":false,"profile":"","sub":"leWR6CtYtJ_AfDmPFZNXaFPdrBnvZeORgjuvV3RW2G39T5wl7mhVMW5UEtskSQSczxipcTyPfCC7jgnoTmNm5A@konnect"}
ocis          | 2020-08-24T13:24:34Z DBG using cache entry for mail eq '[email protected]' service=proxy
ocis          | 2020-08-24T13:24:34Z DBG Associated claims with uuid account={"accountEnabled":true,"displayName":"Marie Curie","gidNumber":"30000","id":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","mail":"[email protected]","memberOf":[{"description":"A group every normal user belongs to.","displayName":"Users","gidNumber":"30000","id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa","onPremisesSamAccountName":"users"},{"displayName":"Radium lovers","gidNumber":"30003","id":"7b87fd49-286e-4a5f-bafd-c535d5dd997a","onPremisesSamAccountName":"radium-lovers"},{"displayName":"Polonium lovers","gidNumber":"30004","id":"cedc21aa-4072-4614-8676-fa9165f598ff","onPremisesSamAccountName":"polonium-lovers"},{"displayName":"Physics lovers","gidNumber":"30007","id":"262982c1-2362-4afa-bfdf-8cbfef64a06e","onPremisesSamAccountName":"physics-lovers"}],"onPremisesSamAccountName":"marie","passwordProfile":{},"preferredName":"marie","uidNumber":"20001"} claims={"email":"[email protected]","family_name":"marie","iss":"https://localhost:9200","name":"marie","preferred_username":"marie","sub":"leWR6CtYtJ_AfDmPFZNXaFPdrBnvZeORgjuvV3RW2G39T5wl7mhVMW5UEtskSQSczxipcTyPfCC7jgnoTmNm5A@konnect"} service=proxy
ocis          | 2020-08-24T13:24:34Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Marie Curie" GidNumber=30000 Id=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"7b87fd49-286e-4a5f-bafd-c535d5dd997a"},{"id":"cedc21aa-4072-4614-8676-fa9165f598ff"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=marie OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=marie UidNumber=20001 service=accounts
ocis          | 2020-08-24T13:24:34Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/CreateHome pkg=rgrpc service=reva traceid=cc627c670a2974dc7a65777a561528f7
ocis          | 2020-08-24T13:24:34Z INF unary code=OK end="24/Aug/2020:13:24:34 +0000" from=tcp://127.0.0.1:52696 pkg=rgrpc service=reva start="24/Aug/2020:13:24:34 +0000" time_ns=119873 traceid=cc627c670a2974dc7a65777a561528f7 uri=/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProvider user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:34Z DBG eos: wrap external=/ internal=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c pkg=rgrpc service=reva traceid=cc627c670a2974dc7a65777a561528f7
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 0 0 file info /eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c -m --comment cc627c670a2974dc7a65777a561528f7]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err= exit=0 pkg=rgrpc service=reva traceid=cc627c670a2974dc7a65777a561528f7
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 0 0 file info /eos/dockertest/reva/users/.shadow/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c -m --comment cc627c670a2974dc7a65777a561528f7]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err= exit=0 pkg=rgrpc service=reva traceid=cc627c670a2974dc7a65777a561528f7
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:60080 pkg=rgrpc service=reva start="24/Aug/2020:13:24:34 +0000" time_ns=40780476 traceid=cc627c670a2974dc7a65777a561528f7 uri=/cs3.storage.provider.v1beta1.ProviderAPI/CreateHome user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:51974 pkg=rgrpc service=reva start="24/Aug/2020:13:24:34 +0000" time_ns=43552925 traceid=cc627c670a2974dc7a65777a561528f7 uri=/cs3.gateway.v1beta1.GatewayAPI/CreateHome user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG director found path=/ocs/v2.php/apps/files_sharing//api/v1/shares policy=reva prefix=/ocs/ routeType=prefix service=proxy
ocis          | 2020-08-24T13:24:35Z INF access token is already provided pkg=rhttp service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG http routing: head=ocs tail=/v2.php/apps/files_sharing/api/v1/shares svc=ocs pkg=rhttp service=reva
ocis          | 2020-08-24T13:24:35Z DBG ocs routing head=v2.php pkg=rhttp service=reva tail=/apps/files_sharing/api/v1/shares traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG http routing head=shares pkg=rhttp service=reva tail=/ traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG http routing head= pkg=rhttp service=reva tail=/ traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/ListReceivedShares pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:39570 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=121311 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.sharing.collaboration.v1beta1.CollaborationAPI/ListReceivedShares user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=629416 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/ListReceivedShares user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/Stat pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52696 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=131766 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProvider user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF eos: get md for ref:id:<opaque_id:"29" >  pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 20001 30000 file info inode:29 -m --comment a07a6bebdf5b4c8962e793ad28ceeb35]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err= exit=0 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: unwrapInternal: trim=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein ns=/eos/dockertest/reva/users np=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: unwrap: internal=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: wrap external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein internal=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 20001 30000 file info /eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein -m --comment a07a6bebdf5b4c8962e793ad28ceeb35]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err="error: cannot stat '/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein'\n (errc=2) (No such file or directory)\n" exit=2 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z WRN reva/internal/grpc/services/storageprovider/storageprovider.go:468 > file not found pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:60080 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=45883928 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.storage.provider.v1beta1.ProviderAPI/Stat user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z ERR error during STAT id: storage_id:"1284d238-aa92-42ce-bdc4-0b0000009154" opaque_id:"29"  pkg=rgrpc rpc_code=CODE_NOT_FOUND service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=47902829 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/Stat user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.identity.user.v1beta1.UserAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41854,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":42640,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41854,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) service=glauth src={"IP":"127.0.0.1","Port":41854,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) qtype=users query="id eq '4c510ada-c86b-4815-8820-42cdf82c3d51' or on_premises_sam_account_name eq '4c510ada-c86b-4815-8820-42cdf82c3d51'" service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0}],"min":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"4c510ada-c86b-4815-8820-42cdf82c3d51","index":"/var/tmp/ocis-accounts/index.bleve","score":0.8759987873224007,"sort":["_score"]}],"max_score":0.8759987873224007,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0}],"min":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":70782,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Albert Einstein" GidNumber=30000 Id=4c510ada-c86b-4815-8820-42cdf82c3d51 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"6040aa17-9c64-4fef-9bd0-77234d71bad0"},{"id":"dd58e5ec-842e-498b-8800-61f2ec6f911f"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=einstein OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=einstein UidNumber=20000 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) service=glauth src={"IP":"127.0.0.1","Port":41854,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG entries entries=[{"Attributes":[{"ByteValues":["ZWluc3RlaW4="],"Name":"cn","Values":["einstein"]},{"ByteValues":["NGM1MTBhZGEtYzg2Yi00ODE1LTg4MjAtNDJjZGY4MmMzZDUx"],"Name":"ownCloudUUID","Values":["4c510ada-c86b-4815-8820-42cdf82c3d51"]},{"ByteValues":["QWxiZXJ0IEVpbnN0ZWlu"],"Name":"displayName","Values":["Albert Einstein"]},{"ByteValues":["ZWluc3RlaW5AZXhhbXBsZS5vcmc="],"Name":"mail","Values":["[email protected]"]},{"ByteValues":["MjAwMDA="],"Name":"uidnumber","Values":["20000"]},{"ByteValues":["MzAwMDA="],"Name":"gidnumber","Values":["30000"]}],"DN":"cn=einstein,ou=users,dc=example,dc=org"}] pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41856,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":87888,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41856,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) service=glauth src={"IP":"127.0.0.1","Port":41856,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) qtype=groups query=startswith(id,'4c510ada-c86b-4815-8820-42cdf82c3d51') service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"4c510ada-c86b-4815-8820-42cdf82c3d51"}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[],"max_score":0,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"4c510ada-c86b-4815-8820-42cdf82c3d51"}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":38311,"total_hits":0} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) service=glauth src={"IP":"127.0.0.1","Port":41856,"Zone":""}
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:39786 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=107333365 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.identity.user.v1beta1.UserAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=107979254 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.identity.user.v1beta1.UserAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41858,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":57604,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41858,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) service=glauth src={"IP":"127.0.0.1","Port":41858,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) qtype=users query="id eq '4c510ada-c86b-4815-8820-42cdf82c3d51' or on_premises_sam_account_name eq '4c510ada-c86b-4815-8820-42cdf82c3d51'" service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0}],"min":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"4c510ada-c86b-4815-8820-42cdf82c3d51","index":"/var/tmp/ocis-accounts/index.bleve","score":0.8759987873224007,"sort":["_score"]}],"max_score":0.8759987873224007,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0}],"min":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":62220,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Albert Einstein" GidNumber=30000 Id=4c510ada-c86b-4815-8820-42cdf82c3d51 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"6040aa17-9c64-4fef-9bd0-77234d71bad0"},{"id":"dd58e5ec-842e-498b-8800-61f2ec6f911f"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=einstein OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=einstein UidNumber=20000 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) service=glauth src={"IP":"127.0.0.1","Port":41858,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG entries entries=[{"Attributes":[{"ByteValues":["ZWluc3RlaW4="],"Name":"cn","Values":["einstein"]},{"ByteValues":["NGM1MTBhZGEtYzg2Yi00ODE1LTg4MjAtNDJjZGY4MmMzZDUx"],"Name":"ownCloudUUID","Values":["4c510ada-c86b-4815-8820-42cdf82c3d51"]},{"ByteValues":["QWxiZXJ0IEVpbnN0ZWlu"],"Name":"displayName","Values":["Albert Einstein"]},{"ByteValues":["ZWluc3RlaW5AZXhhbXBsZS5vcmc="],"Name":"mail","Values":["[email protected]"]},{"ByteValues":["MjAwMDA="],"Name":"uidnumber","Values":["20000"]},{"ByteValues":["MzAwMDA="],"Name":"gidnumber","Values":["30000"]}],"DN":"cn=einstein,ou=users,dc=example,dc=org"}] pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41860,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":42007,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41860,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) service=glauth src={"IP":"127.0.0.1","Port":41860,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) qtype=groups query=startswith(id,'4c510ada-c86b-4815-8820-42cdf82c3d51') service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"4c510ada-c86b-4815-8820-42cdf82c3d51"}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[],"max_score":0,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"4c510ada-c86b-4815-8820-42cdf82c3d51"}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":38891,"total_hits":0} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) service=glauth src={"IP":"127.0.0.1","Port":41860,"Zone":""}
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:39786 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=112821612 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.identity.user.v1beta1.UserAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=113339382 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.identity.user.v1beta1.UserAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41862,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":43650,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41862,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c)(cn=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c))) service=glauth src={"IP":"127.0.0.1","Port":41862,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c)(cn=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c))) qtype=users query="id eq 'f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c' or on_premises_sam_account_name eq 'f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c'" service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","prefix_length":0}],"min":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","index":"/var/tmp/ocis-accounts/index.bleve","score":0.8759987873224007,"sort":["_score"]}],"max_score":0.8759987873224007,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","prefix_length":0}],"min":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":75908,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Marie Curie" GidNumber=30000 Id=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"7b87fd49-286e-4a5f-bafd-c535d5dd997a"},{"id":"cedc21aa-4072-4614-8676-fa9165f598ff"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=marie OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=marie UidNumber=20001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c)(cn=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c))) service=glauth src={"IP":"127.0.0.1","Port":41862,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG entries entries=[{"Attributes":[{"ByteValues":["bWFyaWU="],"Name":"cn","Values":["marie"]},{"ByteValues":["ZjdmYmY4YzgtMTM5Yi00Mzc2LWIzMDctY2YwYThjMmQwZDlj"],"Name":"ownCloudUUID","Values":["f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"]},{"ByteValues":["TWFyaWUgQ3VyaWU="],"Name":"displayName","Values":["Marie Curie"]},{"ByteValues":["bWFyaWVAZXhhbXBsZS5vcmc="],"Name":"mail","Values":["[email protected]"]},{"ByteValues":["MjAwMDE="],"Name":"uidnumber","Values":["20001"]},{"ByteValues":["MzAwMDA="],"Name":"gidnumber","Values":["30000"]}],"DN":"cn=marie,ou=users,dc=example,dc=org"}] pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41864,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":46162,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41864,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c*)) service=glauth src={"IP":"127.0.0.1","Port":41864,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c*)) qtype=groups query=startswith(id,'f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c') service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[],"max_score":0,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":49589,"total_hits":0} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c*)) service=glauth src={"IP":"127.0.0.1","Port":41864,"Zone":""}
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:39786 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=112455315 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.identity.user.v1beta1.UserAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=113282148 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/Stat pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52696 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=139419 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.storage.registry.v1beta1.RegistryAPI/GetStorageProvider user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF eos: get md for ref:id:<opaque_id:"34" >  pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 20001 30000 file info inode:34 -m --comment a07a6bebdf5b4c8962e793ad28ceeb35]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err= exit=0 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: unwrapInternal: trim=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 ns=/eos/dockertest/reva/users np=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: unwrap: internal=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: wrap external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 internal=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 20001 30000 file info /eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 -m --comment a07a6bebdf5b4c8962e793ad28ceeb35]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err="error: cannot stat '/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1'\n (errc=2) (No such file or directory)\n" exit=2 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z WRN reva/internal/grpc/services/storageprovider/storageprovider.go:468 > file not found pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:60080 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=36169866 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.storage.provider.v1beta1.ProviderAPI/Stat user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z ERR error during STAT id: storage_id:"1284d238-aa92-42ce-bdc4-0b0000009154" opaque_id:"34"  pkg=rgrpc rpc_code=CODE_NOT_FOUND service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=37576187 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/Stat user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.identity.user.v1beta1.UserAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41878,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":230145,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41878,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) service=glauth src={"IP":"127.0.0.1","Port":41878,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) qtype=users query="id eq '4c510ada-c86b-4815-8820-42cdf82c3d51' or on_premises_sam_account_name eq '4c510ada-c86b-4815-8820-42cdf82c3d51'" service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0}],"min":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"4c510ada-c86b-4815-8820-42cdf82c3d51","index":"/var/tmp/ocis-accounts/index.bleve","score":0.8759987873224007,"sort":["_score"]}],"max_score":0.8759987873224007,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0}],"min":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":59161,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Albert Einstein" GidNumber=30000 Id=4c510ada-c86b-4815-8820-42cdf82c3d51 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"6040aa17-9c64-4fef-9bd0-77234d71bad0"},{"id":"dd58e5ec-842e-498b-8800-61f2ec6f911f"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=einstein OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=einstein UidNumber=20000 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) service=glauth src={"IP":"127.0.0.1","Port":41878,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG entries entries=[{"Attributes":[{"ByteValues":["ZWluc3RlaW4="],"Name":"cn","Values":["einstein"]},{"ByteValues":["NGM1MTBhZGEtYzg2Yi00ODE1LTg4MjAtNDJjZGY4MmMzZDUx"],"Name":"ownCloudUUID","Values":["4c510ada-c86b-4815-8820-42cdf82c3d51"]},{"ByteValues":["QWxiZXJ0IEVpbnN0ZWlu"],"Name":"displayName","Values":["Albert Einstein"]},{"ByteValues":["ZWluc3RlaW5AZXhhbXBsZS5vcmc="],"Name":"mail","Values":["[email protected]"]},{"ByteValues":["MjAwMDA="],"Name":"uidnumber","Values":["20000"]},{"ByteValues":["MzAwMDA="],"Name":"gidnumber","Values":["30000"]}],"DN":"cn=einstein,ou=users,dc=example,dc=org"}] pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41880,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":43772,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41880,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) service=glauth src={"IP":"127.0.0.1","Port":41880,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) qtype=groups query=startswith(id,'4c510ada-c86b-4815-8820-42cdf82c3d51') service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"4c510ada-c86b-4815-8820-42cdf82c3d51"}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[],"max_score":0,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"4c510ada-c86b-4815-8820-42cdf82c3d51"}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":108152,"total_hits":0} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) service=glauth src={"IP":"127.0.0.1","Port":41880,"Zone":""}
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:39786 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=106980321 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.identity.user.v1beta1.UserAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=107541795 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.identity.user.v1beta1.UserAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41882,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":43851,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41882,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) service=glauth src={"IP":"127.0.0.1","Port":41882,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) qtype=users query="id eq '4c510ada-c86b-4815-8820-42cdf82c3d51' or on_premises_sam_account_name eq '4c510ada-c86b-4815-8820-42cdf82c3d51'" service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0}],"min":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"4c510ada-c86b-4815-8820-42cdf82c3d51","index":"/var/tmp/ocis-accounts/index.bleve","score":0.8759987873224007,"sort":["_score"]}],"max_score":0.8759987873224007,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"4c510ada-c86b-4815-8820-42cdf82c3d51","prefix_length":0}],"min":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":77070,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Albert Einstein" GidNumber=30000 Id=4c510ada-c86b-4815-8820-42cdf82c3d51 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"6040aa17-9c64-4fef-9bd0-77234d71bad0"},{"id":"dd58e5ec-842e-498b-8800-61f2ec6f911f"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=einstein OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=einstein UidNumber=20000 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51)(cn=4c510ada-c86b-4815-8820-42cdf82c3d51))) service=glauth src={"IP":"127.0.0.1","Port":41882,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG entries entries=[{"Attributes":[{"ByteValues":["ZWluc3RlaW4="],"Name":"cn","Values":["einstein"]},{"ByteValues":["NGM1MTBhZGEtYzg2Yi00ODE1LTg4MjAtNDJjZGY4MmMzZDUx"],"Name":"ownCloudUUID","Values":["4c510ada-c86b-4815-8820-42cdf82c3d51"]},{"ByteValues":["QWxiZXJ0IEVpbnN0ZWlu"],"Name":"displayName","Values":["Albert Einstein"]},{"ByteValues":["ZWluc3RlaW5AZXhhbXBsZS5vcmc="],"Name":"mail","Values":["[email protected]"]},{"ByteValues":["MjAwMDA="],"Name":"uidnumber","Values":["20000"]},{"ByteValues":["MzAwMDA="],"Name":"gidnumber","Values":["30000"]}],"DN":"cn=einstein,ou=users,dc=example,dc=org"}] pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41884,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":43171,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41884,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) service=glauth src={"IP":"127.0.0.1","Port":41884,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) qtype=groups query=startswith(id,'4c510ada-c86b-4815-8820-42cdf82c3d51') service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"4c510ada-c86b-4815-8820-42cdf82c3d51"}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[],"max_score":0,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"4c510ada-c86b-4815-8820-42cdf82c3d51"}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":47480,"total_hits":0} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=4c510ada-c86b-4815-8820-42cdf82c3d51*)) service=glauth src={"IP":"127.0.0.1","Port":41884,"Zone":""}
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:39786 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=120217548 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.identity.user.v1beta1.UserAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=120699815 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.gateway.v1beta1.GatewayAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG skipping auth method=/cs3.identity.user.v1beta1.UserAPI/GetUser pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41886,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":237438,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41886,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c)(cn=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c))) service=glauth src={"IP":"127.0.0.1","Port":41886,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c)(cn=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c))) qtype=users query="id eq 'f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c' or on_premises_sam_account_name eq 'f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c'" service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","prefix_length":0}],"min":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","index":"/var/tmp/ocis-accounts/index.bleve","score":0.8759987873224007,"sort":["_score"]}],"max_score":0.8759987873224007,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"disjuncts":[{"field":"id","fuzziness":0,"match":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","prefix_length":0},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","prefix_length":0}],"min":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":60172,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Marie Curie" GidNumber=30000 Id=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"},{"id":"7b87fd49-286e-4a5f-bafd-c535d5dd997a"},{"id":"cedc21aa-4072-4614-8676-fa9165f598ff"},{"id":"262982c1-2362-4afa-bfdf-8cbfef64a06e"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=marie OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=marie UidNumber=20001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixAccount)(|(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c)(cn=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c))) service=glauth src={"IP":"127.0.0.1","Port":41886,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG entries entries=[{"Attributes":[{"ByteValues":["bWFyaWU="],"Name":"cn","Values":["marie"]},{"ByteValues":["ZjdmYmY4YzgtMTM5Yi00Mzc2LWIzMDctY2YwYThjMmQwZDlj"],"Name":"ownCloudUUID","Values":["f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"]},{"ByteValues":["TWFyaWUgQ3VyaWU="],"Name":"displayName","Values":["Marie Curie"]},{"ByteValues":["bWFyaWVAZXhhbXBsZS5vcmc="],"Name":"mail","Values":["[email protected]"]},{"ByteValues":["MjAwMDE="],"Name":"uidnumber","Values":["20001"]},{"ByteValues":["MzAwMDA="],"Name":"gidnumber","Values":["30000"]}],"DN":"cn=marie,ou=users,dc=example,dc=org"}] pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG Bind request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41888,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[{"id":"bc596f3c-c955-4328-80a0-60d018b4ad57","index":"/var/tmp/ocis-accounts/index.bleve","score":3.477196570701495,"sort":["_score"]}],"max_score":3.477196570701495,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"account"},{"field":"on_premises_sam_account_name","fuzziness":0,"match":"reva","prefix_length":0}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":43761,"total_hits":1} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG found account AccountEnabled=true CreatedDateTime=null DeletedDateTime=null Description= DisplayName="Reva Inter Operability Platform" GidNumber=15000 Id=bc596f3c-c955-4328-80a0-60d018b4ad57 Identities=null IsResourceAccount=false [email protected] MemberOf=[{"id":"34f38767-c937-4eb6-b847-1c175829a2a0"}] OnPremisesDistinguishedName= OnPremisesLastSyncDateTime=null OnPremisesSamAccountName=reva OnPremisesSecurityIdentifier= OnPremisesSyncEnabled=false OnPremisesUserPrincipalName= PreferredName=reva UidNumber=10001 service=accounts
ocis          | 2020-08-24T13:24:35Z DBG Bind success binddn=cn=reva,ou=sysusers,dc=example,dc=org service=glauth src={"IP":"127.0.0.1","Port":41888,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG Search request basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c*)) service=glauth src={"IP":"127.0.0.1","Port":41888,"Zone":""}
ocis          | 2020-08-24T13:24:35Z DBG parsed query basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c*)) qtype=groups query=startswith(id,'f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c') service=glauth
ocis          | 2020-08-24T13:24:35Z DBG using query query={"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"}]} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG result result={"facets":null,"hits":[],"max_score":0,"request":{"explain":false,"facets":null,"fields":null,"from":0,"highlight":null,"includeLocations":false,"query":{"conjuncts":[{"field":"bleve_type","term":"group"},{"field":"id","prefix":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"}]},"search_after":null,"search_before":null,"size":10,"sort":["-_score"]},"status":{"failed":0,"successful":1,"total":1},"took":38869,"total_hits":0} service=accounts
ocis          | 2020-08-24T13:24:35Z DBG AP: Search OK basedn=dc=example,dc=org binddn=cn=reva,ou=sysusers,dc=example,dc=org filter=(&(objectclass=posixGroup)(ownclouduuid=f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c*)) service=glauth src={"IP":"127.0.0.1","Port":41888,"Zone":""}
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:39786 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=112580605 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.identity.user.v1beta1.UserAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=113159352 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/GetUser user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z INF http end="24/Aug/2020:13:24:35 +0000" host=127.0.0.1 method=GET pkg=rhttp proto=HTTP/1.1 service=reva size=1423 start="24/Aug/2020:13:24:35 +0000" status=200 time_ns=767070624 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/ocs/v2.php/apps/files_sharing//api/v1/shares?format=json&shared_with_me=true&state=all&include_tags=false&format=json url=/ocs/v2.php/apps/files_sharing//api/v1/shares?format=json&shared_with_me=true&state=all&include_tags=false&format=json
@butonic butonic added the bug Something isn't working label Aug 24, 2020
@butonic butonic self-assigned this Aug 24, 2020
@butonic
Copy link
Member Author

butonic commented Aug 24, 2020

this looks fishy

ocis          | 2020-08-24T13:24:35Z INF eos: get md for ref:id:<opaque_id:"29" >  pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 20001 30000 file info inode:29 -m --comment a07a6bebdf5b4c8962e793ad28ceeb35]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err= exit=0 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: unwrapInternal: trim=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein ns=/eos/dockertest/reva/users np=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: unwrap: internal=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: wrap external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein internal=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 20001 30000 file info /eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein -m --comment a07a6bebdf5b4c8962e793ad28ceeb35]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err="error: cannot stat '/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/from einstein'\n (errc=2) (No such file or directory)\n" exit=2 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z WRN reva/internal/grpc/services/storageprovider/storageprovider.go:468 > file not found pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:60080 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=45883928 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.storage.provider.v1beta1.ProviderAPI/Stat user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z ERR error during STAT id: storage_id:"1284d238-aa92-42ce-bdc4-0b0000009154" opaque_id:"29"  pkg=rgrpc rpc_code=CODE_NOT_FOUND service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:52772 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=47902829 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.gateway.v1beta1.GatewayAPI/Stat user-agent=grpc-go/1.26.0

and

ocis          | 2020-08-24T13:24:35Z INF eos: get md for ref:id:<opaque_id:"34" >  pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 20001 30000 file info inode:34 -m --comment a07a6bebdf5b4c8962e793ad28ceeb35]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err= exit=0 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: unwrapInternal: trim=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 ns=/eos/dockertest/reva/users np=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: unwrap: internal=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z DBG eos: wrap external=/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 internal=/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF eos cmd args="[/usr/bin/eos -r 20001 30000 file info /eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1 -m --comment a07a6bebdf5b4c8962e793ad28ceeb35]" env=[EOS_MGM_URL=root://mgm-master.testnet:1094] err="error: cannot stat '/eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1'\n (errc=2) (No such file or directory)\n" exit=2 pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z WRN reva/internal/grpc/services/storageprovider/storageprovider.go:468 > file not found pkg=rgrpc service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35
ocis          | 2020-08-24T13:24:35Z INF unary code=OK end="24/Aug/2020:13:24:35 +0000" from=tcp://127.0.0.1:60080 pkg=rgrpc service=reva start="24/Aug/2020:13:24:35 +0000" time_ns=36169866 traceid=a07a6bebdf5b4c8962e793ad28ceeb35 uri=/cs3.storage.provider.v1beta1.ProviderAPI/Stat user-agent=grpc-go/1.26.0
ocis          | 2020-08-24T13:24:35Z ERR error during STAT id: storage_id:"1284d238-aa92-42ce-bdc4-0b0000009154" opaque_id:"34"  pkg=rgrpc rpc_code=CODE_NOT_FOUND service=reva traceid=a07a6bebdf5b4c8962e793ad28ceeb35

which are the two shares that I created for marie as einstein.

@butonic
Copy link
Member Author

butonic commented Aug 24, 2020

1284d238-aa92-42ce-bdc4-0b0000009154 is the home storage ... which makes sense because the home storage was used to create the share ... I remember we uset to let the home storage return the storageid of the eos storage ...

@butonic
Copy link
Member Author

butonic commented Aug 24, 2020

yeah ... https://github.com/owncloud/ocis-reva/blob/master/pkg/flagset/storagehome.go#L142-L144 ... testing if setting REVA_STORAGE_HOME_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009158 changes things for the better. when the home provider returns a storage id it should now return the id of the provider at /eos which should make listing shares use that storage provider instead of the one mounted at /home...

@butonic
Copy link
Member Author

butonic commented Aug 24, 2020

ok, that change allows accepting and listing the share. I now also get a filename. The patch to reva should no longer be necessary... verifying

@butonic
Copy link
Member Author

butonic commented Aug 24, 2020

ok, that works. now there is a problem with uploads:

ocis          | 2020-08-24T14:11:31Z ERR root/go/pkg/mod/github.com/cs3org/[email protected]/internal/grpc/services/userprovider/userprovider.go:125 > error getting user by claim error="userprovidersvc: error getting user by claim: error: not found: uidnumber:0" pkg=rgrpc service=reva traceid=76c55b8120bdb02ed031416b36d91d9b

@butonic
Copy link
Member Author

butonic commented Aug 24, 2020

creating subfolders works.

@butonic
Copy link
Member Author

butonic commented Aug 24, 2020

hm this creates even weirder problems. now I have marie with an actual Shared folder that reproduces the path that shoul be in einsteins files ...

EOS Console [root://localhost] |/> ls -l /eos/dockertest/reva/users/4c510ada-c86b-4815-8820-42cdf82c3d51/einstein1/mariesub1/
EOS Console [root://localhost] |/> ls -l /eos/dockertest/reva/users/f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/Shares/einstein1/mariesub1/
EOS Console [root://localhost] |/> 

the first one is the path that exists for einstein, the second one for marie should not exist ... the whole Shared folder should not exist ...

Which brings us back to using the home storageid instead of the /eos one.

@labkode owncloud has two endpoints: /webdav, which maps to /home just fine. but also /dav/files/<userid>. how are we supposed to implement both at the same time? How is sharing supposed to work if the eoshome driver does not even allow stating other users files? we store an id reference in the share manager, that id reference is resolved to the path of another user. That currently causes the eoshome driver to panic: https://github.com/cs3org/reva/blob/72380a687765495fa0c15fcfcba102cab058c0ae/pkg/storage/utils/eosfs/eosfs.go#L296

If your idea is to make /home be a namespace that includes the MyShares folder which is assembled by looking into the .shadow folder something is not working out as planned. Or I don't get it. Could you elaborate on your config?

@butonic
Copy link
Member Author

butonic commented Aug 28, 2020

no longer an issue, likely fixed with #455

@butonic butonic closed this as completed Aug 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant