samba server sharing issue

Having issues with your DietPi installation, or, found a bug? Post it here.
User avatar
Joulinar
Posts: 2299
Joined: Sat Nov 16, 2019 12:49 am

Re: samba server sharing issue

Post by Joulinar »

@gregmo
today I installed SAMABA again and was able to access it without issues.

Which user/pw did you used? Did you used

User: dietpi
PW: you global application password

Or did you used something else?

picture.png
picture.png (7.84 KiB) Viewed 174 times
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
gregmo
Posts: 7
Joined: Fri Aug 21, 2020 12:08 am

Re: samba server sharing issue

Post by gregmo »

I'm sure this is going to make a lot of people cringe, and even without their security worries, I'm sure it's not the most elegant way to do this, but this is what finally gave me something that is usable.

Code: Select all

[global]
	workgroup = WORKGROUP
	server string = %h server
	dns proxy = no
	log file = /var/log/samba/log.%m
	max log size = 1000
	syslog only = no
	syslog = 0

	map to guest = bad user

	load printers = no
	printcap name = /dev/null
	disable spoolss = yes

	guest account = root

[Shares]
        path = /
        read only = No
        guest ok = Yes
	browsable = yes
	public = yes
	writeable = yes
	force user = root
	force group = root
	
User avatar
Joulinar
Posts: 2299
Joined: Sat Nov 16, 2019 12:49 am

Re: samba server sharing issue

Post by Joulinar »

it's as well working using user dietpi. Still the question what user/pw you used on the initial try? did you tried to access the share from a different device, like a mobile phone using a smb app?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply