Closed waliur closed 1 year ago
Hi @waliur, I am assuming you are working with a linux share configured via Samba.
In samba, each share is exposed as a separate service. So, you'll need to add drive_path
as share1 followed by the folder you want to sync, such as share1/folder1
Yes it's a linux Samba Share. Thank you @praveen-elastic - This has worked.
Sync failed due to the need for document level permissions which i'm not 100% sure I understand yet. I turned it off after finding out it's enabled by default. Once I turned it a full sync operation worked as expected!!!
Thank you!!!!! :D
P.S Error messages which appear to be in hex such as these are not helpful:
b'0900000048001a005c005c00530041004d00420041005c00730061006d0062006100'
SMB Data Packet (hex):
----------------------
b'fe534d42400000000000000003000000000000000000000003000000000000004c00000000000000546e357100000000000000000000000000000000000000000900000048001a005c005c00530041004d00420041005c00730061006d0062006100'
==================== SMB Message 1 ====================
SMB Header:
... I'd suggest converting them to text for display if possible.
I have a local docker instance running to test workplace search with the following containers:
I get the following error when trying to perform a sync operation:
Toubleshooting steps I carried out
Passes all tests for ent-search and network drive share:
Further more a manual connection test to the samba docker container is successful:
Here is my network drive connector yml file:
after looking into https://github.com/elastic/enterprise-search-network-drive-connector/issues/25 and changing
network_drive.path
to.. I get the following error: