ume05rw / EzSmb

SMB(Windows shared folder) Clinet Library powered by TalAloni's SmbLibrary, Xamarin & .NET Core Ready.
GNU Lesser General Public License v3.0
57 stars 23 forks source link

Share Not Found: {ShareName} - Debug Help #22

Open Gavriloski opened 2 years ago

Gavriloski commented 2 years ago

Hello, I am using EzSmb to connect to windows (server 2012 R2) file share from AWS Lambdas (.NET Core 6). VPC on AWS side is configured properly, I have access to server. The authorization is also working fine, because if I specify wrong credentials I get different error, or if I specify wrong address.

The issue appears to be that code cannot read anything from file share, but it appears that connection is successful. When testing manually from other win servers it works fine. I have similar setup in terms of file share, but on windows server 2019, and there is no issue with connection or reading/writing from lambda.

The exact error I am getting: [EzSmb.Transports.Connection.GetNode] Share Not Found: Share

I tried all possible variations of GetNode method. Specify domain, smbType, specify domain in username with @ or with \ But nothing is working.

Since I am not very familiar with SMB protocol, I seek an advise to what potential issue might be and how to further debug.

Thank you