Bullseye: Samba share not working on RPI 3B Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
qed
Posts: 17
Joined: Tue Feb 02, 2021 4:47 am

Bullseye: Samba share not working on RPI 3B

Post by qed »

i just did a fresh install of DietPi_RPi-ARMv8-Bullseye on a Pi 3B, installed Samba but it doesn't seem to be working (can't access the share from Win 10 with the dietpi u/p even after smbpasswd -a dietpi).

Am I missing something?

nano /etc/samba/smb.conf

Code: Select all

...
        [dietpi]
        comment = DietPi Share
        path = /mnt/dietpi_userdata
        browseable = yes
        create mask = 0664
        directory mask = 0775
        valid users = dietpi
        writeable = yes
max connections = 8
Image
Last edited by qed on Tue Aug 17, 2021 2:56 pm, edited 1 time in total.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Bullseye: Samba share not working on RPI 3B

Post by Joulinar »

Hi,

pls can you share following

journalctl -u smbd -u nmbd
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
qed
Posts: 17
Joined: Tue Feb 02, 2021 4:47 am

Re: Bullseye: Samba share not working on RPI 3B

Post by qed »

Code: Select all

-- Journal begins at Tue 2021-08-17 22:14:08 ACST, ends at Tue 2021-08-17 22:26:50 ACST. --
Aug 17 22:14:28 Pi-2C systemd[1]: Starting Samba NMB Daemon...
Aug 17 22:14:29 Pi-2C systemd[1]: Started Samba NMB Daemon.
Aug 17 22:14:29 Pi-2C systemd[1]: Starting Samba SMB Daemon...
Aug 17 22:14:30 Pi-2C systemd[1]: Started Samba SMB Daemon.
Aug 17 22:14:56 Pi-2C smbd[1229]: pam_unix(samba:session): session opened for user dietpi(uid=1000) by (uid=0)
Aug 17 22:15:56 Pi-2C smbd[1229]: pam_unix(samba:session): session closed for user dietpi
Aug 17 22:23:01 Pi-2C smbd[1275]: pam_unix(samba:session): session closed for user nobody
qed
Posts: 17
Joined: Tue Feb 02, 2021 4:47 am

Re: Bullseye: Samba share not working on RPI 3B

Post by qed »

Android LAN access to the Pi is fine, its just Windowz - seems that it didn't like the ip credentials, removed and rebooted fixed it
User avatar
WarHawk
Posts: 773
Joined: Thu Jul 20, 2017 8:55 am

Re: Bullseye: Samba share not working on RPI 3B

Post by WarHawk »

Might need to go into the advanced network sharing on your windows machine and turn off 128bit sharing and set the 40-56 bit sharing

Also...doesn't it need to have

Code: Select all

browsable = yes
writable = yes
read only = no
SMB shares are always confusing for me
qed
Posts: 17
Joined: Tue Feb 02, 2021 4:47 am

Re: Bullseye: Samba share not working on RPI 3B

Post by qed »

read only is an inverted synonym is writeable, so not required if one is already specified.

https://www.samba.org/samba/docs/curren ... l#READONLY
Post Reply