question

Marco-4423 avatar image
0 Votes"
Marco-4423 asked SunnyQi-MSFT commented

Domain controller smb from android device

hi, I have windows server 2019 essentials installed with domain controller, i want to access my smb shares from my android device. I can log on and read the files, but i can't edit and upload files. (it does create a file of 0kb) I tried multiple android apps with smv v2/3 but none of them work. I found a similar topic: https://social.technet.microsoft.com/Forums/office/en-US/5e75841b-cceb-459a-8d6e-ca8c46d72501/windows-server-2012-domain-controller-smb-file-share?forum=winserverfiles but no awnser was given here. kind regards, Marco

windows-server
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Just checking in to see if the information provided was helpful.

If yes, you may accept useful reply as answer, if not, welcome to feedback.

Best Regards,
Sunny

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

Might check the event logs for clues.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Marco-4423 avatar image
0 Votes"
Marco-4423 answered

I checked the Samba server log, but there are no logs.

Are there others logs where i can look at?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
1 Vote"
DSPatrick answered

You may need to enable some auditing to capture more.
https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/apply-a-basic-audit-policy-on-a-file-or-folder

--please don't forget to Accept as answer if the reply is helpful--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SunnyQi-MSFT avatar image
1 Vote"
SunnyQi-MSFT answered

Hi,

Thanks for posting in Q&A platform.

Before we go further, may I know if Windows client has encountered the same issue?

Please check if the NTFS permission for Android user is including Read & execute, Read and Write read in the shared file's properties.

78549-image-1.jpg

And then please check if the Android user has read/write permission.

78682-image-2.jpg

If the user has these permission but still cannot write and upload file, I would suggest you follow DSPatrick's suggest to enable some auditing to capture more for further troubleshooting.

Best Regards,
Sunny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image-1.jpg (39.8 KiB)
image-2.jpg (58.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Marco-4423 avatar image
0 Votes"
Marco-4423 answered

Thank you for your reply's.

I enabled the auditing but see no extra logs.

But i narrowed the problem down.
The server is at a remote location, today i was at that location and connected directly to the network wifi i can upload files.
For remote connection i use openvpn connection to the main router.
So the problem is something with the VPN connection.
I use a similar setup at a different location and there it does work trough VPN.

So now i have to find out why upload to smb is blocked by VPN, does anybody have An Idea?

Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SunnyQi-MSFT avatar image
0 Votes"
SunnyQi-MSFT answered

Hi,

Thank you very much for your feedback.

If you want to find out if upload traffic was blocked by VPN from Windows side, the network trace collecting will be necessary for further troubleshooting. You could download the tool Network Monitor from the following article to capture the network traffics.

Collect data using Network Monitor

Please understand, analysis of network traffic is beyond of our forum support, if you want to know deeper about the network traffics results, I would suggest you open a case with Microsoft where more in-depth investigation can be done so that you would get a more satisfying explanation to this question.

You may find phone number for your region accordingly from the link below:

https://support.microsoft.com/en-us/gp/customer-service-phone-numbers

If you want to narrow down the issue from VPN side, since OpenVPN is a third-party product which we are not familiar with , for OpenVPN related part, you may contact OpenVPN support for further help.

OpenVPN Support Forum

Best Regards,
Sunny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.