Jump to content

Can't access smb from win11


Recommended Posts

I previously had SMB working fine to move files into a docker container from my win11 pro machine. I've recently set up a vm for some other stuff and when I tried to move some images to the share, I'm getting an unaccessible error. I've added windows credentials and the guest user and still nothing.

 

I've changed the share to public/secure/private, turned on/off export and nothing

 

Even when the array is offline it still shows the server in the file explorer sidebar

Link to comment

Do you have full access to the shares on the regular array of your Unraid server? 

 

Is your "win11 pro machine"  a standalone client computer?

 

Is your SMB configuration setup as described in the PDF docs in the first post of this thread?  

 

         https://forums.unraid.net/topic/110580-security-is-not-a-dirty-word-unraid-windows-1011-smb-setup/

 

Windows 11 in its default state will not permit guest access to a server.   You must have valid SMB login credentials to that server and establish the connection first.   Otherwise, Win11 will not allow the connection.  (And it is about to get worst as MS will add a requirement for SMB Signing for access in the very near future!)   I don't recommend 'hacking' WIN11 to bypass MS security upgrades.  That path has a record of being a whack-a-mole situation.

 

If you have access to the regular array, you should probably be asking in the support thread for the Docker that you are using. 

 

You should also post up the Diagnostics file in your next post.  It may be that you have a network configuration issue since the problem begun when you added the new VM.   (I am not a networking Guru...)  

Edited by Frank1940
Link to comment

I can browse the shares from the unraid webui and upload files to the share through the webui from the win11 machine

The win11 machine is a standalone machine

 

I originally didnt have guest access turned on, I only turned it on to try and fix the problem

 

The win11 machine is set to a private network, but if I try to turn on file/printer sharing withh SMB1 turned off, it won't turn on. Anytime I turn it on without smb1, it will immediately turn off.

 

Following the "An Alternative Method to Network Neighborhood to Add Unraid Server(s) to Windows
File Explorer/Manager" pdf, anytime I try to make a shortcut with the server name/ip windows says that it can't be found

 

The shares are not part of/from any docker image or vm. The share is on the array

peachpit-diagnostics-20240624-1724.zip

Link to comment

I had a look at the Diagnostics.  You have only one User share (t------r)  which has SMB export turned on!   Turn on SMB export via this setting for each share:

image.thumb.png.1567e533e505655b33fb7c000e004ab4.png

Click on SHARES tab-- step #1.  Then click on the Share 'Name'  (Media in this case) the in the User Share area-- step #2.  Then under SMB Security Settings, set 'Export' to "Yes"-- step #3.  The set the permission for the SMB User(s)-- step 4.

 

Also go to   Settings    >>>    Network Settings    >>>  SMB.  On this screen, make that this setting is set as shown:

image.png.d069b31ac9691211d62b8963ef969cfd.png

 

The other settings in the section are set for use by Win 10 and Win11 clients. 

 

Link to comment

I'm only trying to use the transfer one, and that's the only one Ive used. The others were just default ones I think. The array/docker/vm are pretty much self contained. I only had smb set up originally to transfer some files after first setting up unraid, and this time i was simply trying to transfer a banner image over to put into the vm

Link to comment

I don't quite understand how and what you are try to do.  But let's put that on hold for right now.

 

I had a look at your syslog, and I found a lot of different ACPI errors in it.  Example below:

Jun 24 13:42:31 PeachPit kernel: ACPI Error: Aborting method \_SB.PCI0.GPP2.PTXH.RHUB.POT3._PLD due to previous error (AE_AML_UNINITIALIZED_ELEMENT) (20220331/psparse-529)

 

I am going to ping @JorgeB as he has more experience with these Linux type errors...

 

Link to comment

On your WIN11 client.    Settings   >>>>  System   >>>>  About   (at the bottom of the 'System' screen.  Now get a screen capture of this section:

image.png.147b69e34a8f4d122ec0fc2f0b7b8d6a.png

 

And did you setup the Windows Credential and a "Shares Access" user with a user name and login password?   'root' and 'guest' should not be used as a user name...

Link to comment

@dlandon, do you have any thoughts?

 

@KrombopulosMichael, Let's get more info and try to see what is happening.

 

First thing, reboot/restart the WIN11 client.  (When troubleshooting SMB problems, this is always a good idea as the first smb failure is often 'sticky' in Wondows.)

 

Second thing,  Start a GUI Terminal session.  (The     >__    icon on the right side of the toolbar of the  GUI.)   Then run this command:

testparm

 

You have to hit the   <Enter>    key after the initial display to get the full output from this command!

 

Post the output from this command in a new post in this thread.  Please use the 'code'  insert  function.  (The   <>    Icon in the toolbar for the forum comment editor which you will use for your reply.  This will use a monospace font which is much easier to read.)  You can do a copy (to the clipboard) from the Terminal section to capture the output.

 

Third thing, Post up a screenshot of the output of this command:

ls -al /mnt/user

 

Link to comment

Several suggestions:

  • Turn off SMB Multichannel.  It's difficult to make this work properly and requires multiple NICs.  You have one.
  • Turn off macOS Interoperability.  You are using a Windows PC and don't need this.
  • Your network configuration is default.  The settings should be OK, but be sure this is what will work with your network.
    • DHCP is off.
    • No gateway specified.
    • Bonding is on with one only NIC.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...