Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


SMB Access From Windows 11 24H2
#5
To get it back working here is what I have done. After an update the smb.conf might need the line adding back.

For a direct replacement of the guest account that works on Windows 11 24H2 and going forwards there are a few options you can add your ssh user account or add a new account.

ssh in to your moode install

sudo -s

Create the new guest user.
useradd moodeguest -m -G users

Give the new guest user a password.
passwd moodeguest

Add the guest user to Samba.
smbpasswd -a moodeguest

Give the moodeguest account a password.

Edit the smb.conf file
nano /etc/samba/smb.conf

Under the Global section add the line
admin users = @users

ctrl x to save the file.

Restart Samba
service smbd restart

That will restore the full functionality as it was with just the password less guest account. The existing password less guest account will also still work. You could also just add your ssh user using smbpasswd and skip creating a new account. To disable the password less guest account if you don't want it, just comment out using # the guest ok = Yes lines in smb.conf.

You can go further if you'd like and have an admin account and a read only account. Like if you want an admin mode and a read only mode create two users like moodeguest and admin. In the global section set the admin users variable to admin instead of the @users group. This will give admin read / write access and moodeguest read only access.

If there is a nicer way let me know. Hope this helps. Now I can listen on my machine again.
Reply


Messages In This Thread
SMB Access From Windows 11 24H2 - by ultramode - 11-21-2024, 03:59 PM
RE: SMB Access From Windows 11 24H2 - by ultramode - 11-22-2024, 01:38 PM

Forum Jump: